Draft
Implementing bandwidth metrics for performance tests#2020
Conversation
Copilot created this pull request from a session on behalf of
a32543254
July 8, 2026 06:48
View session
for more information, see https://pre-commit.ci
Per feedback, the Triton dequant kernels must not be modified. This reverts the tiling changes to triton_utils/dequant.py and triton_utils_zp/dequant.py back to their original implementation. The XPU-path dequant performance work stays in the ARK moe prefill test helpers (contiguous stack+reshape unpack instead of strided scatter writes) plus the added dequant-bandwidth metric.
Add a dequant-only entry point (`moe_gemm_prefill_dequant`) that runs only the internal `[E,N,K_packed] -> [E,K,N]` weight-dequant stage of `moe_gemm_prefill` (the `dequant_to_KN` kernel) without the Grouped GEMM, so its throughput can be benchmarked in isolation. - C++: `moe_gemm_prefill_dequant` free fn in sycl_tla_moe_mixed.hpp - C++: wrapper + pybind registration in ark.cpp - Python: `moe_gemm_prefill_dequant` wrapper returning [E,K,N] weights - Test: `deq_bw` for INT4/INT8/INT2/FP8 rows now measures the interface's internal dequant instead of the PyTorch reference dequant; rename column to `deq BW GB/s` and document the new semantics.
Contributor
<style>
</style>
|
Signed-off-by: Dong, Bo1 <bo1.dong@intel.com>
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.
Pull request created by AI Agent