Update docker-compose.yml

fixes nvidia on windows
This commit is contained in:
yggdrasil75
2023-09-10 09:45:40 -04:00
committed by GitHub
parent cc711986b9
commit e3d3071b1e

View File

@@ -1,7 +1,16 @@
version: "3"
services:
sillytavern-extras:
runtime: nvidia
# runtime: nvidia
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
# either specify below which, or above how many. not both.
# device_ids: ['1']
capabilities: [gpu]
image: cohee1207/sillytavern-extras
build:
context: ../