---
id: pr-vllm-22273
repo: vllm-project/vllm
pr: 22273
title: Support encoder_only attention for FlexAttention
author: maxdebayser
date: '2025-08-07'
url: https://github.com/vllm-project/vllm/pull/22273
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: f825c6bd22133a8b2242457069f59654a2ae401b
inclusion_reason: kernel file changes
changed_paths:
- tests/kernels/test_flex_attention.py
- vllm/v1/attention/backends/flex_attention.py
head_ref_oid: ed55cccc1733c44403f8d1baad30f0b04738b27f
artifact_dir: evidence/pull-bundles/vllm/gh-22273
---
# Support encoder_only attention for FlexAttention

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

## Changed Paths

- `tests/kernels/test_flex_attention.py`
- `vllm/v1/attention/backends/flex_attention.py`

## Evidence Bundle

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