apple / coremltools

Core ML tools contain supporting tools for Core ML model conversion, editing, and validation.
https://coremltools.readme.io
BSD 3-Clause "New" or "Revised" License
4.38k stars 631 forks source link

What is the maximum model size supported by core ml ? #1799

Open okpatil4u opened 1 year ago

okpatil4u commented 1 year ago

❓Question

I have been trying to convert flan-t5 transformer models, which are more than 4 gb in size. Coreml conversion crashes in this case. I have a 64 GB M1 Max system.

Is the an observed behavior ? Or is it just me ?

junpeiz commented 1 year ago

Hi @okpatil4u, to help us figure out if it's the coremltools issue or the CoreML Framework issue, please give more info about the crashing. For example, a minimum code snippet to reproduce it (along with python and related packages' versions), and the error stack trace. Thanks!