From 27ca95b3c9e6e32ac02508e729c01865800fd036 Mon Sep 17 00:00:00 2001 From: Netanel Haber <58652339+netanel-haber@users.noreply.github.com> Date: Wed, 21 Jan 2026 08:28:21 +0200 Subject: [PATCH] [Bugfix] Fix Nemotron-Nano-v2-vlm static resolution (#32682) Signed-off-by: Netanel Haber <58652339+netanel-haber@users.noreply.github.com> --- vllm/model_executor/models/nano_nemotron_vl.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vllm/model_executor/models/nano_nemotron_vl.py b/vllm/model_executor/models/nano_nemotron_vl.py index c9f51db27f..82f3f13621 100644 --- a/vllm/model_executor/models/nano_nemotron_vl.py +++ b/vllm/model_executor/models/nano_nemotron_vl.py @@ -1678,7 +1678,9 @@ class NemotronH_Nano_VL_V2( pixel_values_flat=pixel_values_flat, **kwargs ) else: - return NanoNemotronVLImagePixelInputs(**kwargs) + return NanoNemotronVLImagePixelInputs( + num_patches=kwargs.pop("image_num_patches"), **kwargs + ) def _process_image_input_dynamic( self, image_input: NanoNemotronVLImagePixelInputsDynamic