snarkOS icon indicating copy to clipboard operation
snarkOS copied to clipboard

[Bug]NVIDIA GeForce RTX 3090: Failed with `Err` value: Cuda(NoBinaryForGpu)',

Open davaymne opened this issue 4 years ago • 1 comments

GPU: NVIDIA-SMI 470.82.01 Driver Version: 470.82.01 CUDA Version: 11.4 SnarkOS: rev 18b2fc3d

Failed GPU initialization with arror:

snarkos[1180437]: 2022-01-17T20:34:43.951903Z DEBUG loaded devices: [Device { vendor: Nvidia, name: "NVIDIA GeForce RTX 3090", memory: 25447170048, pci_id: PciId(256), uuid: Some(2374108a-1f3c-3250-c61c-26932c0850af), device: Device { id: 140050360940784 } }]
snarkos[1180437]: 2022-01-17T20:34:44.034131Z DEBUG Loaded CUDA devices: [Device { vendor: Nvidia, name: "NVIDIA GeForce RTX 3090", memory: 25447170048, pci_id: PciId(256), uuid: Some(2374108a-1f3c-3250-c61c-26932c0850af), device: Device { device: 0 }, context: UnownedContext { inner: 0x7f60040043d0 } }]
snarkos[1180437]: 2022-01-17T20:34:44.034148Z DEBUG loaded devices: [Device { vendor: Nvidia, name: "NVIDIA GeForce RTX 3090", memory: 25447170048, pci_id: PciId(256), uuid: Some(2374108a-1f3c-3250-c61c-26932c0850af), cuda: Some(Device { vendor: Nvidia, name: "NVIDIA GeForce RTX 3090", memory: 25447170048, pci_id: PciId(256), uuid: Some(2374108a-1f3c-3250-c61c-26932c0850af), device: Device { device: 0 }, context: UnownedContext { inner: 0x7f60040043d0 } }), opencl: Some(Device { vendor: Nvidia, name: "NVIDIA GeForce RTX 3090", memory: 25447170048, pci_id: PciId(256), uuid: Some(2374108a-1f3c-3250-c61c-26932c0850af), device: Device { id: 140050360940784 } }) }]
snarkos[1180437]: Using 'NVIDIA GeForce RTX 3090' as CUDA device with 25447170048 bytes of memory
snarkos[1180437]: thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Cuda(NoBinaryForGpu)', /root/.cargo/git/checkouts/snarkvm-f1160780ffe17de8/48c59e9/algorithms/src/msm/variable_base/cuda.rs:183:39
snarkos[1180437]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

davaymne avatar Jan 17 '22 20:01 davaymne

bumping snarkVM rev to e0462bf would fix this provided that cuda toolkit is installed in the system (only installing cuda runtime is not enough as it doesn't include nvcc)

HarukaMa avatar Jan 29 '22 09:01 HarukaMa

Closing due to this no longer being likely to be applicable.

ljedrz avatar Dec 23 '22 10:12 ljedrz