fix docker-compose path

This commit is contained in:
MengqingCao 2024-06-26 02:15:00 +00:00
parent 555ca8d780
commit 106647a99d
2 changed files with 8 additions and 8 deletions

View File

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

View File

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