What I've been working on at Uber Eats, the ML and retrieval ideas I've been learning, and what I want to explore next.
I built an LLM inference server with PyTorch, FastAPI and Hugging Face Transformers, then measured how the KV cache really helps: 2.2x speedup at 32 tokens, 7.3x speedup at 512.
I added token streaming to my LLM inference server, shipped an emoji bug without noticing, and measured what streaming really buys you: first text in 0.24 s whether the answer is 32 tokens or 512. It doesn't make generation faster though, and it falls apart the moment a few users show up at once.