TorchTPU starter notebooks: run PyTorch on Google TPUs free via Colab, no setup needed
Sam_Witteveen · x · 2026-11-30
Sam Witteveen is experimenting with TorchTPU (PyTorch on Google TPUs) and released a starter repo (samwit/TorchTPU-basics) with four notebooks that all run on a hosted Colab TPU runtime — no cloud project, API keys, or Drive mounts needed:
- 01: tour of TorchTPU core features with benchmarks
- 02: self-checking quickstart to verify setup
- 03: CNN training on Fashion-MNIST comparing eager/fuse/compile
- 04: running a pretrained HuggingFace LLM (Qwen3-0.6B) on the TPU
With TPU quota, TorchTPU opens up faster model training opportunities; more content to come.
More from Infra
- SealKV: 2-4bit KV cache quantization cuts memory 3.5x losslessly, headed to Trainium4 — tri_dao · 2026-12-06
- Founder: self-building AI compute means $50M prepaid rentals or a $150M cluster — wonderwomancode · 2026-12-06
- Commerce's own data undermines the military case for China chip export controls — kevinnbass · 2026-12-06
- Starlink direct-to-cell connects Brazil's 158,000 km of power lines in dead zones — XFreeze · 2026-12-06
- Dual Quadro RTX 8000 (96GB) benchmarks: four coding LLMs, planted-bug review results — Common-Pay3607 · 2026-12-06
- Dual RTX 8000 rig benchmarks 4 local LLMs: Qwen4-35B-A3B hits 15/15 planted bugs at 77 t/s — AggressiveManager450 · 2026-12-06