Repository navigation
user-guide: document Hugging Face Storage Buckets as a remote - #5595
Open
davanstrien wants to merge 2 commits into
Open
davanstrien wants to merge 2 commits into
davanstrien wants to merge 2 commits into
Conversation
This branch has not been deployed
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.
Hugging Face Storage Buckets have an S3-compatible API, so a bucket works as a DVC S3 remote. This adds a short section to the existing Hugging Face integration page. It covers the one non-obvious part: the namespace goes in
endpointurl(https://s3.hf.co/<NAMESPACE>) and the bare bucket name in thes3://URL. It also shows credentials set with--local.Tested with DVC 3.67.1 (dvc-s3 3.3.0) against
s3.hf.co:dvc remote add+endpointurl+region, credentials viadvc remote modify --localdvc add→dvc push→ freshgit clone→dvc pull, then a v1 → v2 update cycleThe same recipe is in the Hugging Face docs: https://huggingface.co/docs/hub/storage-buckets-s3#version-data-with-dvc