Skip to content

Commit

Permalink
Merge pull request #11 from getong/master
Browse files Browse the repository at this point in the history
Update candle versions to 0.4.1
  • Loading branch information
EricLBuehler authored Mar 18, 2024
2 parents 0584189 + a10ad63 commit 18fe073
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions candle-lora-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions candle-lora-transformers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion candle-lora-transformers/src/llama.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 18fe073

Please sign in to comment.