LingBot Map 2.0 MI210 optimization preview
π This is the concise version (~3 min). For the full engineering details (design decisions, algorithm / reward, diagnostics, reproduce commands), read the deep-dive β
Overview
We moved LingBot Map 2.0’s long-context attention on one AMD Instinct MI210 (gfx90a) away from a generic ROCm fallback that did not fit the exact-shape workload, into a project-owned, explicitly selected, fail-closed vLLM fast path.
The baseline post-prefix mean was 246.75 ms/frame, or about 4.05 FPS. After binding source, container image, runtime, GPU architecture, and both compile-cache trees, repeated second-process measurements produced a pooled post-warm median of 101.722 ms/frame, or about 9.831 FPS.
The median is not the whole result. With every spike retained, the pooled mean was 115.341 ms/frame, or about 8.670 FPS, including 16 spikes over 200 ms. We therefore say βtypical behavior near 10 FPS,β while the formal P1βP5 conclusion remains deployment-stable 10 FPS: REJECTED.
Responsibility boundaries
- MI210 /
gfx90ais the fixed hardware and ISA target; the result does not automatically extend to other GPUs. - The vLLM backend owns paged K/V cache use, backend selection, and the
write β run β committransaction boundary inside LingBot Map 2.0. It does not turn the whole SLAM pipeline into LLM serving. - Triton implements the project-owned partitioned-attention kernel and reducer. Isolated kernel time cannot stand in for end-to-end streaming FPS.
torch.compilecovers suitable non-attention tensor regions such as DPT and CameraBlock; cache publication and Python transactions remain eager.
The final partition-v3 uses vector page lookup for full partitions, exact handling for the tail/current K/V, and FP32 softmax statistics to merge partial outputs. The deployment wrapper verifies source, image, runtime, Inductor/Triton caches, and GPU identity together. A cache miss fails closed, and output is validated in isolation before atomic publication.
Failures we kept in the story
AITER CK had no matching kernel for this exact shape; internal repaging was slower; fixed Camera buffers, a full RoPE cache, and synthetic prewarm had no stable benefit; aggressive whole-frame compilation caused unacceptable output drift; and a correct FlyDSL prototype did not beat Triton partition-v3. CPU/NUMA pinning, input preload, and additional full prewarm also failed to remove the tail.
Those failures constrain the conclusion: a spike-filtered attractive run cannot replace repeated measurements, functional correctness cannot replace real-time stability qualification, and the still-open, unmerged split PR stack cannot be described as upstream support.
Quality and claim boundary
Official KITTI odometry qualification currently covers scene 04 only: 1/11 scenes. It is not a KITTI aggregate and not the full seven-dataset protocol. This article is also not a fair cross-runtime or cross-GPU benchmark; every performance number describes one fixed, single-MI210, single-stream qualification.
Explicitly rejected: stable 10 FPS deployment (REJECTED); isolated Triton latency equals end-to-end FPS; KITTI scene 04’s 1/11 scenes establishes overall quality; or open PRs are already merged upstream.
Start review from LingBot Map 2.0 upstream and the complete reference fork. Before reproducing, follow the repository deployment documentation to revalidate the container, ROCm/PyTorch/HIP versions, gfx90a, source, and both caches. Any change requires re-priming and a new physical acceptance run.
π Want more? Full engineering details in the deep-dive.