Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG][MetaSchedule] Meta Schedule Layout Rewrite Network Test Error #441

Closed
zxybazh opened this issue Aug 12, 2021 · 1 comment
Closed

Comments

@zxybazh
Copy link
Collaborator

zxybazh commented Aug 12, 2021

Got the following test error message when running test_meta_schedule_layout_rewrite_network.py.

conv2d NHWC layout is not optimized for x86 with autotvm.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/home/zxybazh/anaconda3/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/home/zxybazh/anaconda3/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/zxybazh/tvm-tensorir/python/tvm/meta_schedule/relay_integration.py", line 75, in call_all_topi_funcs
    from tvm.relay.backend import graph_runtime_codegen
ImportError: cannot import name 'graph_runtime_codegen' from 'tvm.relay.backend' (/home/zxybazh/tvm-tensorir/python/tvm/relay/backend/__init__.py)
[16:20:53] /home/zxybazh/tvm-tensorir/src/meta_schedule/database.cc:157: Loading tuning records from: conv2d.json
[16:20:53] /home/zxybazh/tvm-tensorir/src/meta_schedule/database.cc:183: Nothing is loaded. File does not exist or cannot be opened
Traceback (most recent call last):
  File "test_meta_schedule_layout_rewrite_network.py", line 253, in <module>
    test_conv2d()
  File "test_meta_schedule_layout_rewrite_network.py", line 231, in test_conv2d
    tune_and_check("conv2d.json", mod, data, weight)
  File "test_meta_schedule_layout_rewrite_network.py", line 178, in tune_and_check
    lib = relay.build_module.build(mod, TARGET, params={"weight": weight}, tune_result={})
TypeError: build() got an unexpected keyword argument 'tune_result'
@junrushao
Copy link
Member

Won't fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants