fix docker-compose path

Former-commit-id: 9de3c24aa2a8268be06c8fef8e47f4fb6715c7ec
This commit is contained in:
MengqingCao 2024-06-26 02:15:00 +00:00
parent 98f382fda3
commit e115d55585
2 changed files with 8 additions and 8 deletions

View File

@ -10,10 +10,10 @@ services:
PIP_INDEX: https://pypi.org/simple
container_name: llamafactory
volumes:
- ./hf_cache:/root/.cache/huggingface
- ./ms_cache:/root/.cache/modelscope
- ./data:/app/data
- ./output:/app/output
- ../../hf_cache:/root/.cache/huggingface
- ../../ms_cache:/root/.cache/modelscope
- ../../data:/app/data
- ../../output:/app/output
ports:
- "7860:7860"
- "8000:8000"

View File

@ -8,10 +8,10 @@ services:
PIP_INDEX: https://pypi.org/simple
container_name: llamafactory
volumes:
- ./hf_cache:/root/.cache/huggingface
- ./ms_cache:/root/.cache/modelscope
- ./data:/app/data
- ./output:/app/output
- ../../hf_cache:/root/.cache/huggingface
- ../../ms_cache:/root/.cache/modelscope
- ../../data:/app/data
- ../../output:/app/output
- /usr/local/dcmi:/usr/local/dcmi
- /usr/local/bin/npu-smi:/usr/local/bin/npu-smi
- /usr/local/Ascend/driver:/usr/local/Ascend/driver