[Perf] 🚀 Add NVIDIA Capability of Video #6

This commit is contained in:
Harry-zklcdc 2025-01-20 01:29:59 +08:00
parent 334da39fbf
commit 00d2539cbb

View File

@ -45,6 +45,9 @@ func createInstance(ip string, port int, apikey string,
"8080", // Code-Server
"34567", // Custom Port
},
Env: []string{
"NVIDIA_DRIVER_CAPABILITIES=video,compute,utility",
},
}
if volumeName != "" {