Why are you using float64 tensors?  Are you creating tensors from numpy arrays in the pytorch model that you export to onnx?  You should make sure the type of the numpy arrays are float32 and not the numpy default float64 or create the tensors with pytorch directly instead of numpy.