mikeseven commented on issue #6090:
URL: https://github.com/apache/incubator-tvm/issues/6090#issuecomment-662860171


   The script is simply test_pass_partition_graph.py is TVM tests. 
   Replacing `mod=WhiteListAnnotator(["add","substract","multiply"], 
"ccompiler")(mod)`
   with `mod=WhiteListAnnotator(["nn.conv2d"], "ccompiler")(mod)`
   
   Then simply calling `relay.build(mod, target, params)`
   
   Crash happens because it only knows about add, substract, multiply and 
nothing else. 
   ```
   File "../src/relay/backend/contrib/codegen_c/codegen.cc", line 124
   TVMError: Unrecognized op
   ```
   
   I was under the assumption that using ccompiler would reuse TVM for x86 on 
the subgraph, similar to what on_device() does.


----------------------------------------------------------------
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