-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking: migrate doc build artifacts from github to hf hub #316
Comments
If I understand it correctly, for now the repo structure stays the same (no LFS files, no zip), this issue is just moving the doc build repos from github to HF hub |
@coyotte508 at the moment, there is no zip. Would I need LFS ?, and if so, is there anything I need to do besides this step ? |
LFS will make the git repos a lot smaller in size so it should be beneficial in any case. I didn't see the |
did so on the hub backend side 👍 |
@coyotte508 I've actually switched to using zipped file.
cc: @Wauplin When I zipped it into a zip file (14 MB), everything worked. You can find on the hub here |
all done |
Tracking: migrate doc build artifacts from github to hf hub
Why: because hf hub can handle large files & huggingface_hub python client library makes it easy to work with. (With github, we had to almost write python client from scratch using github graphql)
Dev Steps:
secrets.HUGGINGFACE_PUSH
token on all repos (for example, here)secrets.HUGGINGFACE_PUSH
as well. Therefore, all the repos should update its doc-build-pr.yml tp supply the tokenMigration Steps:
rm -rf doc-build doc-build-dev
sync-github-repos.js
Resources:
internal slack discussion
The text was updated successfully, but these errors were encountered: