Skip to content

Commit 5a05f26

Browse files
authored
Fix issue of using only the part of video frame [Nemotron Nano] (vllm-project#26186)
Signed-off-by: Eugene Khvedchenia <[email protected]>
1 parent 7ef40bb commit 5a05f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/model_executor/models/nano_nemotron_vl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def video_to_pixel_values(
208208
)
209209
# dynamic_preprocess returns tensors already; take the single tile
210210
assert len(pil_frame) >= 1
211-
frames_tensors.append(pil_frame[0])
211+
frames_tensors.append(pil_frame[-1])
212212

213213
return torch.stack(frames_tensors)
214214

0 commit comments

Comments
 (0)