Building a GPT-2 Tokenizer in Go
A developer built a streaming-friendly GPT-2 tokenizer in Go using Byte Pair Encoding (BPE) that achieves exact round-trip parity with Hugging Face's output. The project focused on minimal allocations…
A developer built a streaming-friendly GPT-2 tokenizer in Go using Byte Pair Encoding (BPE) that achieves exact round-trip parity with Hugging Face's output. The project focused on minimal allocations…
A developer built a small scheduler in Go to understand vLLM's scheduler for LLM inference, tracing each design decision back to its vLLM equivalent. The scheduler operates in a tick loop with three p…
VLLM's slack-aware preemption policies rescued urgent request attainment at high load in a benchmark on 6× A100 SXM4 80GB GPUs running Llama 70B, where the control policy collapsed to 0% urgent attain…
A new paper, FlowPrefill by Hsieh et al., proposes preempting long LLM inference prefills mid-forward-pass to rescue urgent requests that would otherwise miss their time-to-first-token (TTFT) service-…