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 2021/04/19 11:24:00 UTC

[GitHub] [tvm] leandron commented on issue #7881: [TVMC] AttributeError: module 'tvm.auto_scheduler._ffi_api' has no attribute 'RandomModel'

leandron commented on issue #7881:
URL: https://github.com/apache/tvm/issues/7881#issuecomment-822392365


   I couldn't reproduce the issue on my local TVM, current pointing at `1fb32b055171f7b82b506b0f8e3096db1acc180c`, the last commit as I write this. Can you point me to the specific git revision you're using?
   
   I have my TVM installed following the guidance on https://tvm.apache.org/docs/install/from_source.html. Then, running the `tvmc` command line as you pointed above, it produces the output file correctly.
   
   This is the list of packages on my virtualenv:
   ```
   $ pip list
   Package           Version  Location
   ----------------- -------- -----------------------------------------------
   attrs             20.3.0
   cloudpickle       1.6.0
   decorator         5.0.7
   numpy             1.19.5
   onnx              1.8.1
   pip               21.0.1
   pkg-resources     0.0.0
   protobuf          3.15.8
   psutil            5.8.0
   pyxir             0.0.1
   scipy             1.5.4
   setuptools        56.0.0
   six               1.15.0
   synr              0.3
   tornado           6.1
   tvm               0.8.dev0 [path to my tvm, 1fb32b055171f7b82b506b0f8e3096db1acc180c]
   typing-extensions 3.7.4.3
   wheel             0.36.2
   ```
   
   It is interesting that you can reproduce the issue on two different machines. The real issue seems to happening outside `tvmc`, within the call for `from tvm import autotvm, auto_scheduler`.
   
   @comaniac any idea on what could be going on here?


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