Skip to content

Conversation

@shoumikhin
Copy link
Contributor

Summary: Once loaded Module does nothing next time, we need to recreate the Module again to truly load the method again.

Differential Revision: D63678792

Summary: Once loaded Module does nothing next time, we need to recreate the Module again to truly load the method again.

Differential Revision: D63678792
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 1, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/5781

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

❌ 3 New Failures

As of commit 7f35713 with merge base 8079eb7 (image):

NEW FAILURES - The following jobs have failed:

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

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 1, 2024
@facebook-github-bot
Copy link
Contributor

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

Copy link
Contributor

@cccclai cccclai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 04669a1.

@Hanxian97
Copy link

Thank you so much Anthony! With this updated test code I can run the Benchmark app for Llama model on my iPhone16 pro and get the correct model forwarding and loading time!

@shoumikhin
Copy link
Contributor Author

@pytorchbot cherry-pick --onto release/0.4 -c fixnewfeature

pytorchbot pushed a commit that referenced this pull request Oct 4, 2024
Summary:
Pull Request resolved: #5781

Once loaded Module does nothing next time, we need to recreate the Module again to truly load the method again.

Reviewed By: cccclai

Differential Revision: D63678792

fbshipit-source-id: 1e8d6a379215e20620b73c05ce7f734e1d0fc5ce
(cherry picked from commit 04669a1)
@pytorchbot
Copy link
Collaborator

Cherry picking #5781

The cherry pick PR is at #5889 and it is recommended to link a fixnewfeature cherry pick PR with an issue. The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

jackzhxng pushed a commit that referenced this pull request Oct 4, 2024
Fix load time. (#5781)

Summary:
Pull Request resolved: #5781

Once loaded Module does nothing next time, we need to recreate the Module again to truly load the method again.

Reviewed By: cccclai

Differential Revision: D63678792

fbshipit-source-id: 1e8d6a379215e20620b73c05ce7f734e1d0fc5ce
(cherry picked from commit 04669a1)

Co-authored-by: Anthony Shoumikhin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants