Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for CUDA version 12.6 #9

Closed
carlos-verdes opened this issue Aug 21, 2024 · 4 comments
Closed

Support for CUDA version 12.6 #9

carlos-verdes opened this issue Aug 21, 2024 · 4 comments

Comments

@carlos-verdes
Copy link
Contributor

I installed CUDA on WSL2 Ubuntu and when I try to run my benchmark with CUDA flag enabled I get next error:

 Unsupported cuda toolkit version: `12.6`. Please raise a github issue.

Full error log:

cargo build -p tig-benchmarker --release --no-default-features --features "standalone vehicle_routing_clarke_wright knapsack_knapmaxxing satisfiability_inbound  cuda"
   Compiling cudarc v0.11.8
error: failed to run custom build command for `cudarc v0.11.8`

Caused by:
  process didn't exit successfully: `/home/xxx/git/tig-monorepo/target/release/build/cudarc-66cd4291bda974ea/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=build.rs
  cargo:rerun-if-env-changed=CUDA_ROOT
  cargo:rerun-if-env-changed=CUDA_PATH
  cargo:rerun-if-env-changed=CUDA_TOOLKIT_ROOT_DIR

  --- stderr
  thread 'main' panicked at /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cudarc-0.11.8/build.rs:82:14:
  Unsupported cuda toolkit version: `12.6`. Please raise a github issue.
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
make: *** [Makefile:8: prepare] Error 101
@carlos-verdes
Copy link
Contributor Author

I see there is a new version of cudarc, I'll submit a PR to update it:

image

@carlos-verdes
Copy link
Contributor Author

carlos-verdes commented Aug 21, 2024

I see the library has an open issue with CUDA 12.6

coreylowman/cudarc#280

Maybe better wait until that issue is fixed first

There is an open PR for the fix also:
coreylowman/cudarc#286

@carlos-verdes
Copy link
Contributor Author

I was able to make a benchmark build using CUDARC v0.12 and CUDA runtime 12.5 (still we need to wait for a fix in CUDARC library to support version 12.6)

@paulstansifer
Copy link

The fix is now merged: coreylowman/cudarc#286!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants