Add cortex_passes Buck target and fix quantizer dep#19511
Conversation
Summary: Add a new `cortex_passes` Python library target in `backends/cortex_m/passes` containing the CortexMPassManager and its constituent passes (activation fusion, convert-to-cortex-m, decompose hardswish/mean, quantized clamp activation, clamp hardswish). These were previously not in any Buck target, making CortexMQuantizer unusable from Buck builds. Differential Revision: D104841579
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/19511
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: ❌ 1 New Failure, 5 Unrelated FailuresAs of commit d030440 with merge base 84f39aa ( NEW FAILURE - The following job has failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
BROKEN TRUNK - The following jobs failed but was present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
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 D104841579. |
This PR needs a
|
Summary: Add a new
cortex_passesPython library target inbackends/cortex_m/passescontaining the CortexMPassManager and its constituent passes (activation fusion, convert-to-cortex-m, decompose hardswish/mean, quantized clamp activation, clamp hardswish). These were previously not in any Buck target, making CortexMQuantizer unusable from Buck builds.Differential Revision: D104841579