AleoNet / snarkVM

A Virtual Machine for Zero-Knowledge Executions
https://snarkvm.org
Apache License 2.0
1.08k stars 1.5k forks source link

[Bug] Unable to profile GPU implementation #580

Closed unordered-set closed 2 years ago

unordered-set commented 2 years ago

šŸ› Bug Report

Steps to Reproduce

Follow https://github.com/AleoHQ/snarkVM/blob/testnet2/algorithms/src/msm/variable_base/build_guide.md

Benchmarking Proof of Succinct Work: Marlin/mine: Warming up for 3.0000 s
Using 'NVIDIA A100-SXM-80GB' as CUDA device with 85198045184 bytes of memory
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Cuda(NoBinaryForGpu)', algorithms/src/msm/variable_base/cuda.rs:183:39
stack backtrace:
   0: rust_begin_unwind
             at /rustc/02072b482a8b5357f7fb5e5637444ae30e423c40/library/std/src/panicking.rs:498:5
   1: core::panicking::panic_fmt
             at /rustc/02072b482a8b5357f7fb5e5637444ae30e423c40/library/core/src/panicking.rs:107:14
   2: core::result::unwrap_failed
             at /rustc/02072b482a8b5357f7fb5e5637444ae30e423c40/library/core/src/result.rs:1613:5
   3: snarkvm_algorithms::msm::variable_base::cuda::initialize_cuda_request_handler
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
  1. Step 1...
  2. Step 2...
  3. Step 3...

Expected Behavior

(Write what you expected to happen here)

Your Environment

unordered-set commented 2 years ago

Ah, this is likely because I do have sm_80 GPU