From 106647a99d36c4a624511edf651cf5f7624c4c9a Mon Sep 17 00:00:00 2001 From: MengqingCao Date: Wed, 26 Jun 2024 02:15:00 +0000 Subject: [PATCH] fix docker-compose path --- docker/docker-cuda/docker-compose.yml | 8 ++++---- docker/docker-npu/docker-compose.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docker/docker-cuda/docker-compose.yml b/docker/docker-cuda/docker-compose.yml index 1c0a3c75..e2d1a5ad 100644 --- a/docker/docker-cuda/docker-compose.yml +++ b/docker/docker-cuda/docker-compose.yml @@ -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" diff --git a/docker/docker-npu/docker-compose.yml b/docker/docker-npu/docker-compose.yml index a6b878fd..657cba9f 100644 --- a/docker/docker-npu/docker-compose.yml +++ b/docker/docker-npu/docker-compose.yml @@ -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