Comments (3)
For collecting programs from CUDA backend, the master branch has some problems. Maybe you can try this branch #4
from tenset.
Hi. Have you solved this problem? I encountered a similar problem. When running python3 measure_programs.py --target cuda
, it raises the following errors. I use the latest version of [TVM].(apache/tvm@778db2f)
Load all tasks...
tasks: range(start=0, end=2308, step=1)
########## Task 0, FLOPs = -1.0 ##########
placeholder = PLACEHOLDER [1, 14, 14, 480]
tensor(ax0, ax1, ax2, ax3) += placeholder[ax0, ((ax1*14) + rv0), ((ax2*14) + rv1), ax3]
tensor(ax0, ax1, ax2, ax3) = (tensor[ax0, ax1, ax2, ax3]/(float32((select((bool)1, ((ax1 + 1)*14), (((ax1 + 1)*14) + 1)) - (ax1*14)))*float32((select((bool)1, ((ax2 + 1)*14), (((ax2 + 1)*14) + 1)) - (ax2*14)))))
[19:16:48] /home/tiger/tvm/src/target/target_kind.cc:163: Warning: Unable to detect CUDA version, default to "-arch=sm_20" instead
===== task: 0 programs: 0/607 =====
Traceback (most recent call last):
File "measure_programs.py", line 114, in <module>
remeasure_file(i, task, target, args.target_host, args.batch_size, measurer_kwargs)
File "measure_programs.py", line 61, in remeasure_file
res_batch = measurer.measure(task, empty_policy, inp_batch)
File "/usr/local/lib/python3.7/dist-packages/tvm-0.9.dev237+g328cbb064-py3.7-linux-x86_64.egg/tvm/runtime/object.py", line 65, in __getattr__
return _ffi_node_api.NodeGetAttr(self, name)
File "/usr/local/lib/python3.7/dist-packages/tvm-0.9.dev237+g328cbb064-py3.7-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/tiger/tvm/include/tvm/node/reflection.h", line 390
TypeError: auto_scheduler.ProgramMeasurer is not registered via TVM_REGISTER_NODE_TYPE
Using the branch #4 doesn't work for me. Any suggestions? Thanks~
from tenset.
- Recommend not to use the latest version of TVM and use this repository directly;
- for CUDA backend, try using this branch; #4 merry's answer
- Sometimes this problem occurs when using python multi-process, and I don't know why.
TypeError: auto_scheduler.ProgramMeasurer is not registered via TVM_REGISTER_NODE_TYPE
from tenset.
Related Issues (17)
- Get started with cost model experiments HOT 5
- Measurement Data Collection
- How do I get the collected measurement records ? HOT 4
- transfer-tune option tries only one-round for each task HOT 2
- When I collect measurement records meet some error HOT 1
- Meet Error collecting measurement records HOT 1
- Meet error running measure_program.py on TX2 HOT 1
- Issues related to the input dimensions of the MLP model HOT 3
- Get "Only support 64x64 image" error when dumping network infor of dcgan HOT 1
- nsight compute not able to profile the kernels
- train model with big dataset report Segmentation fault (core dumped) HOT 1
- run python make_dataset.py get some error HOT 3
- transfer-tune using mlp throwing NoneType error
- About the dependency version of tenset HOT 1
- Is there a way to look at the generated programs? HOT 1
- Dump_network_info for bert_large leads to seg fault
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tenset.