4 ms·
As far as I know, the ONNX format won't give you a performance boost on its own. However, there are ONNX optimizers for the ONNX runtime which will speed up you
by V__ 5y ago
As far as I know, the ONNX format won't give you a performance boost on its own. However, there are ONNX optimizers for the ONNX runtime which will speed up your inference.
But if you are using Nvidia Hardware, then TensorRT should give you the best performance possible, especially if you change the precision level. Don't forget to simplify your ONNX model before you converting it to TensorRT though: https://github.com/daquexian/onnx-simplifier https://github.com/daquexian/onnx-simplifier
- sailingparrot 5y ago> However, there are ONNX optimizers for the ONNX runtime I think you meant that there are optimizers for the ONNX format. ONNX Runtime being one of them.
- V__ 5y agoYou are right, thanks. Mixed those up.