Hi @kazum,

I enabled the debugging logs of Autotune TVM, it is failing to tune the model 
on iOS device. can you please have a look into the below debugging logs

    Extract tasks...
    Tuning...
    Get devices for measurement successfully!
    [15:27:22] 
/Users/Dileep/LatestTVM/31_08/tvm/src/runtime/metal/metal_device_api.mm:137: 
Intializing Metal device 0, name=Intel Iris Pro Graphics
    No: 1       GFLOPS: 0.00/0.00       result: MeasureResult(costs=('Cannot 
request iphone after 5 retry, last_error:Traceback (most recent call last):\n  
[bt] (4) 5   libtvm.dylib                        0x0000000113c86f26 TVMFuncCall 
+ 70\n  [bt] (3) 4   libtvm.dylib                        0x0000000113cdf3b0 
std::__1::__function::__func<tvm::runtime::$_0, 
std::__1::allocator<tvm::runtime::$_0>, void (tvm::runtime::TVMArgs, 
tvm::runtime::TVMRetValue*)>::operator()(tvm::runtime::TVMArgs&&, 
tvm::runtime::TVMRetValue*&&) + 336\n  [bt] (2) 3   libtvm.dylib                
        0x0000000113cde753 
tvm::runtime::RPCClientConnect(std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> >, int, 
std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char> >, tvm::runtime::TVMArgs) + 99\n  [bt] (1) 2   
libtvm.dylib                        0x0000000113cdd206 
tvm::runtime::RPCConnect(std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> >, int, 
std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char> >, tvm::runtime::TVMArgs) + 390\n  [bt] (0) 1   
libtvm.dylib                        0x0000000112f92641 
dmlc::LogMessageFatal::~LogMessageFatal() + 113\n  File 
"/Users/Dileep/LatestTVM/31_08/tvm/src/runtime/rpc/rpc_socket_impl.cc", line 
73\nTVMError: Check failed: sock.Connect(addr): Connect to 127.0.0.1:9090 
failed',), error_no=7, all_cost=60, timestamp=1599127077.6432252) [('tile_f', 
[-1, 1, 128, 1]), ('tile_y', [-1, 7, 1, 1]), ('tile_x', [-1, 1, 7, 1]), 
('tile_rc', [-1, 1]), ('tile_ry', [-1, 1]), ('tile_rx', [-1, 1]), 
('auto_unroll_max_step', 1500), ('unroll_explicit', 0)],None,65389
    [15:28:01] 
/Users/Dileep/LatestTVM/31_08/tvm/src/runtime/metal/metal_device_api.mm:137: 
Intializing Metal device 0, name=Intel Iris Pro Graphics

I always see the above logs while tuning the model, can you please suggest to 
me what is wrong in the tuning? 

Hi @jacobpostman, did you get any solution for the above issue.

Thanks,





---
[Visit 
Topic](https://discuss.tvm.ai/t/auto-tvm-how-to-auto-tune-the-model-on-ios-device/7681/11)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/539b2999e6d0e990dd998aa9860913209efbbae9ba5378021552c0886ebad535).

Reply via email to