You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arm backend: Skip irrelevant lowering passes (#20659)
Add custom should_run_pass() pre-scans for Arm passes whose full
ExportPass retracing path is only useful for specific graph patterns.
The pre-scan keeps existing transforms unchanged when a relevant node is
present, but returns an unmodified PassResult when the graph cannot be
affected by the pass.
This avoids rebuilding graphs for placeholder, rank, dtype, buffer,
layout, no-op, and decomposition passes that would otherwise scan the
whole graph in call() and make no changes.
| Model | Improvement |
|-------------|------------:|
| DeepLabV3 | +10.9% |
| Wav2Letter | +5.0% |
| InceptionV3 | +3.2% |
| MobileNetV2 | +12.8% |
| MobileNetV3 | +12.1% |
Signed-off-by: Sebastian Larsson <sebastian.larsson@arm.com>
0 commit comments