Skip to content

feat: add FlashQLA GDN prefill backend - #1408

Open
sufubao wants to merge 2 commits into
ModelTC:mainfrom
sufubao:support_flashqla
Open

feat: add FlashQLA GDN prefill backend#1408
sufubao wants to merge 2 commits into
ModelTC:mainfrom
sufubao:support_flashqla

Conversation

@sufubao

@sufubao sufubao commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

为 GDN chunked prefill 增加 --gdn_prefill_backend flashqla。FlashQLA 仅在 SM90+ 且可导入时启用;首次调用失败会回退到 FLA,成功后运行时异常保持上抛。

static harness 补齐 Qwen3.5 decode 所需的 b_position_delta

H200、Qwen3.5-0.8B、TP=1,prefill:

prompt / batch FLA FlashQLA
4K / 8 194.5k 234.4k
8K / 1 150.3k 191.7k
16K / 1 153.2k 200.9k

/nvme/sufubao/m39-home/venv/bin/python -m pytest -q unit_tests/common/basemodel/triton_kernel/test_gdn_prefill_backend.py:2 passed。

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant