Skip to content

What is the difference between Core ML and MLX Swift? #187

Answered by davidkoski
wigging asked this question in Q&A
Discussion options

You must be logged in to vote

MLXArray predates MLTensor by roughly a year and maybe has a different focus. MLX is built to let people do ML research on Apple Silicon, in particular it is built around training models (all of the gradient computation for example). MLXArray is lazily filled and represents a node in a compute graph. You can perform all manner of numpy-like operations on it. You can certainly do inference and it is very good at that, but I don't think that is the main reason it was built.

CoreML is more focused on inference. You can load serialized models. It is very easy to hook up in applications. There are a lot of options for running on different compute devices. They provide applications (CreateML) t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wigging
Comment options

Answer selected by davidkoski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants