Skip to content

Commit 454d47b

Browse files
Update normalized config to grab from manager
1 parent 35a647f commit 454d47b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optimum/exporters/onnx/model_configs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ class GemmaOnnxConfig(LlamaOnnxConfig):
510510
class Gemma3OnnxConfig(LlamaOnnxConfig):
511511
DUMMY_INPUT_GENERATOR_CLASSES = (DummyTextInputGenerator, GemmaDummyPastKeyValuesGenerator)
512512
DUMMY_PKV_GENERATOR_CLASS = GemmaDummyPastKeyValuesGenerator
513-
NORMALIZED_CONFIG_CLASS = NormalizedTextAndVisionConfig
513+
NORMALIZED_CONFIG_CLASS = NormalizedConfigManager.get_normalized_config_class("gemma3")
514514
MIN_TRANSFORMERS_VERSION = version.parse("4.52.0.dev0")
515515

516516

0 commit comments

Comments
 (0)