---
id: pr-vllm-17394
repo: vllm-project/vllm
pr: 17394
title: '[v1] AttentionMetadata for each layer'
author: heheda12345
date: '2025-05-06'
url: https://github.com/vllm-project/vllm/pull/17394
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- decode
- mla
techniques: []
hardware_features: []
kernel_types:
- attention
- decode
- mla
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: cba31c47c4810e91cdf262520f02ccb9eeca3429
inclusion_reason: kernel file changes
changed_paths:
- vllm/attention/layer.py
- vllm/forward_context.py
- vllm/v1/attention/backends/flash_attn.py
- vllm/v1/attention/backends/flashinfer.py
- vllm/v1/attention/backends/mla/common.py
- vllm/v1/attention/backends/utils.py
- vllm/v1/spec_decode/eagle.py
- vllm/v1/worker/gpu_model_runner.py
- vllm/v1/worker/tpu_model_runner.py
head_ref_oid: 77d86dd096878fbaa834ab5411720b0e1b160da9
artifact_dir: evidence/pull-bundles/vllm/gh-17394
---
# [v1] AttentionMetadata for each layer

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

## Changed Paths

- `vllm/attention/layer.py`
- `vllm/forward_context.py`
- `vllm/v1/attention/backends/flash_attn.py`
- `vllm/v1/attention/backends/flashinfer.py`
- `vllm/v1/attention/backends/mla/common.py`
- `vllm/v1/attention/backends/utils.py`
- `vllm/v1/spec_decode/eagle.py`
- `vllm/v1/worker/gpu_model_runner.py`
- `vllm/v1/worker/tpu_model_runner.py`

## Evidence Bundle

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