[XPU][Bugfix] Fix Qwen2-Audio ValueError on audio clips longer than 30s (#56912)
Signed-off-by: Jakub Byczkowski <jakub.byczkowski@intel.com> Signed-off-by: Kunshang Ji <kunshang.ji@intel.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Kunshang Ji <kunshang.ji@intel.com>
Jakub Byczkowski committed
Sep 16, 2026 at 10:54 UTC
35f6047c1a2df9bb26ebbefc2b4e64717010e0fe
1 file changed
+1
vllm/model_executor/models/qwen2_audio.py
+1
@@ -253,6 +253,7 @@ class Qwen2AudioMultiModalProcessor(BaseMultiModalProcessor[Qwen2AudioProcessing
253
hf_processor_mm_kwargs = dict(
254
**hf_processor_mm_kwargs,
255
sampling_rate=feature_extractor.sampling_rate,
256
+ truncation=True,
257
)
258
259
return mm_data, hf_processor_mm_kwargs