---
id: pr-vllm-34871
repo: vllm-project/vllm
pr: 34871
title: '[Bugfix] Fix GDN attention crash with mixed decode/spec-decode batches'
author: haosdent
date: '2026-03-16'
url: https://github.com/vllm-project/vllm/pull/34871
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- decode
techniques: []
hardware_features: []
kernel_types:
- attention
- decode
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 116ed130f4d323cb0fb088490b52197683e875a8
inclusion_reason: kernel file changes
changed_paths:
- tests/v1/attention/test_gdn_metadata_builder.py
- vllm/v1/attention/backends/gdn_attn.py
head_ref_oid: e496752e9c1d651f88d55d2e3a02e8adcaf3729e
artifact_dir: evidence/pull-bundles/vllm/gh-34871
---
# [Bugfix] Fix GDN attention crash with mixed decode/spec-decode batches

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

## Changed Paths

- `tests/v1/attention/test_gdn_metadata_builder.py`
- `vllm/v1/attention/backends/gdn_attn.py`

## Evidence Bundle

`evidence/pull-bundles/vllm/gh-34871`
