MCPcopy Create free account
hub / github.com/Alpha-VLLM/LLaMA2-Accessory / download_files

Function download_files

accessory/util/misc.py:639–643  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

637 print(f"Saved to {cache_path}")
638
639 def download_files():
640 if subfolder:
641 hf_download(repo_id, f"{subfolder}/*", cache_path)
642 else:
643 hf_download(repo_id, None, cache_path)
644
645 if hf_path.startswith("hf://"):
646 hf_path = hf_path[len("hf://"):]

Callers 1

cached_file_from_hfFunction · 0.70

Calls 1

hf_downloadFunction · 0.85

Tested by

no test coverage detected