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