§ the log · 35 entries

Notes from the lab.

Build logs, postmortems, and announcements. We write the failures down too — that's most of the value.

New here? Start with three reading paths in order, two series with their numbers in one table, and a glossary. →
RSS feedGitHub
A workbench in line: a 3D printer, a coil of orange cable, a laptop and an enamel mug, a small drill press and a potted banana plant, with a carved wooden bird and a shallow bowl on the shelf above.
035
agents·· 8 min read

Finding the buttons on a Mac screen you can only see through a capture card

An agent that drives a computer through a KVM gets pixels and nothing else: no accessibility tree, no DOM. We labelled 54 real screens from one Mac, trained a small detector on public macOS data, and measured it on screens it never saw. Whole-frame recall 0.93 at precision 0.87. The content area alone is closer to the line, and a second labeller moved that number more than the model did.

034
asahi·· 11 min read

Wide prefill: 832.69 to 1,820.43 tokens/s, within about 1 % of Metal on the same M2 Ultra

Our kernel-replay engine on Asahi Linux now digests a 952-token prompt at 1,820.43 tokens/s, against about 1,836.7 for llama.cpp's Metal backend on macOS on the same machine. The kernels did not change. The batch width did: 512 rows per pass and 16 column tiles per launch, the geometry Metal already used. Decode sits at 130.4 against about 144.6. The windows are not yet like-for-like, and the prefill run is a diagnostic.

033
asahi·· 10 min read

The MLX-Vulkan backend was not broken: decode 5.78 to 28.43 tokens/s

On one M2 Ultra, MLX on Vulkan measured 5.78 tokens/s of decode where llama.cpp on the same Vulkan driver measured 44.65, which looked like a broken backend. It decomposed into three measured factors: weights and adapter 4.118×, protocol 1.194×, our own patch set 1.267×. Most of the gap was our GGUF path, which runs f32 activations and spends 43 % of decode GPU time on type casts. Prefill is the real remaining weakness, still 3.5× off llama.cpp.

032
asahi·· 9 min read

Launch service, not kernel work: decode from 62.61 to 123.52 tokens/s

The first family measurement of the decode pass found the normalisation family at 49.4 % of it, acquitted the matrix-vector family of the contraction-loop pathology that cost prefill 61 %, and closed the split-K lever arithmetically. The one variable the measurement named — launch granularity — then doubled decode: 62.61 to 123.52 tokens/s behind the same 984-id gate.

031
asahi·· 15 min read

Split-K without a compiler: 516.523 to 833.559 tokens/s on an Apple M2 Ultra

A kernel-replay engine that cannot compile a kernel reached Apple's own split-K mechanism through emission instead: the same captured matrix multiply dispatched over slices of the contraction dimension, partials summed by a captured add. Prefill went from 516.523 to 833.559 tokens/s with the whole matmul family admitted. The engine was right about every value it computed and wrong about one range it declared.

030
gpu·· 12 min read

Naming the instrument: a +6% win, a vanished baseline, and 546 launches per token

We shipped a decode optimization worth +6%, went to quote it against our baseline, and discovered the baseline had quietly become unreproducible. Chasing that turned up the most useful thing we learned all week: half of our numbers were measuring something other than what we thought.

029
AI·· 7 min read

Can an AI sort out a missing delivery?

Tracking says delivered. The customer is still missing a charger. We gave an AI the case, checked the records it saved, and watched what happened when the facts changed before its next action.

028
claude-code·· 5 min read

Testing Anima: one sourced biology figure, start to finish

Anima is an MIT-licensed Claude Code skill that turns a biology mechanism into an interactive, cited figure. We vendored it next to Anatomy, whose drawing kit it shares, and built one new figure with it: caffeine at the A1 adenosine receptor, driven by a human PET study's fit (half the A1 binding at 12.5 mg/L plasma caffeine). Here is the figure, the checks the skill ran, and what those checks cannot catch.

027
Benchmarking·· 11 min read

ROCm 10.1 against 7.14 on a Strix Halo, and reproducing a small decision model on a 4090

