ensure qparams match for slices - #21949
Conversation
Summary: Currently, a quantized slice fails at runtime if its input qparams differ from the output. Here, we add a check to the partitioner to ensure they match, otherwise we fall back portable ops. This quickly addresses: pytorch#21829 while a better, annotator-based fix is implemented. Differential Revision: D116618462
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21949
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New Failures, 1 Unrelated FailureAs of commit b454b04 with merge base d827cf7 ( NEW FAILURES - The following jobs have failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating Diff in D116618462. |
This PR needs a
|
Summary:
Currently, a quantized slice fails at runtime if its input qparams differ from the output.
Here, we add a check to the partitioner to ensure they match, otherwise we fall back portable ops.
This quickly addresses:
#21829
while a better, annotator-based fix is implemented.
Differential Revision: D116618462