Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
d5b66fa2
Unverified
Commit
d5b66fa2
authored
Aug 20, 2025
by
Graham King
Committed by
GitHub
Aug 20, 2025
Browse files
fix(hub): Download faster from Hugging Face (#2566)
parent
1b3a1073
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lib/llm/src/hub.rs
lib/llm/src/hub.rs
+1
-0
No files found.
lib/llm/src/hub.rs
View file @
d5b66fa2
...
@@ -45,6 +45,7 @@ pub async fn from_hf(name: impl AsRef<Path>, ignore_weights: bool) -> anyhow::Re
...
@@ -45,6 +45,7 @@ pub async fn from_hf(name: impl AsRef<Path>, ignore_weights: bool) -> anyhow::Re
let
api
=
ApiBuilder
::
new
()
let
api
=
ApiBuilder
::
new
()
.with_progress
(
true
)
.with_progress
(
true
)
.with_token
(
token
)
.with_token
(
token
)
.high
()
.build
()
?
;
.build
()
?
;
let
model_name
=
name
.display
()
.to_string
();
let
model_name
=
name
.display
()
.to_string
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment