From 35f6047c1a2df9bb26ebbefc2b4e64717010e0fe Mon Sep 17 00:00:00 2001 From: Jakub Byczkowski Date: Wed, 16 Sep 2026 10:54:02 +0200 Subject: [PATCH] [XPU][Bugfix] Fix Qwen2-Audio ValueError on audio clips longer than 30s (#56912) Signed-off-by: Jakub Byczkowski Signed-off-by: Kunshang Ji Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Kunshang Ji --- vllm/model_executor/models/qwen2_audio.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vllm/model_executor/models/qwen2_audio.py b/vllm/model_executor/models/qwen2_audio.py index 74341575e7..639db28847 100644 --- a/vllm/model_executor/models/qwen2_audio.py +++ b/vllm/model_executor/models/qwen2_audio.py @@ -253,6 +253,7 @@ class Qwen2AudioMultiModalProcessor(BaseMultiModalProcessor[Qwen2AudioProcessing hf_processor_mm_kwargs = dict( **hf_processor_mm_kwargs, sampling_rate=feature_extractor.sampling_rate, + truncation=True, ) return mm_data, hf_processor_mm_kwargs