I updated tvm code and rebuilt it. Now I’m getting another error
>>> mod, params = relay.frontend.from_pytorch(traced_net, shape_list)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/pivovaa/workspace/tvm/python/tvm/relay/frontend/pytorch.py", line 3194, in from_pytorch
ret = converter.convert_operators(_get_operator_nodes(graph.nodes()), outputs, ret_name)[0]
File "/Users/pivovaa/workspace/tvm/python/tvm/relay/frontend/pytorch.py", line 2615, in convert_operators
relay_out = relay_op(
File "/Users/pivovaa/workspace/tvm/python/tvm/relay/frontend/pytorch.py", line 403, in slice
if target_begin == 0 and target_end >= index_size_limit and stride == 1:
File "/Users/pivovaa/workspace/tvm/python/tvm/relay/expr.py", line 84, in __ge__
raise TypeError('convert "%s" with `const` first' % str(other))
TypeError: convert "9223372036854775807" with `const` first