We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4270237 commit 9ec1a9bCopy full SHA for 9ec1a9b
optimum/exporters/onnx/model_configs.py
@@ -502,7 +502,7 @@ class GemmaOnnxConfig(LlamaOnnxConfig):
502
class Gemma3OnnxConfig(LlamaOnnxConfig):
503
DUMMY_INPUT_GENERATOR_CLASSES = (DummyTextInputGenerator, GemmaDummyPastKeyValuesGenerator)
504
DUMMY_PKV_GENERATOR_CLASS = GemmaDummyPastKeyValuesGenerator
505
- NORMALIZED_CONFIG_CLASS = NormalizedTextConfig.with_args(vocab_size="text_config.vocab_size")
+ NORMALIZED_CONFIG_CLASS = NormalizedTextAndVisionConfig
506
MIN_TRANSFORMERS_VERSION = version.parse("4.52.0.dev0")
507
508
0 commit comments