Skip to content

Commit 0b52e3a

Browse files
authored
Add onnx export function for pix2struct model (#1815)
Add onnx export for pix2struct
1 parent 4936662 commit 0b52e3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

optimum/onnxruntime/utils.py

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ class ORTConfigManager:
132132
"vit": "vit",
133133
"whisper": "bart",
134134
"xlm-roberta": "bert",
135+
"pix2struct": "vit",
135136
}
136137

137138
@classmethod

0 commit comments

Comments
 (0)