2.78 TFLOPS on a Fanless MacBook Air? Benchmarking Apple's M4 with MLX

(This article is an English translation of a post originally published in Japanese on my blog. You can read the original Japanese version here). My fanless M4 MacBook Air hit 2.78 TFLOPS in a matri...

By · · 1 min read
2.78 TFLOPS on a Fanless MacBook Air? Benchmarking Apple's M4 with MLX

Source: DEV Community

(This article is an English translation of a post originally published in Japanese on my blog. You can read the original Japanese version here). My fanless M4 MacBook Air hit 2.78 TFLOPS in a matrix multiplication benchmark using Apple's MLX framework. Matrix multiplication (GEMM) isn't just a basic math problem; it's the beating heart of modern Machine Learning and Large Language Models (LLMs). By measuring how fast a machine can multiply huge matrices, we are essentially measuring its raw capability to run AI locally. Let's see what the M4 chip can do. < Test Environment > Machine: M4 Macbook Air Memory: 16GB Python: 3.10.11 Framework: MLX v0.28.0 1. Measuring Execution Time To measure the execution time, I used a simple matrix multiplication operation. 1.1 The Benchmark Script I've published the measurement script on GitHub Gist. Feel free to download it and test it on your own Apple Silicon Mac. Note: I ran the benchmark last summer. I have recently verified that the script s

Related Posts

Similar Topics

#data science (772)#machine learning (320)#programming (248)#ai (212)#artificial intelligence (149)#hands on tutorials (159)#editors pick (157)#data visualization (93)#deep dives (144)#deep learning (81)#statistics (87)#pandas (88)#llm (82)#data analysis (73)#tips and tricks (62)#data engineering (35)#geospatial (59)#large language models (49)#getting started (49)#gis (48)

Trending on ShareHub

  1. Understanding Modern JavaScript Frameworks in 2026
    by Alex Chen · Feb 12, 2026 · 0 likes
  2. The System Design Primer
    by Sarah Kim · Feb 12, 2026 · 0 likes
  3. Just shipped my first open-source project!
    by Alex Chen · Feb 12, 2026 · 0 likes
  4. OpenAI Blog
    by Sarah Kim · Feb 12, 2026 · 0 likes
  5. Building Accessible Web Applications: A Practical Guide
    by Alex Chen · Feb 12, 2026 · 0 likes
  6. Rapper Lil Poppa dead at 25, days after releasing new music
    Rapper Lil Poppa dead at 25, days after releasing new music
    by Anonymous User · Feb 19, 2026 · 0 likes
  7. write-for-us
    by Volt Raven · Mar 7, 2026 · 0 likes
  8. Before the Coffee Gets Cold: Heartfelt Story of Time Travel and Second Chances
    Before the Coffee Gets Cold: Heartfelt Story of Time Travel and Second Chances
    by Anonymous User · Feb 12, 2026 · 0 likes
    #coffee gets cold #the #time travel
  9. Best DoorDash Promo Code Reddit Finds for Top Discounts
    Best DoorDash Promo Code Reddit Finds for Top Discounts
    by Anonymous User · Feb 12, 2026 · 0 likes
    #doordash #promo #reddit
  10. Premium SEO Services That Boost Rankings & Revenue | VirtualSEO.Expert
    by Anonymous User · Feb 12, 2026 · 0 likes
  11. NBC under fire for commentary about Team USA women's hockey team
    NBC under fire for commentary about Team USA women's hockey team
    by Anonymous User · Feb 18, 2026 · 0 likes
  12. Where to Watch The Nanny: Streaming and Online Viewing Options
    Where to Watch The Nanny: Streaming and Online Viewing Options
    by Anonymous User · Feb 12, 2026 · 0 likes
    #streaming #the nanny #where
  13. How Much Is Kindle Unlimited? Subscription Cost and Plan Details
    How Much Is Kindle Unlimited? Subscription Cost and Plan Details
    by Anonymous User · Feb 12, 2026 · 0 likes
    #kindle unlimited #subscription #unlimited
  14. Russian skater facing backlash for comment about Amber Glenn
    Russian skater facing backlash for comment about Amber Glenn
    by Anonymous User · Feb 18, 2026 · 0 likes
  15. Google News
    Google News
    by Anonymous User · Feb 18, 2026 · 0 likes

Latest on ShareHub

Browse Topics

#artificial intelligence (31561)#data science (24017)#ai (17024)#generative ai (15034)#crypto (15000)#machine learning (14680)#bitcoin (14244)#featured (13561)#news & insights (13064)#crypto news (11085)

Around the Network