pytorch / executorch

On-device AI across mobile, embedded and edge for PyTorch
https://pytorch.org/executorch/
Other
2.2k stars 368 forks source link

[ET-VK] Only save_cache the first time #6966

Closed jorgep31415 closed 1 day ago

jorgep31415 commented 2 days ago

Stack from ghstack (oldest at bottom):

Add a check in save_cache to return early if the cache file already exists. Currently we append the same cache data to that file which makes no difference to model-load time.

Differential Revision: D66179919

pytorch-bot[bot] commented 2 days ago

:link: Helpful Links

:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/6966

Note: Links to docs will display an error until the docs builds have been completed.

:heavy_exclamation_mark: 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

:white_check_mark: No Failures

As of commit 47b19329213b3a802148bc01b1fc409e4b94124a with merge base 711f1c23d32acd798dabf0028b31e8fcb2c2487f (image): :green_heart: Looks good so far! There are no failures yet. :green_heart:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

facebook-github-bot commented 2 days ago

This pull request was exported from Phabricator. Differential Revision: D66179919

facebook-github-bot commented 2 days ago

This pull request was exported from Phabricator. Differential Revision: D66179919

facebook-github-bot commented 2 days ago

This pull request was exported from Phabricator. Differential Revision: D66179919

facebook-github-bot commented 1 day ago

This pull request was exported from Phabricator. Differential Revision: D66179919

facebook-github-bot commented 1 day ago

This pull request was exported from Phabricator. Differential Revision: D66179919

facebook-github-bot commented 1 day ago

This pull request was exported from Phabricator. Differential Revision: D66179919

facebook-github-bot commented 1 day ago

This pull request was exported from Phabricator. Differential Revision: D66179919