Blog

Writing

I’m building a robot and writing down what happens. Mostly the useful parts: what broke, what worked, and what changed.

  1. PinnedKernels, fusion, and where the time actually goes

    The tensor cores were never the bottleneck: bf16 already runs at 97% of their peak. The gap was the glue kernels around the matmuls, and it took a byte ledger to see it.

    62 lessons · 97% of tensor peak
  2. PinnedEvery way one simulator's walk dies in another

    Isaac said they walked; the independent checker fell every time. Actions never clipped at the training limit, playback at training damping instead of the real motor's.

    26 lessons · damping 42 vs 10
  3. PinnedReward design, and every way the policy gamed it

    The reward paid for touchdowns and nothing punished their count, so 195 tiny steps scored like 14 real ones. The shuffle was the optimum.

    56 lessons · 195 strikes vs 14 planned
  4. PinnedSeeds, checkpoints, and the statistics of passing

    The plan rested on a guess: at a 30% per-seed pass rate, one of 4 seeds passes by luck alone; the arithmetic killed it before the GPU hours did.

    74 lessons · 76% pass by luck
  5. PinnedWhat the bytes actually cost when you shrink them

    Half the bytes bought 1.18×, not 1.7×. Q8 proves the bus sustains 41 GB/s, so Q4 leaves a third of it unused. That is the dequantization cost.

    74 lessons · 16.5 vs 11.3 tok/s
  6. PinnedA VLA on 8 GB: the cache, the memory, the latency

    The SSD cannot hold the weights: streaming layers read every step costs 81 s a chunk. Offload works only for what the model rarely reads.

    114 lessons · 81 s per chunk
  7. PinnedBaselines, harnesses, and how the measuring went wrong

    The slow blur was assumed to be part of the benchmark. An equivalent fast version gave identical output. It was never the benchmark, just slow.

    79 lessons · 13 ms vs ~2,800 ms
  8. 01Anvil-1: π₀.₅ in real time on an 8 GB Jetson

    Rewriting π₀.₅ in Rust and W8A8 Hadamard PTX runs action chunks in 323.4 ms inside 4.8 GB on an 8 GB Jetson, within 2 points of full precision across 1,936 paired episodes.

    Nov 2026 · engineers
  9. 02Teaching the voice to read the arm’s mind

    A 5 MB translator copies the arm policy’s memory into the voice model. “What are you doing?” goes from 0% to 88%.

    Oct 2026 · engineers
  10. 03I paid my robot to walk. It learned to stand still.

    The reward paid a robot that never moved 0.956 of the maximum. Tuning the number was a patch; giving it a walk to copy was the fix.

    Sep 2026 · no prior knowledge needed
  11. Day 01There is no VRAM on this board

    The board shows 7,620 MB of one shared pool, not 8,000.

    Sep 1 · engineers
  12. Day 02Power modes, Super, and why TOPS lie

    At 15W the caps are 612 MHz GPU and 2133 MHz memory clock, not the poster clocks.

    Sep 2 · engineers
  13. Day 03The fit equation: weights + KV + vision

    KV cost per token comes from three numbers in the model file: 144 KB for Qwen3-4B, 56 KB for Qwen2.5-7B.

    Sep 3 · engineers
  14. Day 04Instrumentation is the only legal language

    A harness records the mode, clock cap, release, commit and idle, then takes 30 samples.

    Sep 4 · engineers
  15. Day 05System occupancy by subtraction

    43 services run at idle with the desktop up.

    Sep 5 · engineers
  16. Day 06Arithmetic intensity of the camera path

    The same 720p frame became a GPU tensor in 11.35 ms with CPU work and a copy.

    Sep 6 · engineers
  17. Day 07A fused Ampere preprocess kernel

    Fusing three kernels into one cut the preprocess from 479.9 us to 205.5 us per frame.

    Sep 7 · engineers
  18. Day 08TensorRT plugins when the graph has a hole

    Folding the preprocess into the resnet18 engine cut end-to-end time from 6.27 ms to 5.31 ms per frame.

    Sep 8 · engineers
  19. Day 09Rust as host, CUDA as device

    Same fused kernel, two hosts, a pageable copy inside the timed loop.

    Sep 9 · engineers
  20. Day 10A reproducible kernel artifact

    Days 7 to 9 frozen at commit a23e893 in jetson-8gb-kernels.

    Sep 10 · engineers
  21. Day 11ONNX contracts and CUDA Graphs

    Both engines captured a CUDA graph.

    Sep 11 · engineers
  22. Day 12FP16 baseline, INT8 on trial

    INT8 ran 1.38x faster than FP16 on resnet18 and agreed with FP32 on 82.4% of images.

    Sep 12 · engineers
  23. Day 13Name the runtime correctly

    llama.cpp and ollama decoded Qwen3-1.7B at 23.4 and 22.7 tok/s.

    Sep 13 · engineers
  24. Day 14Quantization Orin can execute

    Q4_K_M decoded 1.18x faster than Q8_0, not 2x, and scored the same 8/10 on the tool cases.

    Sep 14 · engineers
  25. Day 15Builder memory vs. runtime memory

    The build peaked at 3167 MB of process RSS, under the 4096 MB workspace flag.

    Sep 15 · engineers
  26. Day 16Keep the frame on the GPU side

    The CPU JPEG path, jpegenc then jpegdec, took 16.95 ms per 720p frame: 51% of the frame budget.

    Sep 16 · engineers
  27. Day 17Embeddings as the cheap semantic layer

    ViT-B/32 embeddings ran at 68 fps in 500 MB.

    Sep 17 · engineers
  28. Day 18Detectors under a RAM cap

    yolo11n ran 19.5 ms slower than yolov8n with fewer flops.

    Sep 18 · engineers
  29. Day 19Vision tokens are context tokens

    For Qwen2.5-VL-3B, 4.4x the vision tokens gave 2.9x the wait.

    Sep 19 · engineers
  30. Day 20The live pipeline exam

    p99 was 18.8 ms against a 33.3 ms period.

    Sep 20 · engineers
  31. Day 21Choose the house SLM

    Qwen3-4B Q4 is the house model: tools 5 of 5, restraint 2 of 2.

    Sep 21 · engineers
  32. Day 22Prefill, decode, and the wrong headline

    One Qwen3-4B tool call took 2,061 ms on the board, the median of five, and three reruns on 2026-10-04 gave 2,070 / 2,061 / 2,066 ms (15 calls, p10 1,431, p90 4,076): 796 ms to the first token, then 1,265 ms for 10 JSON tokens at 7.1 tok/s on that call.

    Sep 22 · engineers
  33. Day 23Tool calling as the acceptance test

    Qwen3-4B passed 8 of 10 frozen tool cases, restraint 2 of 2, in two free runs that matched row for row.

    Sep 23 · engineers
  34. Day 24Serving shape: process, not notebook

    On a 10-minute soak, llama-server and ollama started in 40,020 and 41,998 ms and decoded at 10.8 and 11.2 tok/s.

    Sep 24 · engineers
  35. Day 25Packing STT + SLM + TTS + eyes

    The floor and three residents, desktop up, took 5,178 of 7,620 MiB and left 2,442.

    Sep 25 · engineers
  36. Day 26VLM latency is not VLA latency

    On Qwen2.5-VL-3B one image-to-action step took 2,617 ms, 76% of it prefill.

    Sep 26 · engineers
  37. Day 27The Nano-legal VLA menu

    Two tests, a named board and a GB that fits, left two names on the menu, NanoVLA and a planner.

    Sep 27 · engineers
  38. Day 28Architecture that buys Hertz

    In the sim, torque held 30 ms stale made the biped fall at 0.83 s, before its first planned step.

    Sep 28 · engineers
  39. Day 29Policy Hz vs. control Hz

    In the sim the same controller walked 1.19 m at 1000 Hz and fell at every rate I tried from 200 Hz down.

    Sep 29 · engineers
  40. Day 30The budget I would defend in a room

    Day 25's residents took 5,178 of 7,620 usable MiB and left 2,442.

    Sep 30 · engineers
Technical recordBuild logs, measurements, and the robot archive