Skip to content

Commit dcdbae1

Browse files
Remove commented code
1 parent 0962594 commit dcdbae1

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
@@ -509,15 +509,6 @@ class Gemma3OnnxConfig(LlamaOnnxConfig):
509509
NORMALIZED_CONFIG_CLASS = NormalizedConfigManager.get_normalized_config_class("gemma3")
510510
MIN_TRANSFORMERS_VERSION = version.parse("4.52.0.dev0")
511511

512-
# TODO: check if we need this
513-
# @property
514-
# def inputs(self) -> dict[str, dict[int, str]]:
515-
# return {
516-
# "input_ids": {0: "batch_size", 1: "sequence_length"},
517-
# "attention_mask": {0: "batch_size", 1: "sequence_length"},
518-
# "pixel_values": {0: "batch_size", 1: "num_channels", 2: "image_size", 3: "image_size"},
519-
# }
520-
521512

522513
@register_tasks_manager_onnx("granite", *COMMON_TEXT_GENERATION_TASKS)
523514
class GraniteOnnxConfig(LlamaOnnxConfig):

0 commit comments

Comments
 (0)