[GLM 5.3 Perf] Enable fused multi-step decode, 13.3% E2E throughput improvement for concurrency 1 (#57443)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
Wentao Ye
2026-10-02 20:05:27 -04:00
committed by GitHub
parent 6e517b15c1
commit 8bdd8d847d
7 changed files with 149 additions and 0 deletions
@@ -130,6 +130,10 @@ class FlashAttnMLASparseMetadataBuilder(
)
threshold = {16: 128, 32: 128, 64: 256, 128: 256}.get(num_q_heads, 256)
self._init_reorder_batch_threshold(threshold, supports_spec_as_decode=True)
self.supports_draft_decode_metadata_update = self.dcp_world_size == 1
def update_draft_decode_metadata(self, _metadata: SparseMLACommonMetadata) -> None:
pass
class FlashAttnMLASparseImpl(SparseMLACommonImpl[FlashAttnMLASparseMetadata]):