Unverified Commit c4d3afef authored by Caleb's avatar Caleb Committed by GitHub
Browse files

wyoming-faster-whisper fix CUDA devices not being detected. (#266167)

This change enables CUDA support by allowing access to /dev/nvidia0.
parent bc2b72df
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -146,6 +146,8 @@ in
          CapabilityBoundingSet = "";
          DeviceAllow = if builtins.elem options.device [ "cuda" "auto" ] then [
            # https://docs.nvidia.com/dgx/pdf/dgx-os-5-user-guide.pdf
            # CUDA not working? Check DeviceAllow and PrivateDevices first!
            "/dev/nvidia0"
            "/dev/nvidia1"
            "/dev/nvidia2"
            "/dev/nvidia3"
@@ -160,7 +162,6 @@ in
          DevicePolicy = "closed";
          LockPersonality = true;
          MemoryDenyWriteExecute = true;
          PrivateDevices = true;
          PrivateUsers = true;
          ProtectHome = true;
          ProtectHostname = true;