Switch to nvidia support
This commit is contained in:
1 parent
8f97c3f4f3
commit
b4d07dadfa
1 file changed
+7
-7
+7
-7
@@ -41,13 +41,13 @@ services:
|
||||
- /dev/dri:/dev/dri # For Intel/AMD GPU acceleration (VA-API)
|
||||
# Uncomment the following lines for NVIDIA GPU support
|
||||
# NVidia GPU support (requires NVIDIA Container Toolkit)
|
||||
#deploy:
|
||||
# resources:
|
||||
# reservations:
|
||||
# devices:
|
||||
# - driver: nvidia
|
||||
# count: all
|
||||
# capabilities: [gpu]
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: all
|
||||
capabilities: [gpu]
|
||||
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in new issue
Block a user