[assets] update docker files (#8176)
This commit is contained in:
@@ -4,15 +4,8 @@ services:
|
||||
dockerfile: ./docker/docker-rocm/Dockerfile
|
||||
context: ../..
|
||||
args:
|
||||
INSTALL_BNB: "false"
|
||||
INSTALL_VLLM: "false"
|
||||
INSTALL_DEEPSPEED: "false"
|
||||
INSTALL_FLASHATTN: "false"
|
||||
INSTALL_LIGER_KERNEL: "false"
|
||||
INSTALL_PYTORCH: "true"
|
||||
INSTALL_HQQ: "false"
|
||||
PIP_INDEX: https://pypi.org/simple
|
||||
PYTORCH_INDEX: https://download.pytorch.org/whl/nightly/rocm6.3
|
||||
EXTRAS: metrics
|
||||
container_name: llamafactory
|
||||
volumes:
|
||||
- ../../hf_cache:/root/.cache/huggingface
|
||||
@@ -20,13 +13,12 @@ services:
|
||||
- ../../om_cache:/root/.cache/openmind
|
||||
- ../../data:/app/data
|
||||
- ../../output:/app/output
|
||||
- ../../saves:/app/saves
|
||||
ports:
|
||||
- "7860:7860"
|
||||
- "8000:8000"
|
||||
ipc: host
|
||||
tty: true
|
||||
shm_size: "16gb"
|
||||
# shm_size: "16gb" # ipc: host is set
|
||||
stdin_open: true
|
||||
command: bash
|
||||
devices:
|
||||
|
||||
Reference in New Issue
Block a user