Unverified Commit 27ca95b3 authored by Netanel Haber's avatar Netanel Haber Committed by GitHub
Browse files

[Bugfix] Fix Nemotron-Nano-v2-vlm static resolution (#32682)


Signed-off-by: default avatarNetanel Haber <58652339+netanel-haber@users.noreply.github.com>
parent b4f64e5b
...@@ -1678,7 +1678,9 @@ class NemotronH_Nano_VL_V2( ...@@ -1678,7 +1678,9 @@ class NemotronH_Nano_VL_V2(
pixel_values_flat=pixel_values_flat, **kwargs pixel_values_flat=pixel_values_flat, **kwargs
) )
else: else:
return NanoNemotronVLImagePixelInputs(**kwargs) return NanoNemotronVLImagePixelInputs(
num_patches=kwargs.pop("image_num_patches"), **kwargs
)
def _process_image_input_dynamic( def _process_image_input_dynamic(
self, image_input: NanoNemotronVLImagePixelInputsDynamic self, image_input: NanoNemotronVLImagePixelInputsDynamic
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment