-
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.1 #862 new build failure, stop at mistralrs-quant #866
Comments
BTW, #859 (pre metal fix) compiled with no issue. |
|
Fine on a Quadro A2000, CI 86 |
OK on 4070 laptop. CI 89, |
Could it be feasible to allow backward compatibility? |
@misureaudio that makes sense. I'll merge a nice solution! |
@misureaudio @DenisBobrovskiy I just merged #878 which only compiles & runs the Marlin kernels if the compute cap is appropriate, can you please confirm if it works? |
@EricLBuehler fails at
in this code |
@EricLBuehler @DenisBobrovskiy , both mods are needed, and all works ok: build, install, mistralrs-server.exe works on a GTX1080, CI 6.1: 2024-10-24T08:36:26.399093Z INFO mistralrs_core::utils::normal: Detected minimum CUDA compute capability 6.1 Confirmed! Thank You very much! |
@EricLBuehler #880 this should fix the issue i mentioned |
I am also facing the same issue when I try to build the Dockerfile: 71.79 error: failed to run custom build command for Dockerfile FROM nvidia/cuda:12.5.1-cudnn-devel-ubuntu22.04 AS builder RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends RUN curl https://sh.rustup.rs -sSf | bash -s -- -y WORKDIR /mistralrs #ENV CUDA_ARCH="7.5" FROM nvidia/cuda:12.5.1-cudnn-runtime-ubuntu22.04 AS base ENV HUGGINGFACE_HUB_CACHE=/data Run the script to create symlinks in /usr/local/cuda/lib64RUN set -eux; RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends FROM base COPY --from=builder /mistralrs/target/release/mistralrs-bench /usr/local/bin/mistralrs-bench |
Minimum reproducible example
cargo build --release --features cuda
Error
error: failed to run custom build command for
mistralrs-quant v0.3.1 (C:\Users\misur\Desktop\rustsrc\mistral.rs.0.3.1.0862\mistralrs-quant)
Caused by:
process didn't exit successfully:
C:\Users\misur\Desktop\rustsrc\mistral.rs.0.3.1.0862\target\release\build\mistralrs-quant-a5b0a5658b3f8319\build-script-build
(exit code: 101)--- stdout
cargo:rerun-if-changed=build.rs
cargo:rerun-if-changed=kernels/gptq/q_gemm.cu
cargo:rerun-if-changed=kernels/hqq/hqq.cu
cargo:rerun-if-changed=kernels/ops/ops.cu
cargo:rerun-if-changed=kernels/marlin/marlin_kernel.cu
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
Other information
Please specify:
Windows 11
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Wed_Apr_17_19:36:51_Pacific_Daylight_Time_2024
Cuda compilation tools, release 12.5, V12.5.40
Build cuda_12.5.r12.5/compiler.34177558_0
Sat Oct 19 14:49:11 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.90 Driver Version: 565.90 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 46C 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
0.3.1 #862
The text was updated successfully, but these errors were encountered: