Research

(4)

I asked Gemma 4 - 31B to build something during my flight

So I took an extremely short flight (1 hour) without any in-flight internet. So naturally I thought this was the perfect opportunity to put an agent with a local model to use. At this point, I had used and experienced all sorts of personal agents/assistants from openclaw when it launched (I'm sure I...

2026-06-23

Hermes Agent x Gemma 4 (31B dense) was put to use during my extremely short flight to test its intelligence

Squeezing a 26B diffusion LLM onto a Mac

TL;DR I set out to make DiffusionGemma - a 26B-parameter, ~4B-active mixture-of-experts block-diffusion text model - fast enough to be a real interactive tool on a single Apple M5 Pro (48 GB, macOS 27 beta). The stock MLX inference path ran at ~18 tok/s on my original short repro, ~23–27 tok/s on a...

2026-06-15

Optimizing DiffusionGemma (26B-A4B-IT-4Bit) on an Apple M5 Pro, what worked, what didn't.

Fine-tuning a model in MLX

I kept staring at my own tweets wondering why some of them landed and some of them didn't. Same brain, same topics, wildly different engagement. After enough scrolling through my own analytics, a dumb question got stuck in my head: my high-engagement tweets clearly share something, some texture or r...

2026-06-02

Building a personal tweet-writing assistant on Apple Silicon

Speculative Decoding in MLX with DFlash

Introduction Speculative decoding is frequently cited as one of the more effective techniques for accelerating inference in large language models, with reported speedups typically falling in the 2x to 4x range over standard autoregressive decoding. The mechanism is straightforward: a smaller draft m...

2026-04-22

An empirical evaluation of speculative decoding on Apple Silicon, across a 300-run parameter sweep

Engineering

(4)

Running Bonsai 27B as an agent on my phone

Prism dropped Bonsai 27B and I couldn't stop thinking about it. A 27 billion parameter model, quantized down to roughly one bit per weight, landing at about 4GB on disk. That's a phone-sized download for a model that has no business being phone-sized. Everyone's first instinct with a number like th...

2026-06-17

Running a 27B model (1-bit) on my phone and letting it perform agentic tasks

WWDC26: CoreAI, Foundation Models and the future of AI

WWDC26 has been crazy this year. Apple focused on three main categories for the main keynote: Platform improvements (across iOS/macOS and all other operating systems), Trust and safety, Apple Intelligence and Siri. Apple brushed past the OS upgrades (which are usually split into its own sections: iO...

2026-06-09

Thoughts about everything that happened this WWDC, a lot of Siri and what the future of AI on Apple Silicon looks like

Running Local LLMs on Xcode

Apple Silicon is fast enough to run real language models locally. No API keys, no servers, no network round trips. And if you're already an iOS or macOS developer, you don't need to leave Xcode or learn Python to do it. This article walks through setting up a Swift package that runs a quantized Qwen...

2026-05-05

How to get local LLMs running on Xcode using MLXSwift

Clear Segmented Picker

A segmented picker is one of those UI components that sounds trivially simple until you actually try to ship a polished version of it. At its core, it's just a row of options where exactly one is selected β€” but the way it looks and feels communicates a lot about the quality of your app. A sluggish a...

2026-02-25

Building a transparent, glassy segmented control for iOS β€” because the native one just isn't good enough.

Events

(2)

Psychology

(1)

Machine Learning

(2)