You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/07/23 07:30:37 UTC

[GitHub] [incubator-tvm] mikeseven commented on issue #6090: [BUG] PartitionGraph and ccompiler too simplistic, too limited

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:
users@infra.apache.org