---
id: pr-vllm-23185
repo: vllm-project/vllm
pr: 23185
title: '[Attention] Optimize make_local_attention_virtual_batches for Flash Attention'
author: linzebing
date: '2025-08-20'
url: https://github.com/vllm-project/vllm/pull/23185
source_category: upstream-code
architectures:
- sm100
tags:
- attention
techniques: []
hardware_features: []
kernel_types:
- attention
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: a634733f67b39fd9c1da1a861ba39f75efb576f3
inclusion_reason: kernel file changes
changed_paths:
- vllm/v1/attention/backends/utils.py
head_ref_oid: 1447086a45e68984c0add21c593eb93a280bb0f1
artifact_dir: evidence/pull-bundles/vllm/gh-23185
---
# [Attention] Optimize make_local_attention_virtual_batches for Flash Attention

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

## Changed Paths

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

## Evidence Bundle

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