optimizer
optimizer copied to clipboard
Pass "rewrite_input_dtype" gives an error on GPT-2.
trafficstars
I recently used GPT-2, with opset=10 from ONNX Hub.
While applying the rewrite_input_dtype pass, I encountered the C.check_model_path(\nonnx.onnx_cpp2py_export.checker.ValidationError: Graph must be in single static assignment (SSA) form, however \\'2907\\' has been used as output names multiple times.\n error.
This did happen with other classification or object detection models, and I tried the vast majority of the ones from the ONNX Hub.