Skip to content

Commit

Permalink
Fix the helium weights download.
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentMazare committed Jan 13, 2025
1 parent 158817f commit 8f162fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion candle-examples/examples/helium/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ fn main() -> Result<()> {
.split(',')
.map(std::path::PathBuf::from)
.collect::<Vec<_>>(),
None => candle_examples::hub_load_safetensors(&repo, "model.safetensors")?,
None => vec![repo.get("model.safetensors")?],
};
println!("retrieved the files in {:?}", start.elapsed());
let tokenizer = Tokenizer::from_file(tokenizer_filename).map_err(E::msg)?;
Expand Down

0 comments on commit 8f162fc

Please sign in to comment.