Hi there,
I am trying to convert a BERT model to ONNX. However, I think there is some discrepancy in the ONNX conversion module. I ran the sample conversion presented here on the website: (optional) Exporting a Model from PyTorch to ONNX and Running it using ONNX Runtime — PyTorch Tutorials 1.10.1+cu102 documentation 4
I did not find the test to succeed and there is a significant numerical error between the PyTorch model and the ONNX version of the model generated by the conversion.
Python (3.8.10)
ONNX (1.10.2)
NumPy (1.21.2)
ONNXRuntime (1.10.0)