Hello,
I swear I tried everything to match cuda+cudnn+onnx+trt+pytorch versions in order to build both onnx and trt plugins and be able to convert a maskrcnn model to trt, but no luck so far.
Docs are a bit contradictory in this respect, e.g. these pages:
https://mmdetection.readthedocs.io/en/latest/tutorials/pytorch2onnx.html
All models above are tested with Pytorch==1.6.0 and onnxruntime==1.5.1, except for CornerNet.
https://mmdetection.readthedocs.io/en/latest/tutorials/onnx2tensorrt.html
All models above are tested with Pytorch==1.6.0, onnx==1.7.0 and TensorRT-7.2.1.6.Ubuntu-16.04.x86_64-gnu.cuda-10.2.cudnn8.0 (this is likely onnxruntime 1.5.x).
https://mmcv.readthedocs.io/en/latest/deployment/onnxruntime_op.html
Please be noted that only onnxruntime>=1.8.1 of CPU version on Linux platform is tested by now.
For instance: onnxruntime 1.8.1 installed from pip assumes cuda 11.0, but for PyTorch 1.6.0 there is no cuda 11.0 build (PyTorch team introduced it only up from 1.7.0).
So far, I generally ended up with the infamous 'UNSUPPORTED_NODE: Assertion failed: axis >= 0 && axis < nbDims' error with pretty much anything I tried - like these guys: #5639 and #5108.
Please kindly let me know what combination works for sure with the latest 2.16.0 version. I have a guess, which I will try now :) I also promise I will make a docker image for the community that other folks don't pull their hair out.
CUDA version: ???
CuDNN version: ???
PyTorch version: ???
ONNX version: ???
ONNX runtime version: ???
TRT version: ???
Thanks a lot, Balint
Hello,
I swear I tried everything to match cuda+cudnn+onnx+trt+pytorch versions in order to build both onnx and trt plugins and be able to convert a maskrcnn model to trt, but no luck so far.
Docs are a bit contradictory in this respect, e.g. these pages:
For instance: onnxruntime 1.8.1 installed from pip assumes cuda 11.0, but for PyTorch 1.6.0 there is no cuda 11.0 build (PyTorch team introduced it only up from 1.7.0).
So far, I generally ended up with the infamous 'UNSUPPORTED_NODE: Assertion failed: axis >= 0 && axis < nbDims' error with pretty much anything I tried - like these guys: #5639 and #5108.
Please kindly let me know what combination works for sure with the latest 2.16.0 version. I have a guess, which I will try now :) I also promise I will make a docker image for the community that other folks don't pull their hair out.
CUDA version: ???
CuDNN version: ???
PyTorch version: ???
ONNX version: ???
ONNX runtime version: ???
TRT version: ???
Thanks a lot, Balint