From 32e894510696e9aa3c11db79268ee031a3ecefa6 Mon Sep 17 00:00:00 2001 From: Eric Buehler <65165915+EricLBuehler@users.noreply.github.com> Date: Thu, 17 Oct 2024 08:17:34 -0400 Subject: [PATCH] Fix some metal warnings (#862) --- Cargo.lock | 10 +++++----- Cargo.toml | 4 ++-- mistralrs-core/Cargo.toml | 2 +- mistralrs-pyo3/Cargo_template.toml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c5a76552c..573bbcfcb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -393,7 +393,7 @@ checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" [[package]] name = "candle-core" version = "0.7.2" -source = "git+https://github.com/EricLBuehler/candle.git?rev=2578db#2578db6dcfc8fc25b425bb3f8fe585dfb7c716f9" +source = "git+https://github.com/EricLBuehler/candle.git?rev=628775#6287750d26e2a9ed6e5f4f4774c51e6af109536c" dependencies = [ "accelerate-src", "byteorder", @@ -421,7 +421,7 @@ dependencies = [ [[package]] name = "candle-flash-attn" version = "0.7.2" -source = "git+https://github.com/EricLBuehler/candle.git?rev=2578db#2578db6dcfc8fc25b425bb3f8fe585dfb7c716f9" +source = "git+https://github.com/EricLBuehler/candle.git?rev=628775#6287750d26e2a9ed6e5f4f4774c51e6af109536c" dependencies = [ "anyhow", "bindgen_cuda 0.1.5", @@ -432,7 +432,7 @@ dependencies = [ [[package]] name = "candle-kernels" version = "0.7.2" -source = "git+https://github.com/EricLBuehler/candle.git?rev=2578db#2578db6dcfc8fc25b425bb3f8fe585dfb7c716f9" +source = "git+https://github.com/EricLBuehler/candle.git?rev=628775#6287750d26e2a9ed6e5f4f4774c51e6af109536c" dependencies = [ "bindgen_cuda 0.1.5", ] @@ -440,7 +440,7 @@ dependencies = [ [[package]] name = "candle-metal-kernels" version = "0.7.2" -source = "git+https://github.com/EricLBuehler/candle.git?rev=2578db#2578db6dcfc8fc25b425bb3f8fe585dfb7c716f9" +source = "git+https://github.com/EricLBuehler/candle.git?rev=628775#6287750d26e2a9ed6e5f4f4774c51e6af109536c" dependencies = [ "metal", "once_cell", @@ -451,7 +451,7 @@ dependencies = [ [[package]] name = "candle-nn" version = "0.7.2" -source = "git+https://github.com/EricLBuehler/candle.git?rev=2578db#2578db6dcfc8fc25b425bb3f8fe585dfb7c716f9" +source = "git+https://github.com/EricLBuehler/candle.git?rev=628775#6287750d26e2a9ed6e5f4f4774c51e6af109536c" dependencies = [ "accelerate-src", "candle-core", diff --git a/Cargo.toml b/Cargo.toml index ee53fc901..2369594ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,8 +25,8 @@ license = "MIT" [workspace.dependencies] anyhow = "1.0.80" -candle-core = { git = "https://github.com/EricLBuehler/candle.git", version = "0.7.0", rev = "2578db" } -candle-nn = { git = "https://github.com/EricLBuehler/candle.git", version = "0.7.0", rev = "2578db" } +candle-core = { git = "https://github.com/EricLBuehler/candle.git", version = "0.7.0", rev = "628775" } +candle-nn = { git = "https://github.com/EricLBuehler/candle.git", version = "0.7.0", rev = "628775" } serde = "1.0.197" serde_json = "1.0.114" indexmap = { version = "2.2.5", features = ["serde"] } diff --git a/mistralrs-core/Cargo.toml b/mistralrs-core/Cargo.toml index ce74bc1d3..5485fb083 100644 --- a/mistralrs-core/Cargo.toml +++ b/mistralrs-core/Cargo.toml @@ -17,7 +17,7 @@ candle-core.workspace = true candle-nn.workspace = true serde.workspace = true serde_json.workspace = true -candle-flash-attn = { git = "https://github.com/EricLBuehler/candle.git", version = "0.7.0", rev = "2578db", optional = true } +candle-flash-attn = { git = "https://github.com/EricLBuehler/candle.git", version = "0.7.0", rev = "628775", optional = true } dirs = "5.0.1" hf-hub = "0.3.2" thiserror = "1.0.57" diff --git a/mistralrs-pyo3/Cargo_template.toml b/mistralrs-pyo3/Cargo_template.toml index 12be10f8f..b6faa3d76 100644 --- a/mistralrs-pyo3/Cargo_template.toml +++ b/mistralrs-pyo3/Cargo_template.toml @@ -20,7 +20,7 @@ pyo3.workspace = true mistralrs-core = { version = "0.3.1", path = "../mistralrs-core", features=["pyo3_macros","$feature_name"] } serde.workspace = true serde_json.workspace = true -candle-core = { git = "https://github.com/EricLBuehler/candle.git", version = "0.7.0", rev = "2578db", features=["$feature_name"] } +candle-core = { git = "https://github.com/EricLBuehler/candle.git", version = "0.7.0", rev = "628775", features=["$feature_name"] } indexmap.workspace = true accelerate-src = { workspace = true, optional = true } intel-mkl-src = { workspace = true, optional = true }