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 b870501 commit 4270237Copy full SHA for 4270237
optimum/exporters/onnx/model_configs.py
@@ -502,7 +502,8 @@ class GemmaOnnxConfig(LlamaOnnxConfig):
502
class Gemma3OnnxConfig(LlamaOnnxConfig):
503
DUMMY_INPUT_GENERATOR_CLASSES = (DummyTextInputGenerator, GemmaDummyPastKeyValuesGenerator)
504
DUMMY_PKV_GENERATOR_CLASS = GemmaDummyPastKeyValuesGenerator
505
- MIN_TRANSFORMERS_VERSION = version.parse("4.51.0")
+ NORMALIZED_CONFIG_CLASS = NormalizedTextConfig.with_args(vocab_size="text_config.vocab_size")
506
+ MIN_TRANSFORMERS_VERSION = version.parse("4.52.0.dev0")
507
508
509
@register_tasks_manager_onnx("granite", *COMMON_TEXT_GENERATION_TASKS)
0 commit comments