-
Notifications
You must be signed in to change notification settings - Fork 607
Qualcomm AI Engine Direct - Refine max spill fill buffer setting #5925
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 - Refine max spill fill buffer setting #5925
Conversation
shewu-quic
commented
Oct 7, 2024
- Get required spillFillBufferSize from context binary and set to compiler_spec
- Quantize embedding op in qnn.
- If enable multi-contexts, maxSpillFillBuffer could not set to zero.
- Get required spillFillBufferSize from context binary and set to compiler_spec - Quantize embedding op in qnn. - If enable multi-contexts, maxSpillFillBuffer could not set to zero.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/5925
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit b974e0a with merge base c06a708 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Hi @cccclai, |
@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Hey can you apply this patch to the PR? There are some lint failures.
|
Summary: Copy of pytorch#5925 and address the constructor/destructor issues Differential Revision: D64055108
public: | ||
HtpBackendCache(const QnnExecuTorchContextBinary& qnn_context_blob) | ||
: QnnBackendCache(qnn_context_blob), spill_fill_buf_(0) {} | ||
~HtpBackendCache() {} |
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.
Do you expect HtpBackendCache do nothing?
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.
Yes, I believe it doesn’t need to do anything further.
#5989 is merged and your name will be the author for this commit. |