Close Menu
Best in TechnologyBest in Technology
  • News
  • Phones
  • Laptops
  • Gadgets
  • Gaming
  • AI
  • Tips
  • More
    • Web Stories
    • Global
    • Press Release

Subscribe to Updates

Get the latest tech news and updates directly to your inbox.

What's On

Final Fantasy XVI and Final Fantasy VII Remake Intergrade Coming To Xbox

8 June 2025

The Coolest Games We’ve Played At Summer Game Fest 2025

8 June 2025

How to Advocate for Trans Rights in Your Community

8 June 2025
Facebook X (Twitter) Instagram
Just In
  • Final Fantasy XVI and Final Fantasy VII Remake Intergrade Coming To Xbox
  • The Coolest Games We’ve Played At Summer Game Fest 2025
  • How to Advocate for Trans Rights in Your Community
  • How to Buy a Bike Helmet
  • WWDC 2025: How to Watch the Apple Keynote Live and What to Expect
  • The Best Read-It-Later Apps for Curating Your Longreads
  • A New Law of Nature Attempts to Explain the Complexity of the Universe
  • Review: Dell 14 Plus
Facebook X (Twitter) Instagram Pinterest Vimeo
Best in TechnologyBest in Technology
  • News
  • Phones
  • Laptops
  • Gadgets
  • Gaming
  • AI
  • Tips
  • More
    • Web Stories
    • Global
    • Press Release
Subscribe
Best in TechnologyBest in Technology
Home » Apple Releases Open Source MLX Framework for Efficient Machine Learning on Apple Silicon
Laptops

Apple Releases Open Source MLX Framework for Efficient Machine Learning on Apple Silicon

News RoomBy News Room8 December 20233 Mins Read
Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
Share
Facebook Twitter LinkedIn Pinterest Email

Apple recently released MLX — or ML Explore — the company’s machine learning (ML) framework for Apple Silicon computers. The company’s latest framework is specifically designed to simplify the process of training and running ML models on computers that are powered by Apple’s M1, M2, and M3 series chips. The company says that MLX features a unified memory model. Apple has also demonstrated the use of the framework, which is open source, allowing machine learning enthusiasts to run the framework on their laptop or computer.

According to details shared by Apple on code hosting platform GitHub, the MLX framework has a C++ API along with a Python API that is closely based on NumPy, the Python library for scientific computing. Users can also take advantage of higher-level packages that enable them to build and run more complex models on their computer, according to Apple.

MLX simplifies the process of training and running ML models on a computer — developers were previously forced to rely on a translator to convert and optimise their models (using CoreML). This has now been replaced by MLX, which allows users running Apple Silicon computers to train and run their models directly on their own devices.

Apple shared this image of a big red sign with the text MLX, generated by Stable Diffusion in MLX
Photo Credit: GitHub/ Apple

 

Apple says that the MLX’s design follows other popular frameworks used today, including ArrayFire, Jax, NumPy, and PyTorch. The firm has touted its framework’s unified memory model — MLX arrays live in shared memory, while operations on them can be performed on any device types (currently, Apple supports the CPU and GPU) without the need to create copies of data.

The company has also shared examples of MLX in action, performing tasks like image generation using Stable Diffusion on Apple Silicon hardware. When generating a batch of images, Apple says that MLX is faster than PyTorch for batch sizes of 6,8,12, and 16 — with up to 40 percent higher throughput than the latter.

The tests were conducted on a Mac powered by an M2 Ultra chip, the company’s fastest processor to date — MLX is capable of generating 16 images in 90 seconds, while PyTorch would take around 120 seconds to perform the same task, according to the company.

The video is a Llama v1 7B model implemented in MLX and running on an M2 Ultra.

More here: https://t.co/gXIjEZiJws

* Train a Transformer LM or fine-tune with LoRA
* Text generation with Mistral
* Image generation with Stable Diffusion
* Speech recognition with Whisper pic.twitter.com/twMF6NIMdV

— Awni Hannun (@awnihannun) December 5, 2023

Other examples of MLX in action include generating text using Meta’s open source LLaMA language model, as well as the Mistral large language model. AI and ML researchers can also use OpenAI’s open source Whisper tool to run the speech recognition models on their computer using MLX.

The release of Apple’s MLX framework could help make ML research and development easier on the company’s hardware, eventually allowing developers to bring better tools that could be used for apps and services that offer on-device ML features running efficiently on a user’s computer.


Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleWhich AI Image Generator Is Best?
Next Article Google’s NotebookLM Aims to Be the Ultimate Writing Assistant

Related Articles

Laptops

Razer Phantom Collection with Chroma RGB, Dynamic Lighting Support Launched in India: Check Price, Features

6 June 2025
Laptops

Redmi Pad 2 Price, Specifications, Features, Comparison

5 June 2025
Laptops

OnePlus Pad 3 Price, Specifications, Features, Comparison

5 June 2025
Laptops

Vivo Y19s Pro – Price in India, Specifications (3rd June 2025)

3 June 2025
Laptops

Microsoft Windows Users in Europe Can Now Uninstall Microsoft Store, Disable Microsoft Edge Default Prompts

3 June 2025
Laptops

Snapdragon X2 Elite Reportedly in Testing With 18 CPU Cores, 64GB of RAM

3 June 2025
Demo
Top Articles

Costco partners with Electric Era to bring back EV charging in the U.S.

28 October 202495 Views

ChatGPT o1 vs. o1-mini vs. 4o: Which should you use?

15 December 202493 Views

5 laptops to buy instead of the M4 MacBook Pro

17 November 202466 Views

Subscribe to Updates

Get the latest tech news and updates directly to your inbox.

Latest News
News

The Best Read-It-Later Apps for Curating Your Longreads

News Room8 June 2025
News

A New Law of Nature Attempts to Explain the Complexity of the Universe

News Room8 June 2025
News

Review: Dell 14 Plus

News Room8 June 2025
Most Popular

The Spectacular Burnout of a Solar Panel Salesman

13 January 2025123 Views

Costco partners with Electric Era to bring back EV charging in the U.S.

28 October 202495 Views

ChatGPT o1 vs. o1-mini vs. 4o: Which should you use?

15 December 202493 Views
Our Picks

How to Buy a Bike Helmet

8 June 2025

WWDC 2025: How to Watch the Apple Keynote Live and What to Expect

8 June 2025

The Best Read-It-Later Apps for Curating Your Longreads

8 June 2025

Subscribe to Updates

Get the latest tech news and updates directly to your inbox.

Facebook X (Twitter) Instagram Pinterest
  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact Us
© 2025 Best in Technology. All Rights Reserved.

Type above and press Enter to search. Press Esc to cancel.