diff --git a/pkgs/by-name/mi/mistral-rs/package.nix b/pkgs/by-name/mi/mistral-rs/package.nix index 1d1b367af9e5..92d0d721741f 100644 --- a/pkgs/by-name/mi/mistral-rs/package.nix +++ b/pkgs/by-name/mi/mistral-rs/package.nix @@ -74,14 +74,14 @@ let in rustPlatform.buildRustPackage (finalAttrs: { pname = "mistral-rs"; - version = "0.9.2"; + version = "0.9.3"; __structuredAttrs = true; src = fetchFromGitHub { owner = "EricLBuehler"; repo = "mistral.rs"; tag = "v${finalAttrs.version}"; - hash = "sha256-T7CKIQOCvJXAdYpwLzQ7oFs/xu30OIuxqa8GpYWLK9U="; + hash = "sha256-uuWwp1f0GCCCml/lkfrs0+ceE98MirQII0YJZJyZ40o="; }; patches = [ @@ -130,7 +130,7 @@ rustPlatform.buildRustPackage (finalAttrs: { "" ''; - cargoHash = "sha256-7Vp9nNvVbC8McJwQuiIMJWGfU42xtr6rL1/H8WJ1wkQ="; + cargoHash = "sha256-nHcXQQYu6fzeAWQdUN1uV6e/fO6bvyPtIejb3EIW9T4="; nativeBuildInputs = [ pkg-config @@ -217,6 +217,16 @@ rustPlatform.buildRustPackage (finalAttrs: { checkFeatures = [ ]; checkFlags = [ + # Error: failed to read MTP model config: No such file or directory (os error 2) + "--skip=external_mtp_checkpoint_bytes_are_added_to_the_cache_reservation" + + # assertion `left == right` failed: docs/openapi.json is stale; + # regenerate with: cargo test -p mistralrs-server-core regenerate_openapi -- --ignored + "--skip=openapi_doc::tests::openapi_matches_committed" + + # Max error 0.27852345 is too large + "--skip=vector_fp8::ops::tests::test_fp8_vector_quant_cpu" + # Try to access internet "--skip=gguf::gguf_tokenizer::tests::test_encode_decode_gpt2" "--skip=gguf::gguf_tokenizer::tests::test_encode_decode_llama"