RuntimeError: Exporting the operator grid_sampler to ONNX opset version 12 is not supported

Hi Pytorch team,

I am trying to convert the Pytorch model to the ONNX model. But whie exporting I am facing an error as: RuntimeError: Exporting the operator grid_sampler to ONNX opset version 12 is not supported.

May I know how to resolve this issue?

Thanks and Regards,
Darshan C G

The issue is tracked here and doesn’t seem to be resolved yet.
Would you be interested in submitting a fix for it?

Yes, @ptrblck I am interested to submit a fix for it.
May I know the procedure for it?

Regards,
Darshan

Great! You can find general information about contributing to PyTorch here. I think the CONTRIBUTING docs are also really useful, as you can find best practices there.

Since you are interested in this particular PR, I would recommend to post your interest in the linked issue and follow up with the code owner. :slight_smile: