Skip to content

Commit 50f502e

Browse files
committed
tools: Remove two deprecated arguments from download.py
Recent versions of huggingface_hub ignore these.
1 parent 9a90022 commit 50f502e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/download.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212

1313
# download model folder from HuggingFace, excluding .bin files (assume the model contains safetensors)
1414
ignore_patterns = ["*.bin", "*.pth", "*.pt", "*.gguf", "consolidated.safetensors"] if not args.all else []
15-
huggingface_hub.snapshot_download(repo_id=args.repo, local_dir=args.output, local_dir_use_symlinks=False, resume_download=True, ignore_patterns=ignore_patterns)
15+
huggingface_hub.snapshot_download(repo_id=args.repo, local_dir=args.output, ignore_patterns=ignore_patterns)

0 commit comments

Comments
 (0)