huggingface / huggingface/candle

Cannot compile under Windows with CUDA 13 and an RTX 5060.

Open
#3,249 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
21k
Forks
1.8k
Avg merge
16h 42m
Merged PRs (30d)
25

Description

MSVC is already installed; the PyTorch program works fine and CUDA is functional.
My project can running in CPU, but cannot using CUDA.
here is some log:
```
failed to run custom build command for `cudarc v0.16.6`

Caused by:
process didn't exit successfully: `C:\pro\swinir-candle\target\debug\build\cudarc-86093bccd9836eba\build-script-build` (exit code: 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
cargo:rerun-if-env-changed=CUDARC_CUDA_VERSION

--- stderr

thread 'main' (17400) panicked at C:\Users\liu\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\cudarc-0.16.6\build.rs:128:14:
Unsupported cuda toolkit version: `13.0`. Please raise a github issue.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.