Browse Source

Support windows in mistralrs

tags/v0.3.11-rc1
haixuantao 10 months ago
parent
commit
11568b9634
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      node-hub/dora-mistral-rs/Cargo.toml

+ 2
- 2
node-hub/dora-mistral-rs/Cargo.toml View File

@@ -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" }

Loading…
Cancel
Save