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/29 07:49:51 UTC

[GitHub] [incubator-tvm] 12101111 opened a new issue #6158: AttributeError: module 'tvm.runtime' has no attribute 'load'

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


   I'm testing the rust front-end example, and got this error when running `tvm/rust/tvm/examples/resnet/src/build_resnet.py`:
   ```
   2020-07-28 15:36:02,208 - __main__ - INFO - build was successful
   2020-07-28 15:36:02,209 - __main__ - INFO - test the build artifacts
   Traceback (most recent call last):
     File "./src/build_resnet.py", line 130, in <module>
       test_build(build_dir)
     File "./src/build_resnet.py", line 115, in test_build
       lib = tvm.runtime.load(osp.join(build_dir, "deploy_lib.so"))
   AttributeError: module 'tvm.runtime' has no attribute 'load'
   ```
   In https://github.com/apache/incubator-tvm/pull/4837, It seems `tvm.module.load` is renamed to `tvm.runtime.load_module` in 250eb03b3aa60febf67389af2cf899ce2ddd3a88. But in the later commit 250eb03b3aa60febf67389af2cf899ce2ddd3a88, `tvm.module.load` is changed to `tvm.module.load`.


----------------------------------------------------------------
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] tqchen commented on issue #6158: AttributeError: module 'tvm.runtime' has no attribute 'load'

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






----------------------------------------------------------------
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] tqchen closed issue #6158: AttributeError: module 'tvm.runtime' has no attribute 'load'

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


   


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