CoreML models not available to download remotely

Originator:m.quinones.garcia
Number:rdar://32664536 Date Originated:08/06/2017
Status:Closed Resolved:
Product:iOS 11 SDK - CoreML Product Version:iOS 11 SDK Beta 1
Classification:Suggestion Reproducible:
 
rea:
CoreML

Summary:
Currently CoreML models need to be processed by Xcode at compile-time to generate the code interface and build the optimized version. 

If the model is big, the app download will be as well. This might prevent some apps from including big models even if that would improve the UX for the user. If the models were available to download at a later time (possibly through the existing OnDemand system) it would allow more apps to use CoreML models.

Another plus from having remotely downloadable models is that the training can be done regularly on the 3rd party backend, and models updated remotely without having to submit an update to App Store.

Steps to Reproduce:
-

Expected Results:
-

Observed Results:
-

Version:
-

Notes:
-

Configuration:
-

Comments

Fixed in latest beta - MLMode.compileModel()

The latest beta provides a class method on MLModel that lets you compile a .mlmodel file on device, without Xcode


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!