Delete the OpenCV bindings. If you still have an issue with pytorch this is a pytorch not OpenCV issue.