Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
irenedea committed Jan 23, 2024
1 parent f7f5846 commit 800ccbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/misc/download_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ def parse_args() -> argparse.Namespace:
download_from_hf_hub(args.model,
save_dir=args.save_dir,
token=args.token,
tokenizers_only=args.tokenizer_only,
prefer_safetensors=args.prefer_safetensors)
elif download_from == 'oras':
download_from_oras(args.model, args.config_file, args.credentials_dir,
args.save_dir, args.concurrency)
args.save_dir, args.tokenizer_only, args.concurrency)

0 comments on commit 800ccbf

Please sign in to comment.