tvm.error.OpNotImplemented: Operator amp_multicast is not supported in frontend MXNet

I am fresh here… I followed the tutorials https://docs.tvm.ai/tutorials/frontend/from_mxnet.html and got the following error……

File /home/wuxilab/.tvm_test_data/data/street_small.jpg exists, skip.
/home/wuxilab/miniconda2/envs/retina/lib/python3.6/site-packages/mxnet/gluon/block.py:1389: UserWarning: Cannot decide type for the following arguments. Consider providing them as input:
	data: None
  input_sym_arg_type = in_param.infer_type()[0]
Traceback (most recent call last):

  File "test2.py", line 51, in <module>
    graph, lib, params = build(target)

  File "test2.py", line 33, in build
    mod, params = relay.frontend.from_mxnet(block, {"data": dshape})

  File "/home/wuxilab/dxx/tvm/python/tvm/relay/frontend/mxnet.py", line 2065, in from_mxnet
    func = _from_mxnet_impl(sym, shape, dtype, params, mod)

  File "/home/wuxilab/dxx/tvm/python/tvm/relay/frontend/mxnet.py", line 1978, in _from_mxnet_impl
    'Operator {} is not supported in frontend MXNet.'.format(op_name))

tvm.error.OpNotImplemented: Operator amp_multicast is not supported in frontend MXNet.

My environment:

mxnet 1.6 cu90

tvm 0.7.dev1

I think this is you are parsing an AMP (FP16/FP32) MXNet model. I doubt TVM doesn’t support it very well besides this op.

1 Like

I did not modify it… I used the tutorial code directly…

mxnet 1.4.0 , it works!!!

1 Like

thanks God! I have been working on this for days…