XStack: A Benchmark for ML Repo Migration
Not on the map. Why?
Abstract (arXiv)
ML code should run where researchers choose, not where it was first written. Today, machine learning code mainly lives in two ecosystems, PyTorch on NVIDIA GPUs and JAX on Google TPUs. Migrating repositories between them means building and testing across frameworks and hardware. This migration is (1) a practical need, since it unlocks different hardware for researchers, and (2) a natural benchmark: it involves different frameworks and hardware, covers whole repositories, and is long-horizon and challenging. We introduce XStack, a benchmark that evaluates agents on migrating ML repositories between these two ecosystems. Each agent receives a PyTorch repository and a clean TPU machine and must deliver a JAX repository. Its output passes if it meets our grading criteria, based on the source repository's published result, authenticated and calibrated by us. Migration by agents remains unreliable: Claude Opus 5 passes 75%, GPT-5.6-sol 45%, and every other agent at most 40%. XStack is a step toward freeing ML code from its ecosystem. We release XStack to make progress toward reliable migration across frameworks and hardware measurable.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 47 of its 62 references that are in the map. Submitted 5 Nov 2026.
Builds on
47 of 62 references.
References · 47
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,787
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,611
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,243
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,231
- 2022A Time Series is Worth 64 Words: Long-term Forecasting with Transformerscited by 2,190
- 2022TensoRF: Tensorial Radiance Fieldscited by 1,312
- 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 805
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 740
- 2023TD-MPC2: Scalable, Robust World Models for Continuous Controlcited by 607
- 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 572
- 2020Temporal Graph Networks for Deep Learning on Dynamic Graphscited by 568
35 more
- 2025PaperBench: Evaluating AI's Ability to Replicate AI Researchcited by 397
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 279
- 2020Unsupervised Translation of Programming Languagescited by 270
- 2022Defining and Characterizing Reward Hackingcited by 235
- 2024RE-Bench: Evaluating frontier AI R&D capabilities of language model agents against human expertscited by 227
- 2026DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compressioncited by 220
- 2024Actions Speak Louder than Words: Trillion-Parameter Sequential Transducers for Generative Recommendationscited by 215
- 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 210
- 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 198
- 2024CORE-Bench: Fostering the Credibility of Published Research Through a Computational Reproducibility Agent Benchmarkcited by 145
- 2025Establishing Best Practices for Building Rigorous Agentic Benchmarkscited by 137
- 2023TabR: Tabular Deep Learning Meets Nearest Neighbors in 2023cited by 83
- 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?cited by 81
- 2025Paper2Code: Automating Code Generation from Scientific Papers in Machine Learningcited by 74
- 2025The SWE-Bench Illusion: When State-of-the-Art LLMs Remember Instead of Reasoncited by 64
- 2023CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translationcited by 62
- 2024Commit0: Library Generation from Scratchcited by 62
- 2025MultiKernelBench: A Multi-Platform Benchmark for Kernel Generationcited by 45
- 2024AlphaTrans: A Neuro-Symbolic Compositional Approach for Repository-Level Code Translation and Validationcited by 34
- 2024RepoTransBench: A Real-World Multilingual Benchmark for Repository-Level Code Translationcited by 30
- 2026Do Androids Dream of Breaking the Game? Systematically Auditing AI Agent Benchmarks with BenchJackcited by 26
- 2025CRUST-Bench: A Comprehensive Benchmark for C-to-safe-Rust Transpilationcited by 22
- 202494% on CIFAR-10 in 3.29 Seconds on a Single GPUcited by 20
- 2025SetupBench: Assessing Software Engineering Agents' Ability to Bootstrap Development Environmentscited by 19
- 2025MigrationBench: Repository-Level Code Migration Benchmark from Java 8cited by 17
- 2026SWE Refactor Bench: Can Coding Agents Complete a Long-Horizon, Whole-Repository Stack Migration?cited by 12
- 2026DeployBench: Benchmarking LLM Agents for Research Artifact Deploymentcited by 11
- 2024RustRepoTrans: Repository-level Code Translation Benchmark Targeting Rustcited by 9
- 2021Ivy: Templated Deep Learning for Inter-Framework Portabilitycited by 7
- 2026RepoMod-Bench: A Benchmark for Code Repository Modernization via Implementation-Agnostic Testingcited by 7
- 2026JAXBench: Benchmarking Autonomous TPU Kernel Optimizationcited by 6
- 2023Lost in Translation: A Study of Bugs Introduced by Large Language Models while Translating Codecited by 5
- 2025Skeleton-Guided-Translation: A Benchmarking Framework for Code Repository Translation with Fine-Grained Quality Evaluationcited by 4
- 2026MaxKernel: Agentic Kernel Generation for TPUscited by 3
- 2025Learning Bug Context for PyTorch-to-JAX Translation with LLMscited by 1
Built on by
Not cited yet.