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/09 17:36:49 UTC

[GitHub] [incubator-tvm] taeheej opened a new issue #6028: very slow runtime for keras compiler on CPU

taeheej opened a new issue #6028:
URL: https://github.com/apache/incubator-tvm/issues/6028


   Thanks for participating in the TVM community! We use https://discuss.tvm.ai for any general usage questions and discussions. The issue tracker is used for actionable items such as feature proposals discussion, roadmaps, and bug tracking.  You are always welcomed to post on the forum first :)
   
   Issues that are inactive for a period of time may get closed. We adopt this policy so that we won't lose track of actionable issues that may fall at the bottom of the pile. Feel free to reopen a new one if you feel there is an additional problem that needs attention when an old one gets closed.
   
   For bug reports, to help the developer act on the issues, please include a description of your environment, preferably a minimum script to reproduce the problem.
   
   For feature proposals, list clear, small actionable items so we can track the progress of the change.
   


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



[GitHub] [incubator-tvm] zhiics commented on issue #6028: very slow runtime for keras compiler on CPU

Posted by GitBox <gi...@apache.org>.
zhiics commented on issue #6028:
URL: https://github.com/apache/incubator-tvm/issues/6028#issuecomment-656265746


   Could you please open a thread in the discussion forum https://discuss.tvm.ai? We generally use the forum to such discussions. Thanks.


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



[GitHub] [incubator-tvm] taeheej commented on issue #6028: very slow runtime for keras compiler on CPU

Posted by GitBox <gi...@apache.org>.
taeheej commented on issue #6028:
URL: https://github.com/apache/incubator-tvm/issues/6028#issuecomment-656261043


   I am following 'Compile Keras Models' (https://tvm.apache.org/docs/tutorials/frontend/from_keras.html).
   Instead of gpu, I set up target as 'llvm' and ctx as cpu. 
   Then, I executed the following code. It takes about 12,000 millseconds. 
   The warning message is 'Cannot find config for 'dense_nopack.x86' and 'conv2d_NCHWc.x86'.
   Is there any solution to make better performance? 
   
   -------------------------------------------------
   target = 'llvm'
   ctx = tvm.cpu(0)
   with tvm.transform.PassContext(opt_level=3):
       executor = relay.build_module.create_executor('graph', mod, ctx, target)
   dtype = 'float32'
   tvm_out = executor.evaluate()(tvm.nd.array(data.astype(dtype)), **params)


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



[GitHub] [incubator-tvm] zhiics closed issue #6028: very slow runtime for keras compiler on CPU

Posted by GitBox <gi...@apache.org>.
zhiics closed issue #6028:
URL: https://github.com/apache/incubator-tvm/issues/6028


   


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