-
Notifications
You must be signed in to change notification settings - Fork 688
Qualcomm AI Engine Direct - Fix aihub path failing due to memory planning pass #5482
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
Qualcomm AI Engine Direct - Fix aihub path failing due to memory planning pass #5482
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/5482
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit c2564e8 with merge base 5a984cc ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Hi @cccclai, |
Hi @cccclai, I wanted to follow up on this PR, which all QAIHub scripts will fail in current mainline. Thanks for your time! |
@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Hi sorry was in the conference for the past few days. Any chance we know why it's failing? When does it start to fail? |
for pte_name in pte_names: | ||
print(f"{pte_name} generating...") | ||
memory_planning_pass = MemoryPlanningPass( | ||
memory_planning_algo="greedy", |
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.
The default algo is greedy and I'm not sure how this line will fix the issue. Could you elaborate a bit more?
@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Actually nvm, just saw #4727 |
All good and thanks a lot for reviewing. |
hey mind rebasing the PR? Somehow the tests are not running |
291abd1
to
c2564e8
Compare
Just rebased to the mainline. |
@pytorchbot cherry-pick --onto release/0.4 -c regression |
Cherry picking #5482The cherry pick PR is at #5748 and it is recommended to link a regression cherry pick PR with an issue. The following tracker issues are updated: Details for Dev Infra teamRaised by workflow job |
…ning pass (#5748) Qualcomm AI Engine Direct - Fix aihub path failing due to memory planning pass (#5482) Summary: Update MemoryPlanningPass to use default greedy algo. Pull Request resolved: #5482 Reviewed By: kirklandsign Differential Revision: D63270305 Pulled By: cccclai fbshipit-source-id: 7fb03365e3cadb53e4879feb7f105aadc9e9497c (cherry picked from commit 90dcea5) Co-authored-by: winskuo-quic <[email protected]>
Summary
Update MemoryPlanningPass to use default greedy algo.