Skip to content

Commit

Permalink
fix opt
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Oct 24, 2024
1 parent c860ba9 commit 6191617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/exporters/onnx/model_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ class GPTNeoXOnnxConfig(TextDecoderWithPositionIdsOnnxConfig):

class OPTOnnxConfig(TextDecoderOnnxConfig):
# OPT does not require position_ids input.
DEFAULT_ONNX_OPSET = 13
DEFAULT_ONNX_OPSET = 14 # uses SDPA in Transformers, hence opset>=14.
NORMALIZED_CONFIG_CLASS = NormalizedTextConfig


Expand Down

0 comments on commit 6191617

Please sign in to comment.