Skip to content

Commit 28acdb2

Browse files
authored
feat(hub): Add support for Hugging Face Hub downloads (#139)
1 parent df13e32 commit 28acdb2

2 files changed

Lines changed: 254 additions & 78 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ log = "0.4.26"
2323
minifb = { version = "0.28.0" }
2424
rand = { version = "0.9" }
2525
http = "1.3"
26-
ureq = { version = "3", default-features = true, features = ["socks-proxy"] }
26+
ureq = { version = "3" }
2727
serde = { version = "1.0", features = ["derive"] }
2828
serde_json = "1.0"
2929
rayon = { version = "1.10.0" }
@@ -37,13 +37,14 @@ tempfile = "3.19.1"
3737
video-rs = { version = "0.10.3", features = ["ndarray"], optional = true }
3838
fast_image_resize = { version = "=5.1.2", features = ["image"] }
3939
ndarray-npy = "0.9.1"
40-
half = { version = "2.3.1" }
40+
half = { version = "2.6.0", features = ["bytemuck", "num-traits"] }
4141
prost = "0.14.1"
4242
ort = { version = "=2.0.0-rc.10", default-features = false, optional = true, features = [
4343
"copy-dylibs",
4444
"half",
4545
"std",
4646
] }
47+
hf-hub = { version = "0.4.3", default-features = false, features = ["ureq", "native-tls"] }
4748
tokenizers = { version = "0.21.1" }
4849
paste = "1.0.15"
4950
base64ct = "=1.7.3"

0 commit comments

Comments
 (0)