Download docker/docker-cuda/docker-compose.yml from MachoMaheen/devdock4bit: direct link, hf CLI and curl.
- Browser
- Download file 923 Bytes
-
https://huggingface.co/MachoMaheen/devdock4bit/resolve/main/docker/docker-cuda/docker-compose.yml
- Command line
-
hf download hf://MachoMaheen/devdock4bit/docker/docker-cuda/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/MachoMaheen/devdock4bit/resolve/main/docker/docker-cuda/docker-compose.yml
923 Bytes
| services: | |
| llamafactory: | |
| build: | |
| dockerfile: ./docker/docker-cuda/Dockerfile | |
| context: ../.. | |
| args: | |
| INSTALL_BNB: false | |
| INSTALL_VLLM: false | |
| INSTALL_DEEPSPEED: false | |
| INSTALL_FLASHATTN: false | |
| INSTALL_LIGER_KERNEL: false | |
| INSTALL_HQQ: false | |
| INSTALL_EETQ: false | |
| PIP_INDEX: https://pypi.org/simple | |
| container_name: llamafactory | |
| volumes: | |
| - ../../hf_cache:/root/.cache/huggingface | |
| - ../../ms_cache:/root/.cache/modelscope | |
| - ../../om_cache:/root/.cache/openmind | |
| - ../../data:/app/data | |
| - ../../output:/app/output | |
| ports: | |
| - "7860:7860" | |
| - "8000:8000" | |
| ipc: host | |
| tty: true | |
| stdin_open: true | |
| command: bash | |
| deploy: | |
| resources: | |
| reservations: | |
| devices: | |
| - driver: nvidia | |
| count: "all" | |
| capabilities: [gpu] | |
| restart: unless-stopped | |