mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-01 12:49:50 +08:00
Force multi_commits when uploading to HF (#729)
This commit is contained in:

committed by
GitHub

parent
699de35b03
commit
510d2bde49
@@ -469,6 +469,8 @@ def upload_to_hub(path: str, upload_repo: str, hf_path: str):
|
||||
folder_path=path,
|
||||
repo_id=upload_repo,
|
||||
repo_type="model",
|
||||
multi_commits=True,
|
||||
multi_commits_verbose=True,
|
||||
)
|
||||
print(f"Upload successful, go to https://huggingface.co/{upload_repo} for details.")
|
||||
|
||||
|
Reference in New Issue
Block a user