From d9aa494638ce4ddc4cae59bb2b9467972c559a38 Mon Sep 17 00:00:00 2001 From: Eric Buehler <65165915+EricLBuehler@users.noreply.github.com> Date: Tue, 11 Jun 2024 05:54:03 -0400 Subject: [PATCH] Lock candle version to commit (#419) * Lock candle version to commit sha * Correct candle version --- Cargo.toml | 4 ++-- mistralrs-core/Cargo.toml | 2 +- mistralrs-pyo3/Cargo_template.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 79f9ee9fa3..912625e8b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,8 +21,8 @@ license = "MIT" [workspace.dependencies] anyhow = { version = "1.0.80", feature = "std" } -candle-core = { git = "https://github.com/EricLBuehler/candle.git", version = "0.5.0" } -candle-nn = { git = "https://github.com/EricLBuehler/candle.git", version = "0.5.0" } +candle-core = { git = "https://github.com/EricLBuehler/candle.git", version = "0.6.0", commit = "636de1defb5e763820fc573bc7aa54ce34996f19" } +candle-nn = { git = "https://github.com/EricLBuehler/candle.git", version = "0.6.0", commit = "636de1defb5e763820fc573bc7aa54ce34996f19" } 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 2dac553c62..0daee84704 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.5.0", optional = true } +candle-flash-attn = { git = "https://github.com/EricLBuehler/candle.git", version = "0.6.0", commit = "636de1defb5e763820fc573bc7aa54ce34996f19", 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 3d599c0bc7..1de9755e64 100644 --- a/mistralrs-pyo3/Cargo_template.toml +++ b/mistralrs-pyo3/Cargo_template.toml @@ -20,7 +20,7 @@ pyo3.workspace = true mistralrs-core = { version = "0.1.16", 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.5.0", features=["$feature_name"] } +candle-core = { git = "https://github.com/EricLBuehler/candle.git", version = "0.6.0", commit = "636de1defb5e763820fc573bc7aa54ce34996f19", features=["$feature_name"] } indexmap.workspace = true accelerate-src = { workspace = true, optional = true } intel-mkl-src = { workspace = true, optional = true }