[Kernel][Perf] Add fused CUDA post-conv MTP decode kernel for Qwen3.5 GDN (#51674)

Signed-off-by: Jie Fang <jief@nvidia.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Jie Fang
2026-08-14 11:44:45 +08:00
committed by GitHub
co-authored by OpenAI Codex Claude Fable 5
parent d18bb7b390
commit 1be3628367
12 changed files with 1456 additions and 7 deletions
+15
View File
@@ -251,6 +251,21 @@ class TestEnvWithChoices:
env_func()
def test_gdn_decode_kernel_env(monkeypatch: pytest.MonkeyPatch):
env_func = environment_variables["VLLM_GDN_DECODE_KERNEL"]
monkeypatch.delenv("VLLM_GDN_DECODE_KERNEL", raising=False)
assert env_func() == "cuda"
for value in ("cuda", "triton"):
monkeypatch.setenv("VLLM_GDN_DECODE_KERNEL", value)
assert env_func() == value
for value in ("fused", "invalid"):
monkeypatch.setenv("VLLM_GDN_DECODE_KERNEL", value)
with pytest.raises(ValueError, match="VLLM_GDN_DECODE_KERNEL"):
env_func()
class TestEnvListWithChoices:
"""Test cases for env_list_with_choices function."""