Ok, I have a model that I am trying to move to ios.
I figured out most of the jit export commands. After running the model on mobile it is saying missing the lapack. I read a few others forums on here that you have to build with la pack. My question is do I build the local pytorch doing the training and export or do I rebuild the libtorch for ios?
I think I need to rebuild torch, load up my models and jit save them there after. Is that the correct flow?
Yeah I had forgotten about what I wrote on that thread :). But it sounds about right. Unfortunately it may require some manual tweaking and building pt from source. I think we will try to include lapack in pt mobile builds for future. Do you mind filing an issue and tagging me on it? Thanks!
Tried to put the pytroch model exported on the device and it says the model version is 7 and software is 2 - 5 supported. Is that cause I need to rebuild and use libtorch now?
Yeah so you probably exported model using later versions of libtorch but the libtorch/runtime on the device is older one. So it is likely backwards compatibility (newer models cannot run on older runtime) issue. You will have to update the runtime on device. Alternatively we have backporting supported but I dont remember since when. Which version of libtorch you are using? Or are you building from source?