Carmen Lok
faster inference for serving and RL training
I work on inference serving for open-weight models, mostly in vLLM, SGLang, vLLM-Omni, FlashInfer and llama.cpp, and on RL training for diffusion models. As a data scientist at Meta in ads monetization, I help teams measure and prove incremental revenue.
Writing
- 2026-12-02Giant AI models on machines too small for them · running 320B–1.6T MoE models on hardware 1.4–49× too small: tiering, mixed precision, expert skipping, speculative decoding, and a calibrated KL gate
Changelog
What I've been building and measuring.
- 2026-12-01Direct-I/O expert reads for MoE models bigger than RAM (llama.cpp, PR #33490, draft) · reads offloaded experts with O_DIRECT on several threads instead of page faults: DeepSeek-V4-Pro (852 GB) with 256 GB of RAM decodes 1.29 → 3.26 tok/s with identical output
- 2026-12-01Skinny GEMM plans for dense Qwen3 on SM121 (vLLM, PR #71129) · one-token projections skip cuBLAS on a DGX Spark; Qwen3-0.6B per-token latency 7.77 → 5.78 ms, plan data only
- 2026-11-30NemotronH prefill CUDA graphs replay only at exact sizes (SGLang, PR #54201) · padded replays picked different GEMM kernels and changed the logits on SM120; now output matches an eager forward
- 2026-11-30Fused-MoE Triton config for Qwen3-30B-A3B on GB10 (SGLang, PR #54039) · the bf16 model had no tuned config on a DGX Spark and ran the generic default at every batch size
- 2026-11-30JoyAI-VL-Interaction recipe for one RTX PRO 6000 (vLLM-Omni, PR #11356, merged) · tested single-GPU flags and expected numbers
- 2026-11-29Qwen3-TTS starts on SM120 (vLLM-Omni, PR #11355) · fused code-predictor buckets that exceed shared memory fall back to cuBLAS instead of crashing at startup
- 2026-11-29CUTLASS FP8 MoE backend rejected on SM120 at init (SGLang, PR #53954) · it loaded all weights, then crashed in graph capture because no SM120 kernel exists
- 2026-11-29Race fix in the DSA top-k indexer (FlashInfer, PR #10134) · a missing barrier returned wrong top-k values in 1,951 of 2,000 launches on SM120
- 2026-11-08Cut wasted speech-synthesis work in JoyAI-VL-Interaction serving, JD's open real-time video interaction model (vLLM-Omni, PR #10033) · in full-duplex async-chunk serving, the orchestrator prewarmed a Code2Wav (speech decoder) request on every turn; a new per-model plugin hook skips that prewarm when the reply has no audio, so text-only turns no longer start a request that was always aborted
- 2026-11-18Prefill CUDA graphs on SM120, measured (vLLM, PR #64825) · cuts median time to first token by 30-64% on slower host CPUs, neutral on fast ones
- 2026-11-18Small-batch 8-bit floating-point matrix multiply on SM121, benchmarked (FlashInfer, PR #9464, merged) · 2.6× faster at small batch sizes on a DGX Spark, with bit-identical output
- 2026-11-188-bit floating-point batched matrix multiply on SM121, benchmarked (FlashInfer, PR #8137) · 3.85× faster at batch size 1 on a DGX Spark (1.7× faster than cuBLAS); also flagged where it gets slower at very large batches
- 2026-10-01Humming vs Marlin kernels on SM121, end-to-end benchmarks (vLLM, quantization SIG, PR #56997) · worked with Ant Group on the end-to-end comparison against Marlin that helped the Humming release: Humming runs level with Marlin and matches its accuracy
Research
- 2026HeteroFlash · serving outrageously large MoE models on constrained hardware: GLM-5.3-Flash (320B) on one DGX Spark plus a workstation CPU at 29.4 tok/s, closer to the full model than a two-GPU server (KL 0.036 vs 0.042), up from 6.5 tok/s; DeepSeek-V4-Pro (1.6T) on two workstation GPUs at 5.1–6.0 tok/s with every expert computed. Models and datasets on Hugging Face
- 2026Bad-Regenerative-RL · reinforcement learning with verifiable identity rewards for streaming video generation of non-human subjects; measured why bidirectional video models cannot stream in real time (4.7 s to first frame against a 1 s target)
- 2025Scalable MDP benchmarks for RL (Georgia Tech) · rebuilt Gymnasium's Taxi and Blackjack so the state space grows with N, then compared value iteration, policy iteration, SARSA and Q-learning as the problems scaled
- 2012Evolution of human cooperation based on reputation and social networks (Göttingen) · a NetLogo model of agents on a network who cooperate or defect each round, with set payoffs and a cap on partners; used in a summer school at GWDG Göttingen
- 2011–12Empirical game theory for simultaneous auctions (Michigan) · simulated one-shot sealed-bid auctions across 24 bidding strategies and computed regrets to find symmetric Nash equilibria
Work
- 2020 → nowMeta, data scientist · ads monetization, helping teams measure and prove incremental revenue
- 2012Georg-August-Universität Göttingen, research scholarProfessor Dirk Semmann · supervised by Peter Bednarik
- 2011 → 2012University of Michigan, research assistant · Computer Science department, Strategic Reasoning Groupsupervised by Michael Wellman