What a GPU kernel is, explained without math
Folding about thirty small launches per token into one raised our plain decode from 67.13 to 81.98 tokens per second. Kernels are where speed is won or lost, and most of what we learned was about waiting.
Posts with this tag: 9
Folding about thirty small launches per token into one raised our plain decode from 67.13 to 81.98 tokens per second. Kernels are where speed is won or lost, and most of what we learned was about waiting.
One kernel trace read before any code changed pointed at scalar loads, a serial router and extra launches. The count of launches per token fell from 1,217 to 727. Reading the prompt in batches added another gain.
A beginner's guide to profiling. Measure first, find the biggest share, test the cheapest fix, and only then build. A real case turned a six times slowdown into one small change.
84 article pictures went from 126 MB of PNG to AVIF files that average 36 KB at 960 pixels wide. A phone gets a 14 KB version. We also show the honest numbers at full width.
A browser or a CDN keeps copies of files. On gllm.forum, a four hour copy of a stylesheet made our layout fix invisible, and the same trap had already caught another of our sites a week earlier.
The aiazic.com world loads the first room small and streams the rest by distance. Our notes give real numbers, such as a first load that fell from 2.46 MB to 1.42 MB, and a phone test that went from 2.09 MB to 1.06 MB.
A function profile says which code is hot. corewait says why each instruction is slow, on a desktop and on Android phones, so you can pick the right fix.
A picture tool added the logo band and the AI-generated notice, then wrote AVIF with a WebP fallback at three sizes. On desktop a visitor now gets 36 KB where the old WebP gave 99 KB, and a 390 px phone gets 14 KB.
Every commit to our notes used to rebuild the whole network in 49 seconds and 8.40 GB. Four changes brought a warm refresh to about 16 seconds and 5.78 GB on 2026-11-06. On 2026-11-19 the warm refresh took 15.6 seconds but peaked at 7.40 GB, which fails our 6.5 GB line. An unchanged input costs 1.5 seconds.