Skip to content

Commit 709fff4

Browse files
Remove commented code
1 parent 41f0c75 commit 709fff4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

optimum/exporters/onnx/model_configs.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -517,15 +517,6 @@ class Gemma3OnnxConfig(LlamaOnnxConfig):
517517
NORMALIZED_CONFIG_CLASS = NormalizedConfigManager.get_normalized_config_class("gemma3")
518518
MIN_TRANSFORMERS_VERSION = version.parse("4.52.0.dev0")
519519

520-
# TODO: check if we need this
521-
# @property
522-
# def inputs(self) -> dict[str, dict[int, str]]:
523-
# return {
524-
# "input_ids": {0: "batch_size", 1: "sequence_length"},
525-
# "attention_mask": {0: "batch_size", 1: "sequence_length"},
526-
# "pixel_values": {0: "batch_size", 1: "num_channels", 2: "image_size", 3: "image_size"},
527-
# }
528-
529520

530521
@register_tasks_manager_onnx("nemotron", *COMMON_TEXT_GENERATION_TASKS)
531522
class NemotronOnnxConfig(GemmaOnnxConfig):

0 commit comments

Comments
 (0)