Two same-day measurements. The same engine built against ROCm 10.1.0 and 7.14.1 decodes a 35B MoE model within about 2% of itself on a Radeon 8060S; the +35% and -19% speculative-decoding swings are draft acceptance on different output text, not kernel speed. On an RTX 4090, Jeff v1.3's published accuracy mostly holds at about 60 ms per decision, after four harness bugs were fixed.

026
Infrastructure·· 12 min read

Per-request LoRA swapping on AMD: a local decision judge one row behind hosted Jev

vLLM-Radiance now serves decision adapters: one 27B base model, adapters chosen per request and loaded while it runs (558 ms for a 218 MB adapter, 1.28 s for the 451 MB JEV-27B) and removed in 2.6 ms. AutoTrust's JEV-27B scores 112 of 135 labelled judgments locally against 113 for the hosted service. Four patches got it there, three of them linked.

025
asahi·· 8 min read

Chasing 2.94ms: barrier drains, driver arms, and an accidental rebuild win

The 2.94 ms per token gap to macOS Metal is attributed to 471 barrier drains on the GPU's compute command processor. Four candidate fixes failed, and a stale binary was hiding about 0.7 ms.

024
rdma·· 8 min read

The tail stall: rescuing a stranded Thunderbolt ACK, 3945µs → 208µs

The short final frame of every multi-fragment WQE stranded its SEND_ACK on the Asahi NHI, and the QP retry ladder took 73–143ms to notice. An immortal poll and an 800µs rescue took 8097B pingpong from 3945 to 208 µs per iteration. The session also hit a perftest version mismatch, an unsteerable AIC2 and a volume that corrupts builds.

023
gpu·· 9 min read

One admission key: how a stalled GPU campaign found 16.8% in an afternoon

Sixteen hours of measurement moved decode by half a percent. The correction was organizational: stop auditing, dispatch three parallel fix agents against the already-diagnosed wins, and gate them lightly. One fix was a single missing hash key for Apple's own kernel binary, worth 17% end to end.

022
gpu·· 11 min read

Measuring the dispatch tax: three dead hypotheses and +13% hiding in an open GPU driver

Apple M2 Ultra, Asahi Linux, llama.cpp on Vulkan: decode ran 2.5x slower than Metal and every candidate explanation was an opinion. We measured all of them, watched three of our own forecasts die against the data — polls that weren't waits, batching that bought nothing, fusion that passed byte-exact without ever running — then found the real lever and took decode from 38 tok/s stock to 72.8.

021
gpu·· 9 min read

Running Apple's compiled GPU kernels on the open driver

We lifted Apple Metal's compiled q4_0 matvec machine code out of a macOS capture and executed it byte-intact inside Mesa's Honeykrisp Vulkan driver on Asahi Linux — same M2 Ultra, same model. It passes an exact CPU reference and runs the mission decode matvec 1.8x faster than the kernel the open driver compiles, splitting the decode gap into a measured kernel-code half and a driver-execution half.

020
vulkan·· 12 min read

A barrier after every dispatch

Honeykrisp, Mesa's Vulkan driver for Apple silicon, emits a full GPU barrier and cache invalidate after every compute dispatch, whether or not anything depends on it. For a 4B model decoding on an M2 Ultra that is 547 barriers per token at 18 microseconds each, 52% of the time. Removing the barriers the application never requested is worth 20.7% with correctness unchanged. A per-bit ablation shows one unnamed bit carries the entire cost, and the 2x ceiling from removing it computes garbage.

019
Animation·· 12 min read

Ettaala: walking one lamp through an isometric house, room by room

The premise is Kevin Ngo's again. What I brought is a Ntinda house in cutaway, a camera baked into the projection instead of the canvas, and four separate discoveries that a knockout is not a lighting effect — it is occlusion, and it will erase your entire family.

018
Animation·· 13 min read

Nsenene season: a viral risograph animation, rebuilt in code and re-set in Kampala

