From 5a05f26603703e15b254f69dc9c8b30e52f453ea Mon Sep 17 00:00:00 2001 From: Eugene Khvedchenya Date: Sat, 4 Oct 2025 03:21:00 +0300 Subject: [PATCH] Fix issue of using only the part of video frame [Nemotron Nano] (#26186) Signed-off-by: Eugene Khvedchenia --- vllm/model_executor/models/nano_nemotron_vl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm/model_executor/models/nano_nemotron_vl.py b/vllm/model_executor/models/nano_nemotron_vl.py index 0578d766c5507..11b152fe79da9 100644 --- a/vllm/model_executor/models/nano_nemotron_vl.py +++ b/vllm/model_executor/models/nano_nemotron_vl.py @@ -208,7 +208,7 @@ def video_to_pixel_values( ) # dynamic_preprocess returns tensors already; take the single tile assert len(pil_frame) >= 1 - frames_tensors.append(pil_frame[0]) + frames_tensors.append(pil_frame[-1]) return torch.stack(frames_tensors)