---
id: pr-vllm-17193
repo: vllm-project/vllm
pr: 17193
title: '[V1] Remove num_input_tokens from attn_metadata'
author: heheda12345
date: '2025-04-29'
url: https://github.com/vllm-project/vllm/pull/17193
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 24e6ad3f16d59005cdfc4de6c7bdeb4359b5d21c
inclusion_reason: defer
changed_paths:
- 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/worker/gpu_model_runner.py
- vllm/v1/worker/tpu_model_runner.py
artifact_dir: evidence/pull-bundles/vllm/gh-17193
head_ref_oid: d17daf5cc623e405ddddf12dd1f1656d1cc009eb
---
# [V1] Remove num_input_tokens from attn_metadata

- Repository: `vllm-project/vllm`
- PR: [17193](https://github.com/vllm-project/vllm/pull/17193)
- Decision: `defer`
- Reason: defer

## Changed Paths

- `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/worker/gpu_model_runner.py`
- `vllm/v1/worker/tpu_model_runner.py`

## Evidence Bundle

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