pfk-beta opened a new issue #9587:
URL: https://github.com/apache/tvm/issues/9587


   ### Expected behavior
   
   RPC server on android works correctly, i.e. tuning models from another 
machine can run successfully.
   
   ### Actual behavior
   
   Cannot run autotuning.
   
   ### Environment
   
   Ubuntu 20.04, tvm git hash: 99b9d4276f083d407a7f2afbf68141ac81ba001a. Target 
device: android aarch64, api 30
   Any environment details, such as: Operating System, TVM version, etc
   
   ### Steps to reproduce
   build tvm:
   ```
   cp ../cmake/config.cmake .
   
   sed -i 's/set(USE_LLVM OFF)/set(USE_LLVM llvm-config-12)/g' config.cmake
   
   cmake .. \
       -DUSE_RPC=ON \
       -DUSE_CPP_RPC=ON \
       -DUSE_IOS_RPC=ON
   
   TVM_BUILD_PATH=tvm/build-sys-llvm12 make -j4
   ```
   
   In `NativeServerLoop.run` before calling 
`serverLoop.pushArg(fsend).pushArg(frecv).invoke();`, paste `      
Log.d("NativeServerLoop", "serverLoop == null: " + (serverLoop == null));`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to