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 ae1bfce commit 1775f54Copy full SHA for 1775f54
optimum/exporters/onnx/model_configs.py
@@ -510,7 +510,8 @@ class GemmaOnnxConfig(LlamaOnnxConfig):
510
class Gemma3OnnxConfig(LlamaOnnxConfig):
511
DUMMY_INPUT_GENERATOR_CLASSES = (DummyTextInputGenerator, GemmaDummyPastKeyValuesGenerator)
512
DUMMY_PKV_GENERATOR_CLASS = GemmaDummyPastKeyValuesGenerator
513
- MIN_TRANSFORMERS_VERSION = version.parse("4.51.0")
+ NORMALIZED_CONFIG_CLASS = NormalizedTextConfig.with_args(vocab_size="text_config.vocab_size")
514
+ MIN_TRANSFORMERS_VERSION = version.parse("4.52.0.dev0")
515
516
517
@register_tasks_manager_onnx("nemotron", *COMMON_TEXT_GENERATION_TASKS)
0 commit comments