Shivam Sahni
San Francisco
I'm a senior ML engineer at Together AI, where I work on making AI models respond faster and more cheaply.
I'm happiest when something is slow and nobody knows why yet.
Path
- nowTogether AI. LLM inference: speculative decoding and fast sampling. Mostly making things wait less.
- beforeLinkedIn. AI infrastructure, and co-authored Liger Kernel.
- 2024UC San Diego. M.S. in Computer Science. Learned to love the sun.
- 2022IIT Gandhinagar. B.Tech in CSE. Where I picked up most of my habits, good and bad.
Publications
-
SonicSampler: Unified Tile-Aware Kernels for LLM Sampling and Speculative Verification
Pragaash Ponnusamy*, Shivam Sahni*, Jue Wang, Tri DaoCOLM 2026One fused GPU kernel for the whole sampling step, up to 16× faster than existing approaches.arXiv · * equal contribution
-
Liger Kernel: Efficient Triton Kernels for LLM Training
Pin-Lun Hsu, Yun Dai, Vignesh Kothapalli, Qingquan Song, Shao Tang, Siyu Zhu, Steven Shimizu, Shivam Sahni, Haowen Ning, Yanning Chen, Zhipeng WangICML 2025, CODEML WorkshopOpen-source kernels that make LLM training about 20% faster with 60% less memory.
-
Accurate and Scalable Gaussian Processes for Fine-Grained Air Quality Inference
Zeel B. Patel, Palak Purohit, Harsh Patel, Shivam Sahni, Nipun BatraAAAI 2022Gaussian processes that estimate air quality at fine resolution, accurately and at scale.
Earlier work
- Exploring Multilingual Text Data DistillationarXiv 2023
- Program Synthesis: Does Feedback Help?CODS-COMAD 2022
- Indian Classical Music SynthesisCODS-COMAD 2022
- Exploring Explainability Methods for Graph Neural NetworksarXiv 2022
- Trust as a Metric for Resiliency in Signed Social NetworksarXiv 2021
- Image Inpainting using Partial ConvolutionarXiv 2021
Otherwise
I play soccer and badminton, and recently started climbing, which so far mostly means falling. I also enjoy competitive programming (Candidate Master on Codeforces). Ask me about the best burrito in SF.