Start here.
boracode is the lab of Ronald Adonyo, a computer engineer and software developer in Kampala. It builds AI and systems work on real hardware (Macs running Linux, AMD and NVIDIA GPUs, a Thunderbolt cable between two machines, video models on two graphics cards) and then measures whether the result held. The journal is written as lab notes for people who already know the field. This page is the way in: three reading paths, each listed in the order to read it, and a glossary for the terms the posts use without explaining.
AI basics
How a language model's speed and answers are measured, what an adapter is, and how a small decision model is checked against its published accuracy.
- A 2014 workstation runs a 27B model at 39.32 tok/s on an RTX 3090 over a x2 linkStart here. It explains the two speeds every benchmark reports (reading the prompt and writing the answer) and checks one old workstation against published figures.
- MedGemma on Modal: three labeled images, two adversarial inputs, and a biasHow to test a model's answers against labelled examples, with three medical images and the bias the test turned up.
- A stale compile cache ate our speculative decoderWhat speculative decoding is, and how a server kept giving correct answers at a quarter of its speed with nothing in the logs.
- Per-request LoRA swapping on AMD: a local decision judge one row behind hosted JevWhat a LoRA adapter is, and how one base model serves a yes/no decision adapter chosen per request.
- ROCm 10.1 against 7.14 on a Strix Halo, and reproducing a small decision model on a 4090Re-running a small decision model's published accuracy on a 4090, and the four harness bugs that had to be fixed before the numbers meant anything.
GPU and systems
An Apple GPU running Linux, a Thunderbolt cable turned into a network for GPUs, and AMD cards that could not talk to each other until the kernel allowed it.
- Mapping Honeykrisp decode: +27%, and where the other half livesThe starting point for the Apple GPU work: a Mac Studio running Linux, and why it decoded at half the rate a slower machine managed.
- A barrier after every dispatchWhat a GPU barrier is and what it costs when the driver adds one after every launch, measured one bit at a time.
- Backporting Apple USB4 into an Asahi kernel, and what broke on the wayHow the Mac got a working Thunderbolt port under Linux. Every networking post after it depends on this.
- Thunderbolt RDMA: 8.4 microseconds, almost none of it the cableRDMA over one cable between two Macs: an 8.4 microsecond floor, and how little of it is the cable.
- Four GPUs with no peer-to-peer: a kernel allow-list and an IOMMU domainOn AMD: why four GPUs could copy to each other directly on one motherboard and not on another, and the two kernel lines that fixed it.
- Making Qwen3.8 Flash-Next fast on RDNA4: nine refutations and a 4.6x dayA large model on four AMD R9700 cards, taken from 10.4 to 102.2 tokens per second, with every theory for the speed-up tested.
Film and AI
Making short films with video models and with code, set in Kampala, with each technique checked on the finished frames.
- Directing a folktale with MiniMax H3: location plates, one-generation multishot, and a sparse-attention checkThe method: locations treated as reusable assets, several shots in one generation, and a check that judges the cut film rather than each shot.
- The Ntinda ladder: ten community workflows, re-set in Kampala, one measured technique eachTen community video workflows rebuilt in Kampala, each one teaching a single technique and each technique measured.
- Nsenene season: a viral risograph animation, rebuilt in code and re-set in KampalaA risograph-style animation written entirely as code: 22 Ugandan scenes in one HTML file, checked on a contact sheet.
- Ettaala: walking one lamp through an isometric house, room by roomOne lamp carried through a cut-away Ntinda house, and what went wrong each time one drawn layer hid another.
Two long investigations
Each series page lists its posts in order with the result of each, and puts the headline numbers in one table. Where two posts give different numbers for the same thing, both are shown with a note.
