Repository navigation
Remove legacy fusion heuristics. - #10579
MaheshRavishankar merged 4 commits into
Conversation
The advanced fusion heuristics added to dispatch region formation supercedes legacy heuristics added. Deprecate those heuristics to enable parts of the advanced heuristics by default. Fixes iree-org#9772
Abbreviated Linux Benchmark Summary@ commit 2a243eb22e94c08169d779920f08498599b3db9f (vs. base 954705072ef4d46971c5a73eb9d6b61a968a463a) No improved or regressed benchmarks 🏖️ Improved Compilation Times 🎉
[Top 3 out of 6 results showed] Improved Total Dispatch Sizes 🎉
For more information: |
…ior. Specifically only fuse producer with consumer if the consumer iteration space has the same rank as the producer.
| AffineMap outsOperandIndexingMap = linalgOp.getTiedIndexingMap(outsOperand); | ||
|
|
||
| if (outsOperandIndexingMap != insOperandIndexingMap) { | ||
| // if (!aggressiveFusion) return false; |
There was a problem hiding this comment.
Do we want to keep this check? It's to make sure that when aggressiveFusion is disabled, we won't generate stack buffer.
There was a problem hiding this comment.
we have a compile time check for large allocations. So whatever is within that limit
There was a problem hiding this comment.
Then I guess we can remove the argument aggressiveFusion from isInsOperandBufferizable?
| @@ -1,2 +1,4 @@ | |||
| # XFAIL: * | |||
| # Failing due to Issue #9802 | |||
There was a problem hiding this comment.
Should we add a check to not fuse dynamic shape right now to make the test pass?
There was a problem hiding this comment.
Its really a backend bug. There is an issue tracking it, just fixing it isnt high priority. Since the CPU side passes, i'd rather disable the vulkan test. When needed the SPIR-V side can be fixed.
Abbreviated Benchmark Summary@ commit 2a243eb22e94c08169d779920f08498599b3db9f (vs. base 954705072ef4d46971c5a73eb9d6b61a968a463a) Regressed Latencies 🚩
[Top 3 out of 10 results showed] No improved or regressed compilation metrics 🏖️ For more information: |
The advanced fusion heuristics added to dispatch region formation supercedes legacy heuristics added. Deprecate those heuristics to enable parts of the advanced heuristics by default. Fixes iree-org#9772
The advanced fusion heuristics added to dispatch region formation supercedes legacy heuristics added. Deprecate those heuristics to enable parts of the advanced heuristics by default.
Fixes #9772