From 11568b9634b9fb67a63daab9b343929babebbc2d Mon Sep 17 00:00:00 2001 From: haixuantao Date: Tue, 25 Mar 2025 14:23:13 +0100 Subject: [PATCH] Support windows in mistralrs --- node-hub/dora-mistral-rs/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-hub/dora-mistral-rs/Cargo.toml b/node-hub/dora-mistral-rs/Cargo.toml index bf6e8b73..77bf2134 100644 --- a/node-hub/dora-mistral-rs/Cargo.toml +++ b/node-hub/dora-mistral-rs/Cargo.toml @@ -15,11 +15,11 @@ dora-node-api = { workspace = true } tokio = { version = "1.36.0", features = ["full"] } eyre = "0.6.8" -[target.'cfg( target_os = "macos" )'.dependencies] +[target.'cfg(target_os = "macos")'.dependencies] mistralrs = { git = "https://github.com/EricLBuehler/mistral.rs.git", features = [ "metal", "accelerate", ] } -[target.'cfg( target_os = "linux" )'.dependencies] +[target.'cfg(not(target_os = "macos"))'.dependencies] mistralrs = { git = "https://github.com/EricLBuehler/mistral.rs.git" }