-
Notifications
You must be signed in to change notification settings - Fork 796
Support case when cache_len == 0 #16546
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
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/16546
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New Failures, 4 Unrelated FailuresAs of commit 407a47d with merge base 35eb01a ( NEW FAILURES - The following jobs have failed:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
Summary: There's a discrepancy in the SDPA impl when computing w/wo paddings as invalid cache, even it's masked out. For verification purposes, we need to test eager model without paddings to match results with QAT model. The change is to handle cases where `cache_len == 0`, preventing crashes in cache updates. Differential Revision: D90526985
e999cb0 to
dae7892
Compare
Summary: There's a discrepancy in the SDPA impl when computing w/wo paddings as invalid cache, even it's masked out. For verification purposes, we need to test eager model without paddings to match results with QAT model. The change is to handle cases where `cache_len == 0`, preventing crashes in cache updates. Differential Revision: D90526985
dae7892 to
407a47d
Compare
Summary: There's a discrepancy in the SDPA impl when computing w/wo paddings as invalid cache, even it's masked out. For verification purposes, we need to test eager model without paddings to match results with QAT model. The change is to handle cases where
cache_len == 0, preventing crashes in cache updates.Differential Revision: D90526985