Error while converting hf model to onnx
Hi everyone,I’m converting a finetuned bert model from huggingface to onnx (following thispost).Transformers version: 4.10.2When I run this on a terminalpython -m transformers.onnx --model=/path/to/checkpoint output=/tmpI get this error;line 143, in validate_model_outputs
    from onnxruntime import InferenceSession, SessionOptions
ModuleNotFoundError: No module named 'onnxruntime’I tried installing onnxruntime-tools but I still get the same error.Any ideas?
2021-09-15T09:28:32Z
The package to install was onnxruntime
2021-09-20T19:26:33Z
Please refer toONNX Runtime | Homefor more information on installation. The package you’re looking for isonnxruntimeand can be installed using (for default CPU installation):pip install onnxruntimeif you’re interested in the onnxruntime for cuda hardware acceleration installation:pip install onnxruntime-gpu