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

The Inside Story of Eric Trump’s American Bitcoin

31 July 2025

Amazon Great Freedom Festival Sale 2025: Best Deals on iPad Air, MacBook, AirPods, Other Apple Products

31 July 2025

Cronos: The New Dawn Is Coming To Switch 2 In September

31 July 2025
Facebook X (Twitter) Instagram
Just In
  • The Inside Story of Eric Trump’s American Bitcoin
  • Amazon Great Freedom Festival Sale 2025: Best Deals on iPad Air, MacBook, AirPods, Other Apple Products
  • Cronos: The New Dawn Is Coming To Switch 2 In September
  • Join Us for WIRED’s AI Power Summit
  • Amazon Great Freedom Festival Sale 2025: Best Deals on Samsung Smartphones
  • Amazon Great Freedom Festival Sale 2025: Best Deals on Laptops under Rs. 30,000
  • The Best Travel Strollers for All Your Family Adventures
  • Android 16-Based Nothing OS 4.0 Closed Beta for Phone 3 Begins: Eligibility Criteria, How to Apply
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

Amazon Great Freedom Festival Sale 2025: Best Deals on iPad Air, MacBook, AirPods, Other Apple Products

31 July 2025
Laptops

Amazon Great Freedom Festival Sale 2025: Best Deals on Laptops under Rs. 30,000

31 July 2025
Laptops

Samsung Galaxy Book 4 Edge AI PC Launched in India With Snapdragon X Processor, Galaxy AI Features

31 July 2025
Laptops

Vivo T4R 5G – Price in India, Specifications (31st July 2025)

31 July 2025
Laptops

iQOO Z10 Turbo plus – Specifications, Release Date, Latest News (31st July 2025)

31 July 2025
Laptops

Amazon Great Freedom Festival Sale Is Live: Best Offers on Smartphones, Electronics

31 July 2025
Demo
Top Articles

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

15 December 2024103 Views

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

28 October 202495 Views

Oppo Reno 14, Reno 14 Pro India Launch Timeline and Colourways Leaked

27 May 202582 Views

Subscribe to Updates

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

Latest News
Laptops

Amazon Great Freedom Festival Sale 2025: Best Deals on Laptops under Rs. 30,000

News Room31 July 2025
News

The Best Travel Strollers for All Your Family Adventures

News Room31 July 2025
Phones

Android 16-Based Nothing OS 4.0 Closed Beta for Phone 3 Begins: Eligibility Criteria, How to Apply

News Room31 July 2025
Most Popular

The Spectacular Burnout of a Solar Panel Salesman

13 January 2025125 Views

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

15 December 2024103 Views

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

28 October 202495 Views
Our Picks

Join Us for WIRED’s AI Power Summit

31 July 2025

Amazon Great Freedom Festival Sale 2025: Best Deals on Samsung Smartphones

31 July 2025

Amazon Great Freedom Festival Sale 2025: Best Deals on Laptops under Rs. 30,000

31 July 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.