Model load on device during runtime

Using MlModelAsset and MlModel.load, can I load a model during runtime from my servers, or as a cloud kit asset instead of packaging the MlModel in my App?

Replies

No, CoreML can only models that are on device - either bundled with your app or downloaded OTA and stored on device. Let us know your use case (if you have specifics in mind) and we can see how to support that!

In this video around 22:11, https://developer.apple.com/videos/play/wwdc2022/10027/, there is a mention of not requiring compiled model on disk. Does it mean the encrypted model itself needs to be on disk?

The Use Case is to avoid model poisoning and any risk to model IP due to compromised devices. Thanks a lot for your quick response.