This commit is contained in:
2025-12-16 14:39:54 -08:00
parent a5ffd8315e
commit 12e14e3c9b
7 changed files with 787 additions and 8 deletions

View File

@@ -19,13 +19,13 @@ services:
# 'devices' section further down as a fallback (less portable).
## UNCOMMENT THE FOLLOWING BLOCK FOR NVIDIA GPU SUPPORT ###
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: all
# capabilities: [gpu]
environment:
# Visible devices / capabilities for the NVIDIA container runtime