mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-14 15:52:49 +08:00
Update docker-compose.yml
Former-commit-id: 56af208074e6af5465183af85367e7edd89d5aa6
This commit is contained in:
parent
b5cdef43a1
commit
8360544d65
@ -1,8 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
llamafactory:
|
llamafactory:
|
||||||
build:
|
build:
|
||||||
dockerfile: Dockerfile
|
dockerfile: ./docker/docker-cuda/Dockerfile
|
||||||
context: .
|
context: ../..
|
||||||
args:
|
args:
|
||||||
INSTALL_BNB: false
|
INSTALL_BNB: false
|
||||||
INSTALL_VLLM: false
|
INSTALL_VLLM: false
|
||||||
@ -10,9 +10,9 @@ 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/
|
||||||
- ../../data:/app/LLaMA-Factory/data
|
- ./data:/app/data
|
||||||
- ../../output:/app/LLaMA-Factory/output
|
- ./output:/app/output
|
||||||
ports:
|
ports:
|
||||||
- "7860:7860"
|
- "7860:7860"
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user