Update unsloth.yaml
This commit is contained in:
1 parent
720b571fa7
commit
0f277beb05
1 file changed
+17
-12
+17
-12
@@ -1,23 +1,28 @@
|
|||||||
services:
|
services:
|
||||||
unsloth-train:
|
unsloth-train:
|
||||||
image: rocm/pytorch:latest
|
image: unsloth/unsloth-rocm # pin a tag or digest once it works
|
||||||
container_name: unsloth-train
|
container_name: unsloth-train
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
ipc: host
|
||||||
devices:
|
devices:
|
||||||
- /dev/kfd:/dev/kfd
|
- /dev/kfd:/dev/kfd
|
||||||
- /dev/dri/renderD128:/dev/dri/renderD128
|
- /dev/dri/renderD128:/dev/dri/renderD128
|
||||||
group_add:
|
group_add:
|
||||||
- video
|
- "44" # getent group video | cut -d: -f3
|
||||||
ipc: host
|
- "992" # getent group render | cut -d: -f3
|
||||||
shm_size: 16g
|
ulimits:
|
||||||
|
memlock: -1
|
||||||
|
stack: 67108864
|
||||||
|
ports:
|
||||||
|
- 8075:8000
|
||||||
|
- 8777:8888
|
||||||
|
environment:
|
||||||
|
- JUPYTER_PASSWORD=mypassword
|
||||||
volumes:
|
volumes:
|
||||||
- unsloth-workspace:/workspace
|
- /mnt/docker/server/unsloth:/workspace/host
|
||||||
- unsloth-cache:/root/.cache/huggingface
|
- unsloth-cache:/workspace/.cache/huggingface
|
||||||
working_dir: /workspace
|
- unsloth-studio:/opt/unsloth-studio
|
||||||
stdin_open: true
|
|
||||||
tty: true
|
|
||||||
# keeps the container running in the background so you can exec in, start a long training run, and detach without killing it. Use tmux or nohup inside the container for runs that should outlive your SSH session.
|
|
||||||
command: sleep infinity
|
|
||||||
labels:
|
labels:
|
||||||
- homepage.group=Development
|
- homepage.group=Development
|
||||||
- homepage.name=Unsloth
|
- homepage.name=Unsloth
|
||||||
@@ -32,6 +37,6 @@ networks:
|
|||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
unsloth-workspace:
|
|
||||||
unsloth-cache:
|
unsloth-cache:
|
||||||
|
unsloth-studio:
|
||||||
|
|
||||||
Reference in new issue
Block a user