-
Notifications
You must be signed in to change notification settings - Fork 307
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
0.3.2 #891 build failure on Windows 11 #896
Comments
Possible remedy: Correction, proposed: impl CudaDevice { It builds, after copying the absent seed_value from the following rust code, Ok(Self... |
Please verify if the proposed correction is appropriate, not limited to the fact that it allows to complete the build process. Thank You! |
@misureaudio this should be fixed now, I just pushed a fix. Can you please confirm? |
Build & install OK. Thank You! |
@EricLBuehler this also caused the |
@wingrunr21 thanks. Will be taking a look to fix this in the upcoming v0.3.3. |
Minimum reproducible example
cargo build --release --features cuda
Error
Compiling windows-core v0.52.0
error[E0063]: missing field
seed_value
in initializer ofcuda_backend::device::CudaDevice
--> C:\Users\MATTIA.cargo\git\checkouts\candle-c6a149c3b35a488f\629ec72\candle-core\src\cuda_backend\device.rs:203:12
|
203 | Ok(Self {
| ^^^^ missing
seed_value
Compiling csv-core v0.1.11
Compiling base64 v0.13.1
Compiling arrayvec v0.7.6
Compiling allocator-api2 v0.2.18
Compiling indenter v0.3.3
Compiling overload v0.1.1
Compiling macro_rules_attribute-proc_macro v0.2.0
For more information about this error, try
rustc --explain E0063
.error: could not compile
candle-core
(lib) due to 1 previous errorwarning: build failed, waiting for other jobs to finish...
Other information
Windows 11
C:\Users\MATTIA>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Wed_Aug_14_10:26:51_Pacific_Daylight_Time_2024
Cuda compilation tools, release 12.6, V12.6.68
Build cuda_12.6.r12.6/compiler.34714021_0
C:\Users\MATTIA>nvidia-smi
Tue Oct 29 09:24:23 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.94 Driver Version: 560.94 CUDA Version: 12.6 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Driver-Model | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+=============|
| 0 NVIDIA RTX A2000 WDDM | 00000000:21:00.0 On | 0 |
| 30% 32C P8 7W / 70W | 391MiB / 5754MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
Latest commit or version
0.3.2 #891
The text was updated successfully, but these errors were encountered: