-
Notifications
You must be signed in to change notification settings - Fork 758
Update ScalarToTensorPass to correctly track the modified bit #16231
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
…fied bits (pytorch#16228) Summary: Update - SinkOpsCloserToUsePass - HoistOpsCloserToDefPass - PostponePermuteOpBelowSqueezeOrUnsqueezeLikeView - SimplifySliceOpPass - BindOptionalArgsPass - ReplaceConstantPadWithTuringExtendPass to either use new pass interface (which is more efficient/correctly sets modified bit) or just correctly set modified bit if doesn't fit the interface well. Differential Revision: D87898571
…seChainPass, and ScalarToTensorPass to correctly set modified bit (pytorch#16230) Summary: Update - AdvanceQuantizeOpAboveDefChainPass - PostponeDequantizeOpBelowUseChainPass to correctly track modified bit and updated tests to check for numerical correctness. Differential Revision: D87900822
Summary: Update ScalarToTensorPass to correctly track the modified bit, only run export pass if there are changes to the graph. Differential Revision: D89085647
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/16231
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 2 New Failures, 1 Cancelled Job, 4 Unrelated FailuresAs of commit 2317f5b with merge base c493e2d ( NEW FAILURES - The following jobs have failed:
CANCELLED JOB - The following job was cancelled. Please retry:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
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
|
|
|
||
| if changed: | ||
| graph_module.recompile() | ||
| return super().call(graph_module) |
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.
Why bother calling super anymore? Wont this just walk the graph doing a bunch of nothing?
Summary: Update ScalarToTensorPass to correctly track the modified bit, only run export pass if there are changes to the graph.
Differential Revision: D89085647