FdyCN opened a new issue, #16505: URL: https://github.com/apache/tvm/issues/16505
### Expected behavior I try to test auto_tvm on real hexagon device by using `pytest tests/python/contrib/test_hexagon/test_autotvm.py` (After all steps are followed in [this](https://github.com/apache/tvm/blob/main/tests/python/contrib/test_hexagon/README.md) but i got the error log : ``` (tvm-build) fdy_ubuntu@5CG3416VF7-HBK:~/fdy/tvm$ pytest tests/python/contrib/test_hexagon/test_autotvm.py [04:19:52] /home/fdy_ubuntu/fdy/tvm/src/target/target_kind.cc:181: Warning: Unable to detect CUDA version, default to "-arch=sm_50" instead enabled targets: hexagon pytest marker: ================================ test session starts ================================ **platform linux -- Python 3.7.12, pytest-7.4.4, pluggy-0.13.1** rootdir: /home/fdy_ubuntu/fdy/tvm collected 1 item INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/home/fdy_ubuntu/miniconda3/envs/tvm-build/lib/python3.7/site-packages/_pytest/main.py", line 271, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/home/fdy_ubuntu/miniconda3/envs/tvm-build/lib/python3.7/site-packages/_pytest/main.py", line 324, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/home/fdy_ubuntu/miniconda3/envs/tvm-build/lib/python3.7/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/home/fdy_ubuntu/miniconda3/envs/tvm-build/lib/python3.7/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/home/fdy_ubuntu/miniconda3/envs/tvm-build/lib/python3.7/site-packages/pluggy/manager.py", line 87, in <lambda> INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/home/fdy_ubuntu/miniconda3/envs/tvm-build/lib/python3.7/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/home/fdy_ubuntu/miniconda3/envs/tvm-build/lib/python3.7/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/home/fdy_ubuntu/miniconda3/envs/tvm-build/lib/python3.7/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/home/fdy_ubuntu/miniconda3/envs/tvm-build/lib/python3.7/site-packages/_pytest/main.py", line 335, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/home/fdy_ubuntu/miniconda3/envs/tvm-build/lib/python3.7/site-packages/_pytest/main.py", line 677, in perform_collect INTERNALERROR> self.config.pluginmanager.check_pending() INTERNALERROR> File "/home/fdy_ubuntu/miniconda3/envs/tvm-build/lib/python3.7/site-packages/pluggy/manager.py", line 277, in check_pending INTERNALERROR> % (name, hookimpl.plugin), INTERNALERROR> pluggy.manager.PluginValidationError: unknown hook 'pytest_configure_node' in plugin <module 'tvm.contrib.hexagon.pytest_plugin' from '/home/fdy_ubuntu/fdy/tvm/python/tvm/contrib/hexagon/pytest_plugin.py'> ``` **seems a problem about pytest version or else?** ### Environment OS: ubuntu 22.04 x86_64 TVM: '0.16.dev0' LLVM: 14.0.6 Python 3.7.12 pytest-7.4.4 pluggy-0.13.1 -- 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]
