Sweat Capital: Ripping Out TEI for a 27x Embedding Speedup with Go and Custom CUDA
Why I ripped out Hugging Face TEI and built a Go + custom-CUDA embedding engine that runs fast on sub-H100 hardware.
READ ARTICLETechnical deep-dives on GPU memory, sorting, and deterministic compute.
Why I ripped out Hugging Face TEI and built a Go + custom-CUDA embedding engine that runs fast on sub-H100 hardware.
READ ARTICLEVoxell's MTEB(eng, v2) submission: architecture, training methodology, contamination defense, and API access.
READ ARTICLEYour retrieval system reruns the same expensive searches and never tracks which results helped. The retrieval N+1, and how closing the loop changes things.
READ ARTICLEYour retrieval cache predicts what to preload and never learns if it was right. The open-loop problem, and what closing the feedback loop unlocks.
READ ARTICLESame query, different results. The floating-point problem that quietly breaks reproducible embeddings, and what bit-exact determinism takes in production.
THREAD A: (a + b) + c = 0.30000000000000004
THREAD B: a + (b + c) = 0.3
// SAME INPUTS. DIFFERENT OUTPUTS. NONDETERMINISM.
Your vector index burns GPU bandwidth chasing pointers through random memory, and a brute-force linear scan often beats HNSW on the GPU.
Your H100 sits idle 40% of the time, starved by a data supply chain that can't keep up. Here is the physics, and why the real fix is architectural.
READ ARTICLE