arXiv:2610.34422v2 cs.SE

코딩 에이전트로 GPU에서 TPU로: 무엇이 되고, 무엇이 실패하며, 비용은 얼마인가?

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

Hui Sun, Anderson Uch\^oa, Wesley K. G. Assun\c{c}\~ao

제출 2026-11-02

한국어 초록

코딩 에이전트는 머신러닝 워크로드를 이식하고 성공했다고 보고하면서도 모델이 학습되는 방식을 바꿔 놓을 수 있다. 컴퓨팅 비용 상승, 제한된 가속기 용량, 벤더 종속성으로 인해 조직들이 그래픽 처리 장치(GPU)의 대안으로 향하고 있으며, 핵심 질문은 에이전트가 생성한 텐서 처리 장치(TPU)로의 이식을 신뢰할 수 있는지, 그리고 그 비용은 얼마인지이다. 우리는 148개의 PyTorch 머신러닝 연구 프로젝트로 데이터셋을 구축하고, Claude Code를 사용하여 그중 10개를 NVIDIA GPU에서 Google Cloud TPU로 이식했다. 각 이식이 실행되는지, 수치적 동작을 보존하는지, 의도한 하드웨어에서 실행되는지, 프로젝트의 목표를 유지하는지, 허용 가능한 성능을 내는지를 독립적으로 평가했다. 또한 실패, 사람의 노력, 비용을 조사했다. 8개 프로젝트가 우리의 프로젝트 목표 기준을 충족했으며, 이식에는 평균 2.4회의 사람 개입이 필요했다. 70번의 실행 시도 중 53번(76%)이 실패했고, 이 실패 중 26번(49%)은 오류를 일으키지 않았다. 가장 빈번한 원인은 반복적인 컴파일과 기타 실행 비효율이며, 서드파티 라이브러리와의 상호작용은 계산을 조용히 바꿀 수 있다. 한 4칩 이식에서는 그래디언트 클리핑의 변화로 정확도가 86.53%에서 84.89%로 떨어졌음에도 에이전트가 성공을 보고했다. 실행 비용은 크게 다르며, 한 워크로드에서는 TPU용 PyTorch 실행 백엔드인 TorchTPU가 GPU보다 1.86배 빠르게, 실행당 25% 저렴하게 학습했다. 실무자에게 이러한 결과는 독립적인 기준 실행, 의도한 하드웨어 구성에서의 검증, 그리고 계산 비용과 사람의 비용을 모두 고려한 워크로드별 수용 및 중단 기준의 필요성을 시사한다.

원문 초록

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.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2610.34422v2제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.