Merge pull request #4544 from MengqingCao/npu

fix docker-compose path

Former-commit-id: 82d0b46bc9f9f52ed1cadd697726cf4089bc73ca
This commit is contained in:
hoshi-hiyouga 2024-06-26 10:19:24 +08:00 committed by GitHub
commit 2300fb616b
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