The idea is Kevin Ngo's and the brief is a stranger's. What I brought was Uganda and a printer's model of ink: a riso separation does not overprint light on dark, it punches a hole. One index.html, 22 Ugandan scenes, an amadinda tuned to five equal steps, and a screenshot harness that caught every scene that did not read.

017
vllm·· 6 min read

A stale compile cache ate our speculative decoder

Decode throughput quietly fell 4x with identical weights, image and flags. The drafter was replaying CUDA graphs compiled for a different feature set; one moved cache directory recovered 134.3 from 34.0 t/s.

016
vulkan·· 15 min read

Raising the Honeykrisp memory cap from 63 to 151 GiB, and the first 284B model on a silent Mac Studio

An M2 Ultra advertises a 97 GiB Vulkan heap but refuses allocations past 63 GiB. Two independent Mesa limits cause it, a VA layout that halves the heap and a RAM-fraction budget, and one patch plus one environment variable raise the cap. With 151 GiB addressable, a 284-billion-parameter MoE model runs GPU-resident on a Mac Studio drawing 89 watts with its fans silent, at 2.2 tokens per second, which is decomposed below. Updated 09-14: decode reaches 7.7 t/s. The update covers a quant comparison the cap made possible, three fused ops ported, a sign-table bug only the get-rows gate caught, a control that turned out to be a strawman, and live page-cache corruption caught by comparing two digests.

015
vulkan·· 9 min read

Mapping Honeykrisp decode: +27%, and where the other half lives

An M2 Ultra decodes a 4B model at half the rate of a machine with a third of its bandwidth. Two environment variables recover 27%, and six further experiments rule out the conventional explanations. The remaining 2x lies below the kernel source and the compiler schedule.

014
Infrastructure·· 21 min read

RDMA over a Thunderbolt cable: five driver bugs, a governor worth 1.87x, and the wall that is left

A verbs device built on USB4, between an M2 Ultra Mac Studio and an AMD Strix Halo box. Five layered driver bugs behind a permanent freeze, a CPU governor that silently reverted on reboot and was halving bandwidth by 1.87x, and a root-caused wall: every queue pair funnels through one transmit ring and one spinlock per rail. Then a size sweep that killed the reported cliff, a device advertising twice the message size it can register, and a 284B model at 90.18 GiB that one machine refuses in the allocator and both machines run over the cable. Plus eleven of the author's own numbers that later measurements demolished.

013
rdma·· 14 min read

A Thunderbolt packet switch with no incarnation counter, and the five bugs it hid

A UC verbs pingpong across a Thunderbolt 4 cable froze permanently on most runs, with clean counters on both ends and empty dmesg. The frame had been DMA'd and acknowledged on the wire; the CPU just never heard about it. Five layered driver bugs sat behind that one symptom, and each was named by a counter before it was fixed.

012
rdma·· 13 min read

Thunderbolt RDMA: 8.4 microseconds, almost none of it the cable

A direct USB4 cable between a Mac Studio and a MacBook carries RDMA at an 8.4 us floor that does not move with message size, and a receive ring that admits exactly floor(1024/frames_per_msg) - 1 messages. The cable trained at 40 Gb/s. Almost none of the cost is the cable.

011
Infrastructure·· 8 min read

A 2014 workstation runs a 27B model at 39.32 tok/s on an RTX 3090 over a x2 link

Qwen3.8-27B at Q4_K_M runs at 39.32 tok/s on an RTX 3090 and 47.78 on a 4090 in an eleven-year-old HP Z840, while power-capped and on PCIe links negotiated at x2 and x4 of x16. The 3090 figure is 12% above a 35 tok/s figure for the same card and model class that the post compares against but cannot cite. Finding it meant fixing a CPU locked at base clock since installation and a GPU handed zero address space.

010
kernel·· 9 min read

Backporting Apple USB4 into an Asahi kernel, and what broke on the way

No Asahi branch has both a working GPU and Apple USB4. Backporting the host controller down into 7.1.13 got two Macs talking over a direct cable at 11.9 Gbit/s and 0.254 ms — after four bugs, one of them upstream and one of them mine.

009
Infrastructure·· 12 min read

