---
id: pr-vllm-39353
repo: vllm-project/vllm
pr: 39353
title: '[Model Runner V2] Fix flex attention kv blocks calculation issue'
author: yewentao256
date: '2026-04-09'
url: https://github.com/vllm-project/vllm/pull/39353
source_category: upstream-code
architectures:
- sm100
tags:
- attention
techniques: []
hardware_features: []
kernel_types:
- attention
languages:
- python
captured_at: '2026-04-17'
status: merged
merge_sha: 56e19d7ee20635f87e04089bfaa2f54d52db65e9
inclusion_reason: kernel file changes
changed_paths:
- vllm/v1/attention/backends/flex_attention.py
head_ref_oid: c51055ea529fc879b81467c65630036ba884b26a
artifact_dir: evidence/pull-bundles/vllm/gh-39353
---
# [Model Runner V2] Fix flex attention kv blocks calculation issue

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

## Changed Paths

- `vllm/v1/attention/backends/flex_attention.py`

## Evidence Bundle

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