Hi @Dileep -
To clarify: the phone needs to be connected via USB for tuning to work.
The tvmrpc app is actually being rebuilt and reinstalled at each tuning step 
with the signed dylib included in the build. (If there is a way to do remote 
installation over IP, I haven't used that).

I do still get the BUILD INTERRUPTED messages, but moving the 
xcode.popen_test_rpc() call allowed the tuning results to get reported. It 
looked to me like the process started by popen_test_rpc() was getting killed 
prematurely, but the change I made kept it up long enough for the app -> proxy 
-> tracker connection to be made.

For each tuning step the dylib gets built, the tvmrpc app gets rebuilt and 
installed, then the xcode testing framework initiates the rpc proxy connection 
from the app to the proxy server. The proxy server then exposes the iphone 
device to the tracker so that the tuning script can request the connection from 
the tracker.

Again, the workaround I posted was just a hack to try out tuning on iOS. I 
haven't had a chance to look into a proper fix, but I imagine it will require 
something like overriding the run_through_rpc() function when tuning with xcode.





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

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/13cff430146af8beeee8531f203e34a93bc18f12cb10817589c68b207dc56ba9).

Reply via email to