Pytorch to .onnx gives different outputs

during inference the outputs are different.
pytorch version 1.4
onnx version 1.7
python 3.7.9

P.S. inputs are the same