Unverified Commit d5b66fa2 authored by Graham King's avatar Graham King Committed by GitHub
Browse files

fix(hub): Download faster from Hugging Face (#2566)

parent 1b3a1073
......@@ -45,6 +45,7 @@ pub async fn from_hf(name: impl AsRef<Path>, ignore_weights: bool) -> anyhow::Re
let api = ApiBuilder::new()
.with_progress(true)
.with_token(token)
.high()
.build()?;
let model_name = name.display().to_string();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment