Menooker commented on pull request #5357:
URL: https://github.com/apache/incubator-tvm/pull/5357#issuecomment-621165175


   @icemelon9
   
   If you unchenge these, you will get
   
   ```
     File "/home/menooker/work/mobilenet/tvm/python/tvm/relay/op/nn/_nn.py", 
line 97, in alter_op_layout_conv2d
       return topi.nn.conv2d_alter_layout(attrs, inputs, tinfos, out_type)
     File 
"</home/menooker/anaconda3/envs/mobilenet/lib/python3.6/site-packages/decorator.py:decorator-gen-35>",
 line 2, in conv2d_alter_layout
     File 
"/home/menooker/work/mobilenet/tvm/python/tvm/target/generic_func.py", line 
267, in dispatch_func
       return dispatch_dict[k](*args, **kwargs)
     File 
"/home/menooker/work/mobilenet/tvm/topi/python/topi/x86/conv2d_alter_op.py", 
line 43, in _alter_conv2d_layout
       relay.op.get("nn.conv2d"), attrs, tinfos, out_type, target)
     File 
"/home/menooker/work/mobilenet/tvm/python/tvm/relay/backend/compile_engine.py", 
line 183, in select_implementation
       all_impls = get_valid_implementations(op, attrs, inputs, out_type, 
target)
     File 
"/home/menooker/work/mobilenet/tvm/python/tvm/relay/backend/compile_engine.py", 
line 124, in get_valid_implementations
       strategy = fstrategy(attrs, inputs, out_type, target)
     File 
"/home/menooker/work/mobilenet/tvm/python/tvm/target/generic_func.py", line 45, 
in __call__
       return _ffi_api.GenericFuncCallFunc(self, *args)
     File 
"/home/menooker/work/mobilenet/tvm/python/tvm/_ffi/_ctypes/packed_func.py", 
line 213, in __call__
       raise get_last_ffi_error()
     [bt] (3) 
/home/menooker/work/mobilenet/tvm/build/libtvm.so(TVMFuncCall+0x52) 
[0x7f4a967f5272]
     [bt] (2) /home/menooker/work/mobilenet/tvm/build/libtvm.so(+0x7b19c8) 
[0x7f4a963779c8]
     [bt] (1) 
/home/menooker/work/mobilenet/tvm/build/libtvm.so(tvm::GenericFunc::CallPacked(tvm::runtime::TVMArgs,
 tvm::runtime::TVMRetValue*) const+0x1b6) [0x7f4a96377746]
     [bt] (0) /home/menooker/work/mobilenet/tvm/build/libtvm.so(+0xc2aa43) 
[0x7f4a967f0a43]
     File 
"/home/menooker/work/mobilenet/tvm/python/tvm/_ffi/_ctypes/packed_func.py", 
line 78, in cfun
       rv = local_pyfunc(*pyargs)
     File 
"/home/menooker/work/mobilenet/tvm/python/tvm/relay/op/strategy/x86.py", line 
108, in conv2d_strategy_cpu
       raise RuntimeError("Unsupported conv2d layout {} for x86".format(layout))
   RuntimeError: Unsupported conv2d layout NCHW1c for x86
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to