mistral.rs icon indicating copy to clipboard operation
mistral.rs copied to clipboard

Installation Error

Open TimDouglas2 opened this issue 1 year ago • 2 comments

happened when i entered: cargo run --release --features cuda -- -i --token-source none --isq Q4K plain -m microsoft/Phi-3-mini-4k-instruct -a phi3


error: failed to run custom build command for cudarc v0.11.4

Caused by: process didn't exit successfully: /root/mistral.rs/target/release/build/cudarc-7276cb883fd7b801/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 /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cudarc-0.11.4/build.rs:73:14: Unsupported cuda toolkit version: 11.5. Please raise a github issue. note: run with RUST_BACKTRACE=1 environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... root@Glarbsttentenford:~/mistral.rs#

TimDouglas2 avatar Jun 05 '24 16:06 TimDouglas2

Hi @TimDouglas2! I have opened an issue with cudarc and will let you know when it is resolved.

EricLBuehler avatar Jun 05 '24 22:06 EricLBuehler

Hello @TimDouglas2! I just merged #424 which uses a new version of our CUDA backend driver which should support version 11.5.

Can you please run

git pull
cargo update

And then try to run the model again?

EricLBuehler avatar Jun 11 '24 17:06 EricLBuehler

@TimDouglas2 tagging to let you know I am closing this.

EricLBuehler avatar Jul 19 '24 01:07 EricLBuehler

Hello @TimDouglas2! I just merged #424 which uses a new version of our CUDA backend driver which should support version 11.5.

Can you please run

git pull
cargo update

And then try to run the model again?

These commands seem to have fixed my "undefined reference to 'hgemm_' build error

oldgithubman avatar Jul 29 '24 06:07 oldgithubman