---
id: pr-vllm-23207
repo: vllm-project/vllm
pr: 23207
title: '[Misc][qwen2_5_vl][torch.compile] Enable `supports_torch_compile` on generic nn.Module and demonstrate speedup on Qwen Vision model'
author: Lucaskabela
date: '2025-10-28'
url: https://github.com/vllm-project/vllm/pull/23207
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: 94666612a938380cb643c1555ef9aa68b7ab1e53
inclusion_reason: kernel file changes
changed_paths:
- tests/compile/test_multimodal_compile.py
- vllm/attention/ops/vit_attn_wrappers.py
- vllm/compilation/decorators.py
- vllm/config/compilation.py
- vllm/model_executor/models/qwen2_5_omni_thinker.py
- vllm/model_executor/models/qwen2_5_vl.py
head_ref_oid: b035b090575bf9f4611c7b5a74a8dd9629014cf0
artifact_dir: evidence/pull-bundles/vllm/gh-23207
---
# [Misc][qwen2_5_vl][torch.compile] Enable `supports_torch_compile` on generic nn.Module and demonstrate speedup on Qwen Vision model

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

## Changed Paths

- `tests/compile/test_multimodal_compile.py`
- `vllm/attention/ops/vit_attn_wrappers.py`
- `vllm/compilation/decorators.py`
- `vllm/config/compilation.py`
- `vllm/model_executor/models/qwen2_5_omni_thinker.py`
- `vllm/model_executor/models/qwen2_5_vl.py`

## Evidence Bundle

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