Spaces:
Running
Running
File size: 496 Bytes
84f8f32 69f1be1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
version: '3'
services:
csm:
build:
context: .
args:
- BUILDKIT_INLINE_CACHE=1
ports:
- '7860:7860'
volumes:
- ./data:/app/data
- ~/.huggingface:/root/.huggingface
env_file:
- .env
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
environment:
- HUGGINGFACE_TOKEN=${HUGGINGFACE_TOKEN}
- PYTHONDONTWRITEBYTECODE=1
|