echuraev commented on issue #9268:
URL: https://github.com/apache/tvm/issues/9268#issuecomment-943452534


   @zhaiyi000, I tried to reproduce your issue connected to the Metal locally 
and I wasn't able to do that. Also, I have some doubts about this warning 
message in your log: `Warning: Metal runtime not enabled, return a source 
module...`. It looks like that first time you have compiled runtime w/o Metal 
support. 
   
   Steps how I tried to reproduce your problem:
   1. `cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_SYSTEM_NAME=iOS 
-DCMAKE_SYSTEM_VERSION=14.0 -DCMAKE_OSX_SYSROOT=iphoneos 
-DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0 
-DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON -DUSE_IOS_RPC=ON -DUSE_METAL=ON 
-DUSE_COREML=ON`
   2. `cmake --build . --target custom_dso_loader tvm_runtime`
   3. Install ios_rpc on my iphone and run it in tracker mode.
   4. Run `python3 tests/ios_rpc_test.py --host 0.0.0.0 --port 9190 
--mode=tracker`
   
   Also, I double-checked it in the proxy mode. Please try one again and let me 
know if you still have this issue. Also, what XCode version do you use?


-- 
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