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
**Context:** The compile time increased too much after the migration to
the one-shot bufferization pipeline. The bufferization
[documentation](https://mlir.llvm.org/docs/Bufferization/) recommends
running -eliminate-empty-tensors before running the one-shot
bufferization. However, eliminating empty-tensors takes half of the
already expensive compilation time for programs containing large
functions.
Without a clear benefit of running eliminate-empty-tensors and a clear
cost in compilation time for programs of interest, commenting out this
pass will drop compile times significantly in the programs of interest.
**Description of the Change:** Comment out the -eliminate-empty-tensor
pass from the frontend to avoid running it.
**Benefits:** Decreased compilation time.
**Possible Drawbacks:** Possible (unmeasured) increase in runtime memory
allocations.
**Related GitHub Issues:**
Part 1 of [sc-93707]
Co-authored-by: Joseph Lee <[email protected]>
0 commit comments