test / docker-compose.yml
iblfe's picture
Upload folder using huggingface_hub
b585c7f verified
raw
history blame contribute delete
453 Bytes
version: '3'
services:
h2ogpt:
build:
context: .
dockerfile: Dockerfile
restart: always
shm_size: '2gb'
ports:
- '${H2OGPT_PORT}:7860'
volumes:
- cache:/workspace/.cache
- save:/workspace/save
command: ${H2OGPT_ARGS}
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
volumes:
cache:
save: