Does exported model depend on fastai version?

I trained my model in fastai 1.0.52, but now I need deploy it using 1.0.42. Will it work or i need to retrain my model in 1.0.42?

Hi hungnguyen hope you are having a good day!

I trained my model in fastai 1.0.52, but now I need deploy it using 1.0.42. Will it work or i need to retrain my model in 1.0.42?

Yes it is likely you will have to retrain your model on 1.0.42.

Having trained many models using fastai, I had so many issues when training models and getting them to work with different versions of fastai that I switched to using docker.com for deployment.

In my experience its not just the Fastai version but the other files such as Pytorch and Torchvision are also changing as well.

The only way to make sure my models work consistently is to make sure all the library versions used in training are the same in deployment elsewhere.

Hope this helps mrfabuluous1 :smiley::smiley:

1 Like