Soham Dutta

I build inference infrastructure for large language models: KV-cache memory management, request scheduling, and the benchmarks that show whether a change actually helped. Most of my work is in Rust, CUDA and Python.

Before moving to systems I did research on stochastic modeling at IIT Bombay and the Indian Statistical Institute. I’m looking for roles in ML infrastructure and inference engineering.

Projects

Rust, CUDA

paged-kv-cache

A KV-cache memory manager modeled on vLLM’s PagedAttention, written from scratch: a refcounted block allocator, per-sequence block tables with copy-on-write forking, prefix caching, and a continuous-batching scheduler with preemption. The core crate has no dependencies and runs on a CPU reference backend that doubles as the numerical oracle for the CUDA kernels.

  • Contiguous, max model length 4.0
  • Contiguous, prompt + max new tokens 8.5
  • Contiguous, exact final length (oracle) 12.0
  • Paged, 16-token blocks 18.5
Mean batch size when the same request stream runs through an 8,192-token pool. Paging fits 4.6× the batch of max-length reservation, and 1.5× that of an allocator told every output length in advance.

With prefix caching on, a chat workload where most requests share a system prompt computes 69% fewer prompt tokens and nearly doubles the mean batch. The workspace has 130 tests, including randomized checks that every block’s refcount matches the block tables that point at it.

Python, TypeScript

faultline

A fault-injection harness for tool-using LLM agents. A proxy between the agent and its tools injects rate limits, timeouts, truncated JSON, stale or subtly wrong data, and writes that commit but report failure. Each trial is graded on the state of the world the agent leaves behind rather than on what it says, and fault schedules are seeded so every architecture faces the same failures.

The scripted control sweep already shows the shape of the problem: client retries lift the pass rate under rate limiting from 50% to 94%, but do nothing for stale or wrong data, which reads back the same way every time.

In progress

  • Communication–compute overlap scheduler. PyTorch autograd hooks that bucket gradients and launch NCCL all-reduce while the backward pass is still running, benchmarked on rented multi-GPU instances.
  • RadixAttention benchmarks. Measures SGLang’s prefix reuse on multi-turn agent sessions, multi-agent fan-out, RAG pipelines and self-consistency sampling, with Prometheus and Grafana tracking cost per thousand agent turns.
  • Stateful agent memory. A hot, warm and cold memory hierarchy with salience scoring and KV-cache eviction, served through vLLM and LMCache.

Earlier

  • MLIR Transform-dialect autotuning. Matmul kernel optimization driven by the MLIR Transform dialect, written up as a paper-style report.
  • Agent-to-agent messaging. Asynchronous message passing that lets autonomous agents negotiate and split up tasks, built for a departmental project at IIEST Shibpur.
  • Graph VAE for molecules. A graph variational autoencoder that generates molecular structures from graph representations of compounds.

Research and work

2024–2025

Research associate, Applied Statistics Unit, Indian Statistical Institute, Kolkata

Monte Carlo simulated annealing to search for mutually unbiased bases in four-dimensional quantum systems, with simulations in Qiskit, PennyLane and D-Wave.

2024

Summer research intern, FedEx Centre for Advanced Logistics and Analytics, IIT Bombay

Stochastic models for financial risk: Markov decision processes and MCMC samplers, SDE models of asset prices, and over 200 simulation runs studying how random walks converge to geometric Brownian motion under Donsker’s invariance principle.

2023

Data science intern, Entiovi Technologies, Kolkata

Regression models, fit with SGD and genetic-algorithm search, to optimize production output for an industrial refinery client.

Education

2025–2026

M.Tech, Signal Processing, IIEST Shibpur

Left the program in 2026.

2021–2025

B.Tech, Computer Science and Engineering, Heritage Institute of Technology, Kolkata

Programs

  • Amazon ML Summer School, selected scholar
  • Indian Academy of Sciences Summer Research Fellowship