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 f03b0fe commit 94b2d60Copy full SHA for 94b2d60
optimum/exporters/openvino/convert.py
@@ -728,7 +728,6 @@ def export_from_model(
728
if hasattr(model.config, "forced_decoder_ids"):
729
model.config.forced_decoder_ids = None
730
if hasattr(model, "generation_config") and hasattr(model.generation_config, "forced_decoder_ids"):
731
- model.generation_config.input_ids = model.generation_config.forced_decoder_ids
732
model.generation_config.forced_decoder_ids = None
733
# Saving the model config and preprocessor as this is needed sometimes.
734
save_config(model.config, output)
0 commit comments