<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Keelin McDonell</title>
    <description>The latest articles on DEV Community by Keelin McDonell (@keelin_mcdonell).</description>
    <link>https://dev.to/keelin_mcdonell</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3879114%2Ff8e4b64c-c3e5-4213-becc-72020991b4d4.jpg</url>
      <title>DEV Community: Keelin McDonell</title>
      <link>https://dev.to/keelin_mcdonell</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/keelin_mcdonell"/>
    <language>en</language>
    <item>
      <title>Now Open Source: TorchTPU and the TPU Agent Suite for Native PyTorch on Google Cloud TPUs</title>
      <dc:creator>Keelin McDonell</dc:creator>
      <pubDate>Thu, 22 Oct 2026 21:40:37 +0000</pubDate>
      <link>https://dev.to/keelin_mcdonell/now-open-source-torchtpu-and-the-tpu-agent-suite-for-native-pytorch-on-google-cloud-tpus-186l</link>
      <guid>https://dev.to/keelin_mcdonell/now-open-source-torchtpu-and-the-tpu-agent-suite-for-native-pytorch-on-google-cloud-tpus-186l</guid>
      <description>&lt;p&gt;We’re excited to share that TorchTPU—our native PyTorch stack for Google Cloud TPUs—is now open source on GitHub, alongside the early preview of the TPU Agent Suite!&lt;/p&gt;

&lt;p&gt;Co-developed with the PyTorch team at Meta, TorchTPU brings Cloud TPUs (v5e, v5p, v6e, and v7 / Ironwood) alongside GPUs and CPUs as a native backend option for PyTorch. You can now train, fine-tune, and serve PyTorch models on TPUs with minimal code changes using the standard APIs and open-source tools you already rely on.&lt;/p&gt;

&lt;p&gt;⚡ Quickstart: Installing TorchTPU&lt;/p&gt;

&lt;p&gt;You can install the latest torch_tpu release directly via pip (Python 3.11+):&lt;/p&gt;

&lt;p&gt;python -m venv .venv&lt;br&gt;
source .venv/bin/activate&lt;/p&gt;

&lt;p&gt;pip install torch_tpu --extra-index-url &lt;a href="https://download.pytorch.org/whl/cpu" rel="noopener noreferrer"&gt;https://download.pytorch.org/whl/cpu&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🛠️ What’s Included in TorchTPU?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;⚬ Native PyTorch Experience: Debug models effortlessly in eager mode (.to("tpu")) and transition to production-grade performance with torch.compile(), backed by custom ATen kernels and an XLA compilation cache.&lt;br&gt;
⚬ Out-of-the-Box Ecosystem Integrations:&lt;br&gt;
  ⚬ Hugging Face: Deploy popular open-weight models natively in Transformers v5 simply by passing device_map="tpu", plus native Diffusers support.&lt;br&gt;
  ⚬ High-Throughput Serving: Native PyTorch backends for vLLM and SGLang, paired with llm-d for prefix-cache-aware Kubernetes fleet routing across GKE.&lt;br&gt;
  ⚬ Distributed Training &amp;amp; RL at Scale: Production-grade integrations with TorchTitan (SimpleFSDP, custom Pallas kernels), VeRL for post-training/RL alignment, and Ray for heterogeneous compute orchestration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🤖 Introducing the TPU Agent Suite (Early Preview)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To make onboarding and performance tuning even faster, we’ve also open-sourced the TPU Agent Suite in preview. It provides declarative bundles of multi-agent skills, routing protocols, and tools that compile and install natively across coding agent harnesses (including Claude Code and Antigravity, with Codex and Cursor support coming soon).&lt;/p&gt;

&lt;p&gt;With the tpu-agent skill enabled, you can use natural language prompts directly in your coding environment to automate:&lt;/p&gt;

&lt;p&gt;⚬ Model Onboarding &amp;amp; Benchmarking: Spin up vLLM inference servers on torch_tpu, run test completions, and benchmark TTFT, ITL, and throughput.&lt;br&gt;
⚬ Profiling &amp;amp; Diagnostics: Analyze XProf profiles to pinpoint memory bottlenecks and TPU compute utilization.&lt;br&gt;
⚬ Kernel Optimization: Optimize custom Pallas kernels and run automated self-refinement benchmark loops.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🔗 Resources &amp;amp; Links&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;⚬ TorchTPU GitHub Repository: &lt;a href="https://github.com/google-pytorch/torch_tpu" rel="noopener noreferrer"&gt;https://github.com/google-pytorch/torch_tpu&lt;/a&gt;&lt;br&gt;
⚬ TPU Agent Suite GitHub Repository: &lt;a href="https://github.com/google-pytorch/tpu-agent-suite" rel="noopener noreferrer"&gt;https://github.com/google-pytorch/tpu-agent-suite&lt;/a&gt;&lt;br&gt;
⚬ Official Google Cloud Documentation: &lt;a href="https://docs.cloud.google.com/tpu/docs/pytorch-on-tpu" rel="noopener noreferrer"&gt;https://docs.cloud.google.com/tpu/docs/pytorch-on-tpu&lt;/a&gt;&lt;br&gt;
⚬ Launch Blog Post: &lt;a href="https://cloud.google.com/blog/topics/ai-infrastructure/torchtpu-is-now-open-source-run-native-pytorch-on-tpus" rel="noopener noreferrer"&gt;https://cloud.google.com/blog/topics/ai-infrastructure/torchtpu-is-now-open-source-run-native-pytorch-on-tpus&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We’d love for you to try out both projects! If you have questions about migrating a workload, feedback on the agent skills, or run into any issues, drop a reply below or open an issue directly on the GitHub trackers. What PyTorch workloads are you most excited to test on TPUs?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>opensource</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
