Metraipolis › archive › dc_1a59855cee2f

From GPU to TPU with Coding Agents: What Works, What Fails, and What It Costs? — arXiv:2610.34422

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.34422
License (as archived)
CC0-1.0
Archived
2026-10-27T08:14:33.998Z
SHA-256 of the archived text
7a80af0c283f16f9b8b91cc595f1570b33d59a4936e1ff9018d7f4f8e5a7aba7
Stable URL of this page
https://metraipolis.com/documento/dc_1a59855cee2f

How to cite

From GPU to TPU with Coding Agents: What Works, What Fails, and What It Costs? — arXiv:2610.34422 — arXiv (en), https://arxiv.org/abs/2610.34422 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_1a59855cee2f (Metraipolis archive dc_1a59855cee2f, sha256 7a80af0c283f16f9b8b91cc595f1570b33d59a4936e1ff9018d7f4f8e5a7aba7)
BibTeX
@misc{dc1a59855cee2f,
  title = {From GPU to TPU with Coding Agents: What Works, What Fails, and What It Costs? — arXiv:2610.34422},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.34422},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_1a59855cee2f; sha256 7a80af0c283f16f9b8b91cc595f1570b33d59a4936e1ff9018d7f4f8e5a7aba7},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.34422. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

A coding agent can migrate a machine learning workload, report success, and still change how the model trains. Rising compute costs, limited accelerator capacity, and vendor dependence are pushing organizations toward alternatives to graphics processing units (GPUs); a key question is whether agent-generated migrations to tensor processing units (TPUs) can be trusted and at what cost. We build a dataset of 148 PyTorch ML research projects and use Claude Code to migrate ten of them from NVIDIA GPUs to Google Cloud TPUs. We independently assess whether each migration runs, preserves numerical behavior, executes on the intended hardware, maintains the project's goal, and delivers acceptable performance. We also examine failures, human effort, and costs. Eight projects meet our project-goal criterion, and migrations require 2.4 human interventions on average. Of 70 execution attempts, 53 fail (76%), and 26 of these failures (49%) raise no error. The most frequent cause is repeated compilation and other execution inefficiencies, while interactions with third-party libraries can silently change the computation: in one four-chip migration, the agent reports success despite a change in gradient clipping that reduces accuracy from 86.53% to 84.89%. Execution costs vary widely: in one workload, TorchTPU, a PyTorch execution backend for TPUs, trains 1.86 times faster and 25% cheaper per run than the GPU. For practitioners, these findings motivate independent reference runs, verification under the intended hardware configuration, and workload-specific acceptance and stopping criteria that account for both computational and human costs.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.DC, nuovi lavori del giorno).
Categorie arXiv: Software Engineering (cs.SE) ; Distributed, Parallel, and Cluster Computing (cs.DC); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2610.34422 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-27T07:56:15.165Z dalla pagina https://arxiv.org/list/cs.DC/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).