From c69bcb0f67c22574f7a381db2555c8348df01aa0 Mon Sep 17 00:00:00 2001 From: danni <11447317+dannigt@users.noreply.github.com> Date: Tue, 24 Mar 2026 12:20:02 +0100 Subject: [PATCH] Explicitly set qwen3_omni input processor to with truncation=False. Otherwise it truncates after 30s. --- baselines/models/mllm/qwen3_omni.py | 1 + 1 file changed, 1 insertion(+) diff --git a/baselines/models/mllm/qwen3_omni.py b/baselines/models/mllm/qwen3_omni.py index a5e0ec1..082656a 100644 --- a/baselines/models/mllm/qwen3_omni.py +++ b/baselines/models/mllm/qwen3_omni.py @@ -96,6 +96,7 @@ def generate(model_processor, prompt, example_path, modality): videos=videos, return_tensors="pt", padding=True, + truncation=False, use_audio_in_video=USE_AUDIO_IN_VIDEO, ) inputs = inputs.to(model.device).to(model.dtype)