minils commented on issue #8603:
URL: https://github.com/apache/tvm/issues/8603#issuecomment-890797454


   Thanks @tqchen for looking into this.
   Running the rpc server now gives another error:
   ```
   xilinx@pynq:~/tvm$ sudo ./apps/vta_rpc/start_rpc_server.sh
   Traceback (most recent call last):
     File "/usr/lib/python3.6/runpy.py", line 183, in _run_module_as_main
       mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
     File "/usr/lib/python3.6/runpy.py", line 109, in _get_module_details
       __import__(pkg_name)
     File "/home/xilinx/tvm/vta/python/vta/__init__.py", line 25, in <module>
       from .autotvm import module_loader
     File "/home/xilinx/tvm/vta/python/vta/autotvm.py", line 21, in <module>
       from . import rpc_client
     File "/home/xilinx/tvm/vta/python/vta/rpc_client.py", line 22, in <module>
       from .environment import get_env
     File "/home/xilinx/tvm/vta/python/vta/environment.py", line 296, in 
<module>
       @register_intrin_lowering("tir.vta.coproc_sync", "default")
     File "/home/xilinx/tvm/python/tvm/ir/op.py", line 223, in _register
       _ffi_api.RegisterOpLowerIntrinsic(op_name, f, target, level)
   AttributeError: module 'tvm.ir._ffi_api' has no attribute 
'RegisterOpLowerIntrinsic'
   ```
   
   I could previously fix this error by moving some functions from 
`vta/python/vta/environment.py` to `vta/python/vta/build_module.py`  (see 
[fix.patch](https://gist.github.com/minils/a37546d0d186c02952ecc326173db9f0)). 
But with the latest commits from `main` it doesn't work any more.
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to