You need to run install_name_tool for your model library like 
```
install_name_tool -id @rpath/model.dylib model.dylib
```
and then just point the name of the library without additional path in iOS app 
like 
```
m_mod = tvm::runtime::Module::LoadFromFile("model.dylib");
```





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/compile-pytorch-model-for-ios/9995/12) 
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/5d92db61293b1265a221c550741c6578ee1387e7b74ae6e91ebbff458ad3cd4d).

Reply via email to