Skip to content

Commit aba182f

Browse files
justinchubyCopilot
andcommitted
fix: use image_processor.json for all VLMs, not just Gemma4
Co-authored-by: Copilot <[email protected]> Signed-off-by: Justin Chu <[email protected]>
1 parent 66d7676 commit aba182f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎src/mobius/integrations/ort_genai/auto_export.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,15 +226,13 @@ def _write_vision_processor_config(
226226
],
227227
}
228228
}
229-
proc_filename = "image_processor.json"
230229
else:
231230
processor = {
232231
"image_size": getattr(vision, "image_size", None) or 448,
233232
"patch_size": getattr(vision, "patch_size", None) or 14,
234233
}
235-
proc_filename = "processor_config.json"
236234

237-
path = os.path.join(output_dir, proc_filename)
235+
path = os.path.join(output_dir, "image_processor.json")
238236
with open(path, "w", encoding="utf-8") as f:
239237
json.dump(processor, f, indent=4)
240238
return path

0 commit comments

Comments
 (0)