---
id: pr-vllm-31465
repo: vllm-project/vllm
pr: 31465
title: fixed mypy warnings for files vllm/v1/attention with TEMPORARY workaround
author: MrIceCreamMan
date: '2026-01-07'
url: https://github.com/vllm-project/vllm/pull/31465
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- mla
techniques: []
hardware_features: []
kernel_types:
- attention
- mla
languages:
- triton
captured_at: '2026-04-27'
status: merged
merge_sha: 0a2c2dc3f14620de291e67d6d26fca72b09f5617
inclusion_reason: kernel file changes
changed_paths:
- tools/pre_commit/mypy.py
- vllm/attention/backends/abstract.py
- vllm/model_executor/layers/attention_layer_base.py
- vllm/v1/attention/backends/flash_attn.py
- vllm/v1/attention/backends/flash_attn_diffkv.py
- vllm/v1/attention/backends/flashinfer.py
- vllm/v1/attention/backends/flex_attention.py
- vllm/v1/attention/backends/gdn_attn.py
- vllm/v1/attention/backends/mamba2_attn.py
- vllm/v1/attention/backends/mamba_attn.py
- vllm/v1/attention/backends/mla/aiter_triton_mla.py
- vllm/v1/attention/backends/mla/common.py
- vllm/v1/attention/backends/mla/flashattn_mla.py
- vllm/v1/attention/backends/mla/flashmla_sparse.py
- vllm/v1/attention/backends/mla/rocm_aiter_mla.py
- vllm/v1/attention/backends/mla/rocm_aiter_mla_sparse.py
- vllm/v1/attention/backends/tree_attn.py
- vllm/v1/attention/backends/utils.py
head_ref_oid: 23c55740088a9c5aaf2e5a0d1e434f6f343234ad
artifact_dir: evidence/pull-bundles/vllm/gh-31465
---
# fixed mypy warnings for files vllm/v1/attention with TEMPORARY workaround

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

## Changed Paths

- `tools/pre_commit/mypy.py`
- `vllm/attention/backends/abstract.py`
- `vllm/model_executor/layers/attention_layer_base.py`
- `vllm/v1/attention/backends/flash_attn.py`
- `vllm/v1/attention/backends/flash_attn_diffkv.py`
- `vllm/v1/attention/backends/flashinfer.py`
- `vllm/v1/attention/backends/flex_attention.py`
- `vllm/v1/attention/backends/gdn_attn.py`
- `vllm/v1/attention/backends/mamba2_attn.py`
- `vllm/v1/attention/backends/mamba_attn.py`
- `vllm/v1/attention/backends/mla/aiter_triton_mla.py`
- `vllm/v1/attention/backends/mla/common.py`
- `vllm/v1/attention/backends/mla/flashattn_mla.py`
- `vllm/v1/attention/backends/mla/flashmla_sparse.py`
- `vllm/v1/attention/backends/mla/rocm_aiter_mla.py`
- `vllm/v1/attention/backends/mla/rocm_aiter_mla_sparse.py`
- `vllm/v1/attention/backends/tree_attn.py`
- `vllm/v1/attention/backends/utils.py`

## Evidence Bundle

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