Hello,
I’m trying to auto-tuning a pre-trained model - squeezenet_v1.1 but faced with same problem even other models(resnet, inceptionv3) - according to below guide,
https://docs.tvm.ai/tutorials/autotvm/tune_nnvm_mobile_gpu.html#sphx-glr-tutorials-autotvm-tune-nnvm-mobile-gpu-py
However, I see below many logs when I typed the command, “python3 tune_nnvm_mobile_gpu.py”
And it seems something wrong. Could you point me what is problem?
Thanks,
Inki Dae
Logs
daeinki@daeinki-linux:~/project/public/tvm_test$ python3 tune_nnvm_mobile_gpu.py
Extract tasks…
/home/daeinki/.local/lib/python3.5/site-packages/tvm-0.5.dev0-py3.5-linux-x86_64.egg/tvm/tag.py:32: UserWarning: Tag ‘broadcast’ declared via TagScope was not used.
warnings.warn(“Tag ‘%s’ declared via TagScope was not used.” % (self.tag,))
DEBUG:root:lower function fuse_conv2d_relu
DEBUG:root:// attr [pad_temp] storage_scope = “global”
allocate pad_temp[float32 * 1 * 3 * 225 * 225]
// attr [compute] storage_scope = “global”
allocate compute[float32 * 802816]
// attr [tensor] storage_scope = “global”
allocate tensor[float32 * 64 * 1 * 1]
…
produce tensor {
for (ax1, 0, 1000) {
tensor[ax1] = (exp((input0[ax1] - tensor[0]))/tensor[0])
}
}
Tuning…
…
[Task 20/22] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (1/1) | 0.16 s Done.
DEBUG:autotvm:XGB load 16 entries from history log file
[Task 21/22] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/1) | 0.00 sINFO:autotvm:Get devices for measurement successfully!
DEBUG:autotvm:No: 1 GFLOPS: 0.00/0.00 result: MeasureResult(costs=(RuntimeError(‘Except caught from RPC call: TVMCall CFunc Error:\nTraceback (most recent call last):\n File “/usr/lib/tvm/python/tvm/_ffi/_ctypes/function.py”, line 55, in cfun\n rv = local_pyfunc(*pyargs)\n File “/usr/lib/tvm/python/tvm/rpc/server.py”, line 50, in load_module\n m = _load_module(path)\n File “/usr/lib/tvm/python/tvm/module.py”, line 222, in load\n _cc.create_shared(path + “.so”, files)\n File “/usr/lib/tvm/python/tvm/contrib/cc.py”, line 33, in create_shared\n _linux_shared(output, objects, options, cc)\n File “/usr/lib/tvm/python/tvm/contrib/cc.py”, line 53, in _linux_shared\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n File “/usr/lib/python2.7/subprocess.py”, line 710, in init\n errread, errwrite)\n File “/usr/lib/python2.7/subprocess.py”, line 1327, in _execute_child\n raise child_exception\nOSError: [Errno 2] No such file or directory\n’,),), error_no=4, all_cost=1.1189663410186768, timestamp=1542185572.3326507) [(‘tile_co’, [4, 4]), (‘tile_oh’, [1, 55]), (‘tile_ow’, [11, 5]), (‘reorder_0’, [0, 1, 2, 3, 4, 5, 6, 9, 7, 8]), (‘ann_reduce’, [‘none’, ‘none’]), (‘ann_spatial’, [‘vec’, ‘none’, ‘unroll’])],direct,None,10997
[Task 21/22] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (1/1) | 1.34 s Done.
DEBUG:autotvm:XGB load 17 entries from history log file
[Task 22/22] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/1) | 0.00 sINFO:autotvm:Get devices for measurement successfully!
DEBUG:autotvm:No: 1 GFLOPS: 0.00/0.00 result: MeasureResult(costs=(RuntimeError(‘Except caught from RPC call: TVMCall CFunc Error:\nTraceback (most recent call last):\n File “/usr/lib/tvm/python/tvm/_ffi/_ctypes/function.py”, line 55, in cfun\n rv = local_pyfunc(*pyargs)\n File “/usr/lib/tvm/python/tvm/rpc/server.py”, line 50, in load_module\n m = _load_module(path)\n File “/usr/lib/tvm/python/tvm/module.py”, line 222, in load\n _cc.create_shared(path + “.so”, files)\n File “/usr/lib/tvm/python/tvm/contrib/cc.py”, line 33, in create_shared\n _linux_shared(output, objects, options, cc)\n File “/usr/lib/tvm/python/tvm/contrib/cc.py”, line 53, in _linux_shared\n cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)\n File “/usr/lib/python2.7/subprocess.py”, line 710, in init\n errread, errwrite)\n File “/usr/lib/python2.7/subprocess.py”, line 1327, in _execute_child\n raise child_exception\nOSError: [Errno 2] No such file or directory\n’,),), error_no=4, all_cost=6.960962295532227, timestamp=1542185579.8855002) [(‘tile_co’, [32, 2]), (‘tile_oh’, [7, 16]), (‘tile_ow’, [7, 16]), (‘reorder_0’, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]), (‘ann_reduce’, [‘unroll’, ‘unroll’]), (‘ann_spatial’, [‘unroll’, ‘vec’, ‘none’])],direct,None,83063
[Task 22/22] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (1/1) | 7.20 s Done.
DEBUG:autotvm:Finish loading 22 records
INFO:autotvm:Extract 0 best records from the odroid.squeezenet_v1.1.log.tmp
DEBUG:autotvm:Finish loading 0 records