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

Meet Error collecting measurement records #25

Closed
Kyrie-Zhao opened this issue Oct 23, 2021 · 1 comment
Closed

Meet Error collecting measurement records #25

Kyrie-Zhao opened this issue Oct 23, 2021 · 1 comment

Comments

@Kyrie-Zhao
Copy link

Hi, I am collecting data at my desktop (2060 gpu) and error occurs:

Traceback (most recent call last):
File "measure_programs.py", line 137, in
remeasure_file(i, task, target, args.target_host, args.batch_size, measurer_kwargs)
File "measure_programs.py", line 82, in remeasure_file
res_batch = measurer.measure(task, empty_policy, inp_batch)
File "/root/.local/lib/python3.6/site-packages/tvm-0.8.dev1882+g5a2eed60b-py3.6-linux-x86_64.egg/tvm/runtime/object.py", line 65, in getattr
return _ffi_node_api.NodeGetAttr(self, name)
File "/root/.local/lib/python3.6/site-packages/tvm-0.8.dev1882+g5a2eed60b-py3.6-linux-x86_64.egg/tvm/_ffi/_ctypes/packed_func.py", line 237, in call
raise get_last_ffi_error()
TypeError: Traceback (most recent call last):
3: TVMFuncCall
2: _ZNSt17_Function_handlerI
1: tvm::NodeGetAttr(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)
0: tvm::ReflectionVTable::GetAttr(tvm::runtime::Object*, tvm::runtime::String const&) const
File "/home/lenovo/Desktop/zzh/phd/tvm/tvm/include/tvm/node/reflection.h", line 390
TypeError: auto_scheduler.ProgramMeasurer is not registered via TVM_REGISTER_NODE_TYPE

Have tried several backbones (resnet18, xception etc), same error occurs
I am using tvm-0.8

@merrymercy
Copy link
Collaborator

We modified some source code of tvm. You cannot use tvm from the mainline. Could you try to build our repo and try again?

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