diff --git a/python/tvm/relay/frontend/pytorch.py b/python/tvm/relay/frontend/pytorch.py index d95a9122ad59..967b10894f15 100644 --- a/python/tvm/relay/frontend/pytorch.py +++ b/python/tvm/relay/frontend/pytorch.py @@ -1609,6 +1609,7 @@ def _wrap_const(c): def _get_convert_map(prelude): convert_map = { "aten::device" : _none(), + "prim::device" : _none(), "aten::sub" : _elemwise("subtract"), "aten::sub_" : _elemwise("subtract"), "aten::max" : _elemwise("maximum"),