-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
[CI update
] Try to use dockers and no cache
#29202
Conversation
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. |
I mostly need the approval of the security team at this point... |
Wow, all ✅ ! I ❤️ seeing this. Will take a look this afternoon. |
Draft CI update
] Try to use dockers and no cacheCI update
] Try to use dockers and no cache
# Might need to add doc-builder and some specific deps in the future | ||
extras["docs_specific"] = ["hf-doc-builder"] | ||
|
||
# "docs" needs "all" to resolve all the references | ||
extras["docs"] = extras["all"] + extras["docs_specific"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:)
(please wait for Yih-Dar's review before merging) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @ArthurZucker . This is really great work 🚀 .
Mostly some nit comments, and let discuss/think about the image push process after this being merged.
(Please don't merge yet before I DM you on slack)
Co-authored-by: Lysandre Debut <hi@lysand.re>
Co-authored-by: Lysandre Debut <hi@lysand.re>
Co-authored-by: Lysandre Debut <hi@lysand.re>
What does this PR do?
So we have:
1.
setup_and_quality
83% faster on average, instead of a total of 11min it's down to 2min36.I think we can do even better with
check repo consistency
by reducing the size of the docker used! (purging nvidia-*, and else not needed for checks). Breakdown:2.
run_tests
from 17min on average to 6minbefore vs after:
