ludwig-ai / ludwig

Low-code framework for building custom LLMs, neural networks, and other AI models
http://ludwig.ai
Apache License 2.0
11.08k stars 1.19k forks source link

Export computer-vision model to CoreML #3660

Open saad-palapa opened 11 months ago

saad-palapa commented 11 months ago

Is your feature request related to a problem? Please describe. I would like to be able to export computer-vision models to CoreML that runs on Apple devices.

By using CoreML, we can run models on an Apple silicon's CPU, GPU, and Neural Engine. This enables us to run things in the most performant way on Apple devices.

Describe the use case CoreML is a format that would be an addition to torchscript. It runs in all Apple devices.

Describe the solution you'd like I would like to create CoreML as an option when exporting. We should offer quantization options.

Describe alternatives you've considered There is another feature request for ONNX that is similar to this feature request.

ONNX works on iOS, but is not the most preformat way to run models on Apple devices.

Additional context Join our slack channel: #computer-vision

tgaddair commented 11 months ago

Thanks for looking into this @skanjila !