Skip to content

Conversation

@v-jizhang
Copy link
Contributor

Added cache for incremental build.

@netlify
Copy link

netlify bot commented Oct 12, 2020

Deploy preview for pytorch-tutorials-preview ready!

Built with commit 17fb8da

https://deploy-preview-1184--pytorch-tutorials-preview.netlify.app

@v-jizhang
Copy link
Contributor Author

Fix for #1108

@brianjo brianjo requested review from seemethere and yf225 October 12, 2020 21:35
Copy link
Member

@seemethere seemethere left a 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.

@v-jizhang
Copy link
Contributor Author

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.

@facebook-github-bot
Copy link
Contributor

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!

@brianjo brianjo requested a review from ranman November 18, 2020 17:33
@brianjo
Copy link
Contributor

brianjo commented Nov 18, 2020

I'm thinking about merging this if we pass tests. Could reviewers chime in on it?

Base automatically changed from master to main February 16, 2021 19:33
Base automatically changed from main to master February 16, 2021 19:37
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@holly1238 holly1238 merged commit 03341a2 into pytorch:master Apr 26, 2021
brianjo added a commit that referenced this pull request Jun 10, 2021
brianjo added a commit that referenced this pull request Jun 10, 2021
rodrigo-techera pushed a commit to Experience-Monks/tutorials that referenced this pull request Nov 29, 2021
* 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]>
rodrigo-techera pushed a commit to Experience-Monks/tutorials that referenced this pull request Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants