feat(tilelang): Add End2End tilelang profile backend and example#241
Open
zihaomu wants to merge 7 commits into
Open
feat(tilelang): Add End2End tilelang profile backend and example#241zihaomu wants to merge 7 commits into
zihaomu wants to merge 7 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR is a follow-up to #215 and completes the TileLang profiling path in GEAK.
#215 adds the basic TileLang backend support, while this PR focuses on the missing TileLang-specific profiling workflow. With this change, GEAK can run TileLang workloads through an end-to-end correctness/profile/benchmark flow, collect profiling signals in ROCm environments, and use those signals to guide optimization.
This PR also adds a controlled TileLang GEMM optimization example. In our experiment, the TileLang GEMM example achieved about 1.5x speedup with GEAK.
What changed
rocprofprofiling support for TileLang workloads.examples/tilelang_gemmtask, including:Dependency
This PR should be reviewed and merged after #215.
#215 introduces the TileLang backend integration. This PR builds on top of that work by adding the complete TileLang profiling support and an end-to-end TileLang GEMM optimization example.
Validation
The new TileLang GEMM example supports:
cd examples/tilelang_gemm python test_tilelang_gemm_harness.py --correctness python test_tilelang_gemm_harness.py --full-benchmark --iterations 2 --warmup 1 Expect output: CORRECTNESS: PASS GEAK_RESULT_LATENCY_MS=...