Skip to content

Commit

Permalink
opset=18
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-chung committed Oct 20, 2023
1 parent a05b4b1 commit 326884e
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 @@ -752,6 +752,7 @@ def outputs(self) -> Dict[str, Dict[int, str]]:


class OpenCLIPOnnxConfig(CLIPOnnxConfig):
DEFAULT_ONNX_OPSET = 18

@property
def inputs(self) -> Dict[str, Dict[int, str]]:
Expand All @@ -764,7 +765,6 @@ def inputs(self) -> Dict[str, Dict[int, str]]:
@property
def outputs(self) -> Dict[str, Dict[int, str]]:
return {
"logits_scale": {0: "image_batch_size"},
"text_features": {0: "text_batch_size"},
"image_features": {0: "image_batch_size"},
}
Expand Down

0 comments on commit 326884e

Please sign in to comment.