-
Notifications
You must be signed in to change notification settings - Fork 333
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
Possible problem with candle 0.8.0 - doesn't build on a GTX1650 (CI 75) nor a GTX1070 (CI 61) #954
Comments
Hi @misureaudio - I just merged #960, which should fix this. I've checked compilation support down to compute cap 5.3! |
Hi @EricLBuehler - After updating ro rust 1.8.3, "cargo build --release --features cuda" is ok but "cargo install --path mistralrs-server --features cuda" fails: For more information about this error, try |
@misureaudio #975 should have fixed this, can you please check if it works for you? |
I'm no more able to complete the install phase: error[E0422]: cannot find struct, variant or union type error[E0422]: cannot find struct, variant or union type error[E0425]: cannot find function Compiling tokio-util v0.7.13 |
Minimum reproducible example
cargo build --release --features cuda
ver 0.3.4 #950
Error
Compiling utoipa-swagger-ui v7.1.0
error: failed to run custom build command for
candle-kernels v0.8.0 (https://github.com/EricLBuehler/candle.git?rev=e5685ce#e5685cee)
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully:
C:\Users\misur\Desktop\rustsrc\mistral.rs.0.3.4.0950\target\release\build\candle-kernels-b5b745df527c8066\build-script-build
(exit code: 101)--- stdout
cargo:rerun-if-changed=build.rs
cargo:rerun-if-changed=src/compatibility.cuh
cargo:rerun-if-changed=src/cuda_utils.cuh
cargo:rerun-if-changed=src/binary_op_macros.cuh
cargo:info=["/usr", "/usr/local/cuda", "/opt/cuda", "/usr/lib/cuda", "C:/Program Files/NVIDIA GPU Computing Toolkit", "C:/CUDA"]
cargo:rerun-if-env-changed=CUDA_COMPUTE_CAP
cargo:rustc-env=CUDA_COMPUTE_CAP=75
cargo:info=Builder { cuda_root: Some("C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6"), kernel_paths: ["src\affine.cu", "src\binary.cu", "src\cast.cu", "src\conv.cu", "src\fill.cu", "src\fused_rms_norm.cu", "src\fused_rope.cu", "src\indexing.cu", "src\kvconcat.cu", "src\quantized.cu", "src\reduce.cu", "src\sort.cu", "src\ternary.cu", "src\unary.cu"], watch: [], include_paths: ["src\binary_op_macros.cuh", "src\compatibility.cuh", "src\cuda_utils.cuh"], compute_cap: Some(75), out_dir: "C:\Users\misur\Desktop\rustsrc\mistral.rs.0.3.4.0950\target\release\build\candle-kernels-dce6dbf8224150c5\out", extra_args: [] }
cargo:rustc-env=CUDA_INCLUDE_DIR=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\include
cargo:rerun-if-changed=src\binary_op_macros.cuh
cargo:rerun-if-changed=src\compatibility.cuh
cargo:rerun-if-changed=src\cuda_utils.cuh
cargo:rerun-if-env-changed=NVCC_CCBIN
cargo:rerun-if-changed=src\affine.cu
cargo:rerun-if-changed=src\binary.cu
cargo:rerun-if-changed=src\conv.cu
cargo:rerun-if-changed=src\reduce.cu
cargo:rerun-if-changed=src\indexing.cu
cargo:rerun-if-changed=src\fused_rms_norm.cu
cargo:rerun-if-changed=src\cast.cu
cargo:rerun-if-changed=src\fill.cu
cargo:rerun-if-changed=src\sort.cu
cargo:rerun-if-changed=src\kvconcat.cu
cargo:rerun-if-changed=src\ternary.cu
cargo:rerun-if-changed=src\unary.cu
cargo:rerun-if-changed=src\fused_rope.cu
cargo:rerun-if-changed=src\quantized.cu
C:\Users\misur.cargo\git\checkouts\candle-c6a149c3b35a488f\e5685ce\candle-kernels\src\cast.cu(34): error: identifier "__nv_fp8_e4m3" is undefined
const __nv_fp8_e4m3 *inp,
^
Other information
Please specify:
Windows 11
C:\Users\misur\Desktop\rustsrc\mistral.rs.0.3.4.0950>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Thu_Sep_12_02:55:00_Pacific_Daylight_Time_2024
Cuda compilation tools, release 12.6, V12.6.77
Build cuda_12.6.r12.6/compiler.34841621_0
C:\Users\misur>nvidia-smi
Sun Dec 1 14:24:53 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 566.14 Driver Version: 566.14 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| 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 GeForce GTX 1650 ... WDDM | 00000000:01:00.0 Off | N/A |
| N/A 38C P8 3W / 40W | 0MiB / 4096MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+
Latest commit or version
Which commit or version you ran with.
The text was updated successfully, but these errors were encountered: