Real-time inference @ Meta Superintelligence Labs · San Francisco
Distributed Inference / Training | RL | Robotics
I work on real-time inference at Meta Superintelligence Labs, which I joined through the WaveForms AI acquisition. I built the real-time inference stack behind full-duplex voice in Muse Realtime Voice (Bringing Your Muse to Life).
Before that:
- WaveForms AI: distributed training infrastructure for 1,000+ GPUs across data centers.
- Kumo (acquired by NVIDIA): platform, cloud and security for Graph ML, on-prem and SaaS.
- Founding teams at Grainite (acquired by MongoDB) and Lacework: infrastructure, security and compliance.
In open source I work on inference engines end to end: CUDA-graph capture and piecewise replay, continuous and dynamic batching, paged KV-cache admission and eviction under memory pressure, zero-copy tensor transport between workers over shared-memory arenas and Mooncake RDMA, tensor-parallel lockstep execution, and control-plane hardening.
Agent infrastructure and reliability
- TorchRL — agent state stays correct after a tool call:
IncrementalTokenizer's prompt tokens kept in sync with tool results (#4674) - AgentENV — agent gateway reliability: close slow and idle HTTP client connections (#455)
- OpenSandbox — sandbox command runs end cleanly: deleting a bash session kills every active run (#2731), closing a PTY shell stops its background jobs (#2733), and overlong output lines are split instead of buffered (#2729)
- M* — LiveKit voice agent over one session: STT, LLM and TTS (#476); semantic turn detection for
/v1/realtimewith Pipecat Smart Turn v3, so a pause mid-sentence doesn't end the turn (#672)
Inference and reinforcement learning
- M* — GPU batching and memory-pressure recovery: a refused admit unwinds exactly what it reserved (#561), the engine recovers without stranding requests (#560), and a refused batch retries smaller when nothing can be evicted (#651)
- vLLM-Omni — engine-side LoRA merge, phase 2: one hardened, capability-checked LoRA weight-sync path for diffusion and AR pipelines (#10998)
- verl-omni — LoRA weight sync to vLLM-Omni clones tensors out of the reused IPC bucket buffer (#838)
- M* — hot weight reload for RL rollouts: pause and drain across ranks (#845), with the weight version stamped on every output (#942)
- TorchRL — GSPO reinforcement learning loss for LLM post-training (#4653);
two_hot_decodestays exact under Inductor on CUDA, so DreamerV3's compiled learner trains on the right rewards (#4657) - Ray Data — failed vLLM rows keep their prompt for debugging (#67665)
- vLLM — priority scheduling: preempt running requests for higher-priority ones at
max_num_seqs(#45561) - RLinf — prefetch embodied micro-batches to the device during the update loop (#1788)
Inference performance
- M* — 2.3x faster streaming Wan VAE decode (#425) and 1.74x on Wan 2.2 with the same decoder (#437); Qwen3-Omni streams audio after 12 frames instead of 25 (#443); faster first audio for VoxCPM2 and Qwen3-TTS through CUDA-graph capture (#659, #661); no per-step host sync in the denoise loops of Cosmos3, Wan 2.2 and OmniVoice (#453); Fun-CosyVoice3 voice-cloning TTS with streamed audio (#495) and its flow solve replayed as piecewise CUDA graphs (#657)
- FastVideo —
torch.compilereduce-overhead mode works in the shared denoising loop for Wan T2V (#2047) - Mooncake — check every task in
transfer_check_status(#4913)
Robot learning and embodied RL
- LeRobot — pi0.5 denoise: read-only prefix cache and opt-in CUDA graph, 154 to 56 ms per chunk on one H200 at the same LIBERO success rate (#5152, #5153); the same for pi0 (#5188) and GR00T N1.7 (#5186); ACT with SDPA attention and a channels-last backbone (#5190), and half-precision ACT inference fixed (#5191)
- RLinf — gym-aloha env and LeRobot ACT eval (#1786); eval against running action servers (#1751)
Biology and chemistry
- OpenADMET — check whether a blinded ADMET test set is already public, by searching a local ChEMBL release (#31)
- OpenFold-3 — opt-in CUDA graph for the diffusion denoising step (#500)
- scientific-agent-skills — retrosynthesis skill for AiZynthFinder route planning (#361)
Training infrastructure
- Megatron-LM — log only the configured MoE load-balancing losses (#8809)
- DeepSpeed — report
train_lossto monitors again (#8971) - torchtitan — skip the pipeline-parallel loss-visibility hint when
LOG_RANKis unset (#5724) - Liger-Kernel — GRPO: keep the Triton gradient when
delta < 1 + epsilon_high(#1583); mask the LUSPO loss elementwise to match TRL (#1582)
Secure distributed infrastructure
- M* — removed unsafe pickle serialization from the control plane, closing an unauthenticated RCE (#407)
- M* — secure model loading, without executing checkpoint repository code (#654)
- M* — API authentication across serving endpoints (#626)
- M* — refuse a socket or upload directory as a runtime directory (#617); allowlisted remote media fetch (#645); worker and decoder error text kept out of client responses (#646); client request IDs limited to 128 safe characters (#618)
Model evaluation and observability
- M* — unified evaluation framework: one runner, a results schema, and TTS, ASR and full-duplex suites (#502)
- M* — LLM-based evaluation with measured judge agreement, on a Full-Duplex-Bench v1.5 suite (#520)
- M* — Prometheus inference metrics across the API server, conductor, workers and transport, with a Grafana dashboard (#736 to #755)
- M* — base vs PR regression matrix across GPUs, transports, stress and perceptual quality (#571)
retrolm.xyz — small fine-tuned models for single-step retrosynthesis, and the stack that serves them.
On 500 held-out USPTO-50K reactions, a 1.7B with test-time augmentation reaches 56.0% top-1 and 93.0% top-10, against 53.6% and 85.2% for Claude Opus 5.5 at medium reasoning: top-10 significantly ahead (p < 0.0001), top-1 not a significant difference (p = 0.30). A 0.6B answers in 0.21 s at $0.07 per 1,000 molecules, 23 to 90 times faster per request and 110 to 900 times cheaper than the frontier models it is measured against. Given the same training data at inference, where the LLMs may search all 40,008 training reactions while answering, the 1.7B is still ahead on top-10 (92.8% against 90.0%) at about 23 times lower cost. Evaluation is exact-match on the same reactions for every model, with training-overlap checks.
The playground serves those weights on Kubernetes: a FastAPI gateway streaming one-step proposals over SSE from vLLM and SGLang, Redis for caching, rate limits and the route queue, and a planner worker running Retro* search over a 23M-compound building-block stock, streaming every expansion back to the page. The published benchmark is open; running models live is invite-only.


