You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "lxiongh (via GitHub)" <gi...@apache.org> on 2023/03/21 03:47:32 UTC

[GitHub] [tvm] lxiongh commented on issue #14351: raise error when call tvmc.run whose arg tvmc_package compiled by vm

lxiongh commented on issue #14351:
URL: https://github.com/apache/tvm/issues/14351#issuecomment-1477241743

   Here is error detail:
   ```code
   2023-03-21 11:46:37.694 INFO load_module /tmp/tmpws1rwd_s/lib.so
   Traceback (most recent call last):
     File "run_pkg_vm.py", line 9, in <module>
       result = tvmc.run(package, device="cuda", repeat=10, number=10, benchmark=True, end_to_end=True, inputs=inputs)
     File "/home/haoke/.local/lib/python3.7/site-packages/tvm/driver/tvmc/runner.py", line 646, in run_module
       outputs[output_name] = val.numpy()
     File "/home/haoke/.local/lib/python3.7/site-packages/tvm/runtime/object.py", line 67, in __getattr__
       raise AttributeError("%s has no attribute %s" % (str(type(self)), name)) from None
   AttributeError: <class 'tvm.runtime.container.ADT'> has no attribute numpy
   ```


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

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org