Skip to content

Commit e10e10e

Browse files
fix: hf hub redirects (#89)
1 parent fe72e3d commit e10e10e

File tree

5 files changed

+87
-63
lines changed

5 files changed

+87
-63
lines changed

Cargo.lock

Lines changed: 59 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ candle = { git = "https://github.com/OlivierDehaene/candle", rev = "9f2b4081b83a
2222
candle-nn = { git = "https://github.com/OlivierDehaene/candle", rev = "9f2b4081b83a0e47ec1b12caa71d3cac7cc2161e", package = "candle-nn" }
2323
candle-transformers = { git = "https://github.com/OlivierDehaene/candle", rev = "9f2b4081b83a0e47ec1b12caa71d3cac7cc2161e", package = "candle-transformers" }
2424
candle-flash-attn = { git = "https://github.com/OlivierDehaene/candle", rev = "9f2b4081b83a0e47ec1b12caa71d3cac7cc2161e", package = "candle-flash-attn" }
25+
hf-hub = { git = "https://github.com/huggingface/hf-hub", rev = "b167f69692be5f49eb8003788f7f8a499a98b096" }
2526

2627
[profile.release]
2728
debug = 1

core/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ authors.workspace = true
66
homepage.workspace = true
77

88
[dependencies]
9-
hf-hub = { version = "^0.3.0", features = ["tokio"] }
9+
hf-hub = { version = "^0.3.0", features = ["tokio"], default-features = false }
1010
metrics = "^0.21"
1111
text-embeddings-backend = { path = "../backends" }
1212
thiserror = "^1.0"
13-
tokenizers = { version = "^0.15.0", default-features=false, features=["onig", "esaxx_fast"] }
13+
tokenizers = { version = "^0.15.0", default-features = false, features = ["onig", "esaxx_fast"] }
1414
tracing = "^0.1"
1515
tokio = { version = "^1.25", features = ["rt", "rt-multi-thread", "parking_lot", "sync"] }

0 commit comments

Comments
 (0)