Align dataset upload guide + storage limits with upload_folder/hf upload multi-commit (huggingface_hub 1.20)#2580
Merged
davanstrien merged 9 commits intoJun 23, 2026
Conversation
….20) upload_folder/hf upload now auto-split large folders into multiple resumable commits, so the old manual guidance has drifted: - datasets-upload-guide-llm: drop the removed `multi_commits=True` recommendation; add a note on automatic multi-commit, resumable/ idempotent re-runs, the create_pr+revision restriction, and agent/non-TTY progress behavior - storage-limits: manual "<100 files per commit" splitting is now handled automatically by upload_folder/hf upload Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Wauplin
reviewed
Jun 23, 2026
Wauplin
left a comment
Contributor
There was a problem hiding this comment.
Thanks for thinking about this.
To be clear, upload_large_folder will be deprecated/removed so we shouldn't mention it at all
Co-authored-by: Lucain <lucainp@gmail.com>
Co-authored-by: Lucain <lucainp@gmail.com>
Co-authored-by: Lucain <lucainp@gmail.com>
Co-authored-by: Lucain <lucainp@gmail.com>
Co-authored-by: Lucain <lucainp@gmail.com>
Co-authored-by: Lucain <lucainp@gmail.com>
Co-authored-by: Lucain <lucainp@gmail.com>
…ppet + redundant 1.20 note Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Wauplin
approved these changes
Jun 23, 2026
julien-c
reviewed
Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aligning these docs with the new upload best practices. Since
huggingface_hub1.20,upload_folder/hf uploadautomatically split large folders into multiple resumable commits and are now the recommended path for large uploads to repos (buckets have their own path). The guides still described the old single-commit world, so:datasets-upload-guide-llm.mdupload_folder/hf uploadthroughout; reframeupload_large_folderas a fall-back-if-you-hit-trouble option (it's more limited feature-wise — no custompath_in_repo/commit_message, no PR, no delete-during-upload)multi_commits=Truerecommendationcreate_pr+revisionrestrictionhf --help/hf <command> --helpas the source of truth for current commandsstorage-limits.mdupload_folder/hf uploadIt might be worth deprecating the LLM upload-guide page down the line, but for now I'd rather keep it aligned with the CLI and current best practices than let it drift.
Note
Low Risk
Documentation-only changes with no runtime or security impact.
Overview
Updates dataset upload and storage limits documentation to match
huggingface_hub1.20+ behavior, whereupload_folderandhf uploadare the default path for large or many-file uploads (resumable, auto-split across commits).In
datasets-upload-guide-llm.md, quick-reference tables, workflow steps, upload-method examples, WebDataset appendix, and custom-format guidance now point athf upload/api.upload_folderinstead ofupload_large_folder. A new tip tells LLM agents to usehf --helpand per-command help for current CLI flags. The troubleshooting table removes themulti_commits=Truetimeout workaround.In
storage-limits.md, commit-size guidance now states thatupload_folder/hf uploadsplit large folders automatically; the operations-per-commit section no longer tells users to manually batch ~50–100 files when using those tools.Reviewed by Cursor Bugbot for commit 21b16b8. Bugbot is set up for automated code reviews on this repo. Configure here.