Merge branch 'KoboldAI:main' into united

This commit is contained in:
henk717 2021-10-07 03:17:03 +02:00 committed by GitHub
commit 0b62ed0892
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 2 deletions

View File

@ -1,4 +1,4 @@
version: "2"
version: "3.2"
services:
koboldai:
build: .
@ -10,7 +10,16 @@ services:
- ../:/content/
- $HOME/.Xauthority:/home/micromamba/.Xauthority:rw
devices:
- /dev/kfd
- /dev/dri
- /dev/nvidia0:/dev/nvidia0
- /dev/nvidiactl:/dev/nvidiactl
- /dev/nvidia-uvm:/dev/nvidia-uvm
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0']
capabilities: [gpu]
group_add:
- video