Repository navigation
[Triton/Gluon] spec decode support for gluon kda files - #6034
Conversation
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Speculative decode can access undersized convolution state and leave padded gfx950 outputs uninitialized.
Review effort: Balanced
Findings: 2
Open (4)
What changed in this PR
Adds optimized speculative decoding support to the Gluon KDA path for gfx950 and gfx1250.
Changes:
- Implements speculative convolution-window handling and resident state processing.
- Adds gfx950 tuning for fused multi-token workloads.
- Extends correctness tests across speculative token counts and configurations.
| File | Description |
|---|---|
aiter/ops/triton/attention/kda.py |
Dispatches architecture-specific configuration and enables speculative convolution state. |
aiter/ops/triton/_gluon_kernels/gfx950/attention/kda_decode.py |
Adds register-resident speculative decode execution. |
aiter/ops/triton/_gluon_kernels/gfx1250/attention/kda_decode.py |
Adds speculative convolution-window rolling. |
aiter/ops/triton/configs/gfx950/gluon/attention/kda_decode/DEFAULT.json |
Tunes multi-token and fused launches. |
op_tests/triton_tests/attention/test_kda.py |
Tests fused speculative decoding and state updates. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.


Motivation
Newer vllm recipes use spec decode when concurrency is low, enabling and optimizing my spec decode path to atleast beat tritons
Test Plan
Unit test, e2e accuracy, e2e results. Tested on both 1250 and 950
Test Result
UT pass
*accuracy is same as baseline
*measured on m01-21, runs were captured by doing 1 warmup run and then 3 runs averaged together for the results
1250 runtimes:
Submission Checklist