Skip to content

No such operator torchvision::nms #1405

Closed
@soldierofhell

Description

@soldierofhell

Hi,

I'm get an error when I try to use new torch.ops, e.g.

import torch
torch.ops.torchvision.nms

results in

/usr/local/lib/python3.6/dist-packages/torch/_ops.py in __getattr__(self, op_name)
---> 61         op = torch._C._jit_get_operation(qualified_op_name)

RuntimeError: No such operator torchvision::nms`

No matter if I use nightly build or master clone, e.g.
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html

How to debug setup.py to track where comilation/loading fails?

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