optimizer icon indicating copy to clipboard operation
optimizer copied to clipboard

Pass "rewrite_input_dtype" gives an error on GPT-2.

Open researcher-no-name opened this issue 7 months ago • 0 comments
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.

researcher-no-name avatar Mar 18 '25 13:03 researcher-no-name