Skip to content

Commit

Permalink
fixed deberta, onnxruntime tests in series passing
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Oct 23, 2024
1 parent 0096598 commit 9435122
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 @@ -155,7 +155,7 @@ class SplinterOnnxConfig(BertOnnxConfig):


class DistilBertOnnxConfig(BertOnnxConfig):
DEFAULT_ONNX_OPSET = 11
DEFAULT_ONNX_OPSET = 14 # now uses F.scaled_dot_product_attention by default for transformers>=4.46.0

@property
def inputs(self) -> Dict[str, Dict[int, str]]:
Expand Down

0 comments on commit 9435122

Please sign in to comment.