[CK_TILE] Improve RMS/Layer Normalization 2 Pass Pipeline Performance #1861
+77
−41
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Improve RMS Normalization Performance
Mainly forcus on tile shape
64 x 65536
.Note
Current setting may not be optimal for other tensor shapes especially for the cases that
m
is not64
.RepeatN
as 1 for vectorized-8 cases.64 x *
cases. Note that performance tests are based on aiter test https://github.com/ROCm/aiter/blob/main/op_tests/test_rmsnorm2d.py. Smoke tests in CK (https://github.com/ROCm/composable_kernel/tree/develop/example/ck_tile/10_rmsnorm2d/script) is only used for reference.