Skip to content

Improve error message when incompatible torchvision / PyTorch are used #2148

Closed
@fmassa

Description

@fmassa

A number of users report errors on the C++ operators when they update either PyTorch or torchvision, see for example #1916, with errors such as

RuntimeError: No such operator torchvision::nms

We should improve the error message and instead point out that their pytorch / torchvision versions are incompatible.
This will give a better user experience.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions