This commit is contained in:
zcr
2026-01-08 17:07:39 +08:00
parent aab2697ea7
commit 9b8b39abe9

View File

@@ -15,5 +15,5 @@ services:
devices:
# 告诉 Docker 使用所有可用的 NVIDIA GPU
- driver: nvidia
device_ids: [ '0' ]
device_ids: [ '1' ]
capabilities: [ gpu ]