diff --git a/download_deps.py b/download_deps.py index 6c0c6d5b..36d83e60 100644 --- a/download_deps.py +++ b/download_deps.py @@ -27,7 +27,7 @@ repos = [ def download_model(repo_id): local_dir = os.path.abspath(os.path.join("huggingface.co", repo_id)) os.makedirs(local_dir, exist_ok=True) - snapshot_download(repo_id=repo_id, local_dir=local_dir) + snapshot_download(repo_id=repo_id, local_dir=local_dir, local_dir_use_symlinks=False) if __name__ == "__main__":