---
id: pr-sglang-18361
repo: sgl-project/sglang
pr: 18361
title: 'feat(gdn): add FlashInfer K-last SSM layout support for GDN prefill and decode for Hopper'
author: xutizhou
date: '2026-03-03'
url: https://github.com/sgl-project/sglang/pull/18361
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- attention
- decode
- prefill
techniques: []
hardware_features: []
kernel_types:
- attention
- decode
- prefill
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: c6377bbbca276c0e8f63d0d978c69ceb095aa10a
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/attention/linear/gdn_backend.py
- python/sglang/srt/layers/attention/linear/kernels/gdn_flashinfer.py
- python/sglang/srt/layers/attention/linear/utils.py
- python/sglang/srt/server_args.py
head_ref_oid: b0c9bd2eac2818487aa79f53b05a7aedf7719d4b
artifact_dir: evidence/pull-bundles/sglang/gh-18361
---
# feat(gdn): add FlashInfer K-last SSM layout support for GDN prefill and decode for Hopper

- Repository: `sgl-project/sglang`
- PR: [18361](https://github.com/sgl-project/sglang/pull/18361)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `python/sglang/srt/layers/attention/linear/gdn_backend.py`
- `python/sglang/srt/layers/attention/linear/kernels/gdn_flashinfer.py`
- `python/sglang/srt/layers/attention/linear/utils.py`
- `python/sglang/srt/server_args.py`

## Evidence Bundle

`evidence/pull-bundles/sglang/gh-18361`