Four GPUs with no peer-to-peer: a kernel allow-list and an IOMMU domain

The same four R9700s had all-to-all peer-to-peer on an EPYC board and none at all on a dual-socket Broadwell-EP board. The cause was one branch in drivers/pci/p2pdma.c that passes any AMD Zen+ CPU unconditionally while Intel needs a device ID that Broadwell-EP never got, plus a second gate hiding behind it. Two lines of kernel source and one boot flag took prefill up 85-91%.

008
AI·· 11 min read

The Ntinda ladder: ten community workflows, re-set in Kampala, one measured technique each

Ten MiniMax H3 community workflows recreated one rung at a time on a 4090 and a 3090, each Africanized and each required to teach one technique: a street from OpenStreetMap as the motion reference, a De-Rope pass that looked identical and measured 18% softer, six action plates and a wooden paddle, crane and whip pans proven by numbers, and a two-voice Rolex-stand dialogue transcribed back.

007
Infrastructure·· 11 min read

Tracing four fleet failures to attribution errors

Between 2026-08-31 and 2026-09-01, four fleet failures shared one root cause: a GPU index, an owner label, a bare KV-cache number, and a green HTTP response were each treated as an identity. Each case is traced to its measured evidence and ends with the concrete identifier or semantic check that replaced the bad label.

006
AI·· 8 min read

Grouped hnorm on mlx-serve: +41% accepted tokens per round, and a second tenant on the Strix Halo

A change to how mlx-serve groups RMSNorm scales raised speculative-decoding acceptance from 55.6% to 64.7% (+41% accepted tokens per round) on an M2 Ultra, with the HumanEval code suite (N=40) passing on both arms. Plus: an on-demand serve measured at 31.6 tok/s code / 247 prefill@16k running beside the live serve on one Strix Halo.

005
AI·· 12 min read

Directing a folktale with MiniMax H3: location plates, one-generation multishot, and a sparse-attention check

Three weeks of per-shot verification kept shipping films that fell apart at the cut. What fixed it: locations as first-class assets, timed multi-shot prompts in one generation, a gate that judges the assembled film, and four new laws, two of them from failed renders. Plus verbatim recreations of three community workflows and a 6.4-8.0x Triton sparse-attention measurement on 4090/3090.

004
AI·· 15 min read

Making Qwen3.8 Flash-Next fast on RDNA4: nine refutations and a 4.6x day

A 180B MoE went from 10.4 tok/s to 102.2 single-stream (437.8 at c8) on 4x R9700 - 47.96 from an in-house engine, then a community MXFP4 checkpoint doubled it. The decomposition refuted the artisan-kernel theory: speculation 1.67x, TunableOp 3.8x, hand-written GDN kernels 0.3%. Every verdict carries a receipt.

003
Local AI·· 7 min read

Running Muse Glimmer 30B on Strix Halo: a real multimodal check

A corrected Muse Glimmer 30B report: matching projector, image-present versus withheld controls, a non-diagnostic CC0 teaching-image check, compiled code generation, and a separate DFlash text-throughput result.

002
AI·· 11 min read

MedGemma on Modal: three labeled images, two adversarial inputs, and a bias

MedGemma 4B IT is now boringai's primary image model. We ran it on three labeled open-dataset images (pneumonia CXR, normal CXR, actinic keratosis) and two adversarial inputs. Summarised outputs, ground-truth comparison, the systematic bias we found, and the bug we caught writing the post.

001
AI·· 8 min read

Introducing boringai: Privacy-First LLM Gateway

A gateway that detects and redacts sensitive data — PII, credentials, secrets, PHI — before forwarding a request to an LLM provider, so the provider receives redacted text. Hosted, the original text passes through the boringai gateway; self-hosted, it stays inside your own infrastructure.

We publish when there's something real to show — features, fixes, and the failures that taught us something. Subscribe by RSS, or follow on GitHub.

A wide horizon at dusk: layered hills in muted plum and ochre above a lake that holds the last light, a family of crested cranes at the water's edge, an acacia in silhouette and a single bright star above the ridge.