Skip to main content

Posts

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

  Running PyTorch on Google Cloud TPUs is a curious experience. On paper, torch_tpu gives you a direct bridge from familiar PyTorch code onto Google’s TPU silicon. In practice, if you have ever tried to move beyond the “hello world” matrix multiplication, you have probably hit a weird, frustrating gap in the developer experience. Most official examples either stop at a toy snippet or assume you already have a dedicated multi-host TPU Cloud VM wired up to a standalone TensorBoard server. That is not how most of us actually learn or prototype. What a working PyTorch developer, researcher, or curious tinkerer really wants is much simpler: grab a free Google Colab TPU ( v5e-1 with 16 GiB HBM), spin up a real LLM, figure out why torch.compile(backend="tpu") suddenly freezes for twenty seconds mid-generation, try writing an actual custom Pallas kernel from PyTorch without losing an evening to obscure binding errors, and see what the TPU...
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. ...