diff --git a/Cargo.toml b/Cargo.toml index df5c7eb..0d6c8e9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,9 +17,9 @@ categories = ["science"] license = "MIT OR Apache-2.0" [workspace.dependencies] -candle-core = { git = "https://github.com/huggingface/candle.git", version = "0.4.0" } -candle-examples = { git = "https://github.com/huggingface/candle.git", version = "0.4.0" } -candle-nn = { git = "https://github.com/huggingface/candle.git", version = "0.4.0" } +candle-core = { git = "https://github.com/huggingface/candle.git", version = "0.4.1" } +candle-examples = { git = "https://github.com/huggingface/candle.git", version = "0.4.1" } +candle-nn = { git = "https://github.com/huggingface/candle.git", version = "0.4.1" } either = "1.9.0" serde_json = "1.0.107" thiserror = "1.0.48" diff --git a/candle-lora-macro/Cargo.toml b/candle-lora-macro/Cargo.toml index e72666d..c082cf1 100644 --- a/candle-lora-macro/Cargo.toml +++ b/candle-lora-macro/Cargo.toml @@ -16,8 +16,8 @@ proc-macro2 = "1.0.66" quote_into = "0.2.0" syn = { version = "2.0.32", features = ["full", "extra-traits"] } candle-lora = { path = "../candle-lora", package = "candle-lora", version = "0.2.0" } -candle-core = { git = "https://github.com/huggingface/candle.git", version = "0.4.0" } -candle-nn = { git = "https://github.com/huggingface/candle.git", version = "0.4.0" } +candle-core = { git = "https://github.com/huggingface/candle.git", version = "0.4.1" } +candle-nn = { git = "https://github.com/huggingface/candle.git", version = "0.4.1" } quote = "1.0.33" [lib] diff --git a/candle-lora-transformers/Cargo.toml b/candle-lora-transformers/Cargo.toml index 9dcf28b..f68cb5c 100644 --- a/candle-lora-transformers/Cargo.toml +++ b/candle-lora-transformers/Cargo.toml @@ -18,8 +18,8 @@ candle-examples.workspace = true candle-lora = { version = "0.2.0", path = "../candle-lora" } candle-lora-macro = { version = "0.2.0", path = "../candle-lora-macro" } candle-nn.workspace = true -candle-transformers = { git = "https://github.com/huggingface/candle.git", version = "0.4.0" } -candle-flash-attn = { git = "https://github.com/huggingface/candle.git", version = "0.4.0", optional = true } +candle-transformers = { git = "https://github.com/huggingface/candle.git", version = "0.4.1" } +candle-flash-attn = { git = "https://github.com/huggingface/candle.git", version = "0.4.1", optional = true } clap = "4.4.7" hf-hub = "0.3.2" serde = "1.0.189" diff --git a/candle-lora-transformers/src/llama.rs b/candle-lora-transformers/src/llama.rs index eb6db2b..c3c218e 100644 --- a/candle-lora-transformers/src/llama.rs +++ b/candle-lora-transformers/src/llama.rs @@ -4,7 +4,7 @@ use candle_core::{DType, Device, IndexOp, Result, Tensor, D}; use candle_lora::{ EmbeddingLayerLike, LinearLayerLike, LoraConfig, LoraEmbeddingConfig, LoraLinearConfig, }; -use candle_lora_macro::{self, replace_layer_fields, AutoLoraConvert}; +use candle_lora_macro::{replace_layer_fields, AutoLoraConvert}; use candle_nn::{Embedding, Module, VarBuilder}; use serde::Deserialize; use std::collections::HashMap;