Skip to content
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

Old Rust version broke install (fixed) #1083

Open
Opfour opened this issue Jan 22, 2025 · 0 comments
Open

Old Rust version broke install (fixed) #1083

Opfour opened this issue Jan 22, 2025 · 0 comments
Labels
bug Something isn't working build Issues relating to building mistral.rs

Comments

@Opfour
Copy link

Opfour commented Jan 22, 2025

Other information

Latest commit or version

Which commit or version you ran with.


Following build instructions to a T. Got past cloning the repo

git clone https://github.com/EricLBuehler/mistral.rs.git cd mistral.rs

to the Build with CUDA support section, and ran

cargo build --release --features cuda

and then received the following error;

error[E0658]: use of unstable library feature 'is_none_or'
   --> mistralrs-core/src/pipeline/amoe.rs:527:18
    |
527 |                 .is_none_or(|e| e.to_string_lossy() != *"csv")
    |                  ^^^^^^^^^^
    |
    = note: see issue #126383 <https://github.com/rust-lang/rust/issues/126383> for more information

error[E0658]: use of unstable library feature 'is_none_or'
   --> mistralrs-core/src/pipeline/isq.rs:460:43
    |
460 |                 if serialized.extension().is_none_or(|ext| ext != "uqff") {
    |                                           ^^^^^^^^^^
    |
    = note: see issue #126383 <https://github.com/rust-lang/rust/issues/126383> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `mistralrs-core` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
root@puter:/home/user/mistral/mistral.rs#

OS: Ubuntu 24.10
root@puter:/home/user/mistral/mistral.rs# lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 24.10 Release: 24.10 Codename: oracular

Nvidia Info:

root@puter:/home/user/mistral/mistral.rs# nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Mon_Apr__3_17:16:06_PDT_2023
Cuda compilation tools, release 12.1, V12.1.105
Build cuda_12.1.r12.1/compiler.32688072_0

more info on nvidia:

root@puter:/home/user/mistral/mistral.rs# nvidia-smi
NVML library version: 550.144

Downloaded latest version.

Checked rustc version:

root@puter:/home/user/mistral/mistral.rs# rustc --version
rustc 1.81.0 (eeb90cda1 2024-09-04)

This was an older version. updated rust software.

root@puter:/home/user/mistral/mistral.rs# rustup update
codecodecode
info: cleaning up downloads & tmp directories
root@puter:/home/user/mistral/mistral.rs# rustc --version
rustc 1.84.0 (9fc6b4312 2025-01-07)

Reran the cargo build --release

build completed successfully.

@Opfour Opfour added bug Something isn't working build Issues relating to building mistral.rs labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Issues relating to building mistral.rs
Projects
None yet
Development

No branches or pull requests

1 participant