Repository navigation
[ROCM][DT] Update ukernel data layout - #22350
Conversation
Signed-off-by: Yu-Zhewen <[email protected]>
kuhar
left a comment
There was a problem hiding this comment.
Can you explain why we are changing this (in the PR description)?
|
The linked Issue says it - this is fallout from #22284. Sorry that I somehow missed that. Does that mean that this ukernel was not covered by any e2e test? |
bjacob
left a comment
There was a problem hiding this comment.
LGTM, but can you add a e2e test that covers that? Should be a simple entry in tests/e2e/matmul/CMakeLists.txt. I'm available to help if needed.
My point is that the PR description should provide a summary instead of introducing 2 layers of indirection |
Thanks, done. |
We already have e2e tests for these ukernels, iree/tests/e2e/matmul/CMakeLists.txt Line 1502 in 59ce62f iree/tests/e2e/matmul/CMakeLists.txt Line 1532 in 59ce62f iree/tests/e2e/matmul/CMakeLists.txt Line 1679 in 59ce62f The issue though, is we don't know if ukernels are actually matched/used or not, unless we check performance? |
|
So maybe these e2e tests are meant to cover these ukernels but actually don't? Otherwise, how could the regression creep in? |
Sounds like a problem indeed. If you can confirm that that was the issue, we could try to conceive a way to guarantee ukernel selection. Could be a test-only flag to require ukernel matching. |
Signed-off-by: Yu-Zhewen <[email protected]>
Add a test-only flag sounds good. I will implement it in a separate PR. |
iree-org#22284 changes the data tiling layout by removing `moveCrossThreadOutermost`. This PR updates ukernel accordingly to ensure correct matching. Numerical correctness and performance have been verified locally on llama 8b prefill. Closes: iree-org#22349 --------- Signed-off-by: Yu-Zhewen <[email protected]> Signed-off-by: Philipp <[email protected]>
#22284 changes the data tiling layout by removing `moveCrossThreadOutermost`. This PR updates ukernel accordingly to ensure correct matching. Numerical correctness and performance have been verified locally on llama 8b prefill. Closes: #22349 --------- Signed-off-by: Yu-Zhewen <[email protected]>
#22284 changes the data tiling layout by removing `moveCrossThreadOutermost`. This PR updates ukernel accordingly to ensure correct matching. Numerical correctness and performance have been verified locally on llama 8b prefill. Closes: #22349 --------- Signed-off-by: Yu-Zhewen <[email protected]>
iree-org#22284 changes the data tiling layout by removing `moveCrossThreadOutermost`. This PR updates ukernel accordingly to ensure correct matching. Numerical correctness and performance have been verified locally on llama 8b prefill. Closes: iree-org#22349 --------- Signed-off-by: Yu-Zhewen <[email protected]>
#22284 changes the data tiling layout by removing
moveCrossThreadOutermost. This PR updates ukernel accordingly to ensure correct matching.Numerical correctness and performance have been verified locally on llama 8b prefill.
Closes: #22349