AlexCheema / talos-vs-macbook
PublicmicroGPT benchmarks: a single M4 Max MacBook Pro P-core in C runs Karpathy's 4192-parameter transformer at ~71x the throughput of TALOS-V2's FPGA implementation.
This repository provides benchmarks comparing the inference speed of a tiny character-level transformer model across Python, NumPy, MLX, and optimized C implementations on Apple Silicon Macs against an FPGA hardware baseline.
How It Works
You hear about a fun experiment comparing how fast your MacBook can generate made-up names using a tiny AI compared to special computer hardware.
Visit the page and download the simple folder to your Mac's desktop.
The folder has everything needed; it grabs the AI's brain files automatically if missing.
Double-click the 'run' script and watch different ways of running the AI race against each other, printing super-fast speeds right in your terminal.
Results show plain code is slow, but speedy tuned versions make your MacBook fly way faster than the hardware gadget.
Run a quick command to generate silly name ideas like 'kana' or 'keelan' to see the AI in action.
You now know your everyday laptop crushes tiny AI tasks with smart coding, feeling smart and amazed.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.