Skip to main content

Posts

TorchTPU-Lens: Serving, LoRA Fine-Tuning, and Live Pallas/XProf Inspection on a Free Colab TPU

  If you have spent any time running PyTorch workloads on Google Cloud TPUs using torch_tpu , you have probably noticed an awkward gap in the developer experience. Most official examples either stop at a toy matrix multiplication or assume you already have a dedicated multi-host TPU Cloud VM wired up to a standalone TensorBoard server. Meanwhile, what a working PyTorch developer actually wants is simple: spin up an LLM on a free Google Colab TPU ( v5e-1 with 16 GiB HBM), see why torch.compile(backend="tpu") suddenly freezes for twenty seconds mid-generation, try a real custom Pallas kernel from PyTorch without fighting obscure binding errors, and inspect what the TPU spent its cycles on without installing TensorFlow into a PyTorch environment. For the TorchTPU Sprint, I built TorchTPU-Lens —a small, self-contained, Apache-2.0 developer toolkit and 4-tab Gradio visual playground that brings all of those pieces together in one place....
Recent posts

Surviving Agentic Fork Storms on Cloud TPUs on GKE

  KUBECON NA 2026 · GKE INFERENCE GATEWAY · CLOUD TPU v6e Why naive prefix-sticky routing makes tail latency 2.8x worse under parallel agent bursts, how capacity-aware routing and disaggregated Cloud TPUs fix it, and the distributed systems war stories uncovered along the way. By Rabimba Karanjai · Interactive Slide Deck · Open-Source Reference Architecture At KubeCon NA 2026, I gave a fifteen-minute talk on serving multi-agent workloads on Google Kubernetes Engine (GKE) and Cloud TPU v6e (Trillium). Fifteen minutes on stage is just enough time to frame the bottleneck, sketch the architecture, and show a benchmark table. It leaves almost no room to explore why standard prefix-caching setups break down in production, or to unpack the distributed systems traps that emerge once concurrent streaming traffic hits a cluster. This post is the written compa...

Testing Gemini Carbon on “Jagged AGI”

  GEMINI CARBON EARLY ACCESS · AGENT ARCHITECTURE · EMPIRICAL REPLICATION Testing Gemini Carbon on “Jagged AGI”: 3D Portal Physics, W.H. Auden, and a $20k Autonomous Business What happened when I ran Ethan Mollick’s open-ended “Fable 5.2” prompts verbatim on Gemini Carbon, watched unguided agents invent the exact same manta-ray tropes, and built multi-agent guardrails to fix what broke. By Rabimba Karanjai · Live Observatory: rabimba.github.io/carbon-lens · Code: github.com/rabimba/carbon-lens Courtesy of Google DeepMind, I have had early access to Gemini Carbon for the past few weeks. Whenever I get my hands on a new frontier model, my first instinct is to skip synthetic leaderboards and throw messy, multi-hour engineering problems at it to see where the wheels come off. ...