Unverified Commit d8cf819a authored by Kyle Sayers's avatar Kyle Sayers Committed by GitHub
Browse files

[Core] [Bugfix] [Multimodal] Fix multimodal profiling and generation for SFT/PTQed models (#20058)


Signed-off-by: default avatarKyle Sayers <kylesayrs@gmail.com>
parent 551ef163
......@@ -1729,6 +1729,7 @@ def supports_kw(
last_param = params[next(reversed(params))] # type: ignore
return (last_param.kind == inspect.Parameter.VAR_KEYWORD
and last_param.name != kw_name)
return False
......@@ -1771,6 +1772,7 @@ def resolve_mm_processor_kwargs(
# Merge the final processor kwargs, prioritizing inference
# time values over the initialization time values.
mm_processor_kwargs = {**init_mm_kwargs, **runtime_mm_kwargs}
return mm_processor_kwargs
......
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