#9337·vision

Make "RuntimeError: operator torchvision::nms does not exist" error better

Author: zou3519Created Jan 7, 2026Updated Sep 5, 2026

I'm putting this issue in PyTorch repo because I'm not sure where the fix actually goes. If some shared library is missing, and torchvision._C fails to import, then I get the above error. Can we do something about this to make the error message clearer?

cc @atalman @NicolasHug