-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Added cache for incremental build. #1184
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
Conversation
|
Deploy preview for pytorch-tutorials-preview ready! Built with commit 17fb8da https://deploy-preview-1184--pytorch-tutorials-preview.netlify.app |
|
Fix for #1108 |
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.
This looks mostly okay, but wouldn't this only save the cache for the current PR / job?
Like, from my overview, it seems to me that the first runs would take exactly the same amount of time as it currently takes. Only subsequent runs would actually benefit from this cache.
Ii caches for master branch too. And yes, the first time run does not have cache to use and subsequent run benefit for the cache. |
|
Hi @v-jizhang! Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours needs attention. You currently have a record in our system, but we do not have a signature on file. In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
|
I'm thinking about merging this if we pass tests. Could reviewers chime in on it? |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
* Added cache for incremental build. * Test cache * Added more content to cache * Added more content to cache * Test build cache Co-authored-by: v-jizhang <[email protected]> Co-authored-by: Brian Johnson <[email protected]> Co-authored-by: holly1238 <[email protected]>
) This reverts commit 03341a2.
Added cache for incremental build.