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

Gear News This Week: Adobe Wants to Make iPhone Photos Better, and TCL Brings Flexibility to Atmos

21 June 2025

Security News This Week: Israel Says Iran Is Hacking Security Cameras for Spying

21 June 2025

The Best Lawn Games for Goofing Off in the Sun

21 June 2025
Facebook X (Twitter) Instagram
Just In
  • Gear News This Week: Adobe Wants to Make iPhone Photos Better, and TCL Brings Flexibility to Atmos
  • Security News This Week: Israel Says Iran Is Hacking Security Cameras for Spying
  • The Best Lawn Games for Goofing Off in the Sun
  • Eli Lilly’s Obesity Pill Appears to Work as Well as Injected GLP-1s
  • Review: Ford Ranger Plug-In Hybrid
  • Methane Pollution Has Cheap, Effective Solutions That Aren’t Being Used
  • Review: Framework Laptop 12
  • How to Convert an Analog Bike to an Electric Bike
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

Vivo Y400 Pro 5G – Price in India, Specifications (20th June 2025)

20 June 2025
Laptops

Gigabyte Aorus Master 16 AI PC With Intel Core Ultra 9 Chip, Up to GeForce RTX 5080 GPU Launched in India

20 June 2025
Laptops

boAt Wave Fortune Online at Lowest Price in India

18 June 2025
Laptops

iQOO Z10 Lite 5G – Price in India, Specifications (18th June 2025)

18 June 2025
Laptops

Apple Bringing Journal App to iPad and Mac With iPadOS 26 and macOS 26 Tahoe

18 June 2025
Laptops

Asus Vivobook S16 OLED (S3607CA) Price (17 Jun 2025) Specification & Reviews । Asus Laptops

17 June 2025
Demo
Top Articles

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

15 December 202496 Views

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

28 October 202495 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

Methane Pollution Has Cheap, Effective Solutions That Aren’t Being Used

News Room21 June 2025
News

Review: Framework Laptop 12

News Room21 June 2025
News

How to Convert an Analog Bike to an Electric Bike

News Room21 June 2025
Most Popular

The Spectacular Burnout of a Solar Panel Salesman

13 January 2025124 Views

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

15 December 202496 Views

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

28 October 202495 Views
Our Picks

Eli Lilly’s Obesity Pill Appears to Work as Well as Injected GLP-1s

21 June 2025

Review: Ford Ranger Plug-In Hybrid

21 June 2025

Methane Pollution Has Cheap, Effective Solutions That Aren’t Being Used

21 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.