# XStack: A Benchmark for ML Repo Migration

DevFeed: [XStack: A Benchmark for ML Repo Migration](<https://devfeed.tech/articles/xstack-a-benchmark-for-ml-repo-migration-120329.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.08472>)

Author: Linrong Cai, Taiming Lu, Haozhe Chen, Zhuang Liu

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [PyTorch](<https://devfeed.tech/topics/pytorch.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [claude-opus-5](<https://devfeed.tech/tags/claude-opus-5.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [frameworks](<https://devfeed.tech/tags/frameworks.md>), [gpt-5-6-sol](<https://devfeed.tech/tags/gpt-5-6-sol.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [jax](<https://devfeed.tech/tags/jax.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [migration](<https://devfeed.tech/tags/migration.md>), [ml](<https://devfeed.tech/tags/ml.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [repo](<https://devfeed.tech/tags/repo.md>), [tpu](<https://devfeed.tech/tags/tpu.md>)

## AI overview

XStack benchmarks agents on whole-repository migration from PyTorch to JAX: each receives a PyTorch repository and a clean TPU machine, then must produce a JAX repository that meets grading criteria tied to the source project's published result, which the authors say they authenticated and calibrated. The benchmark targets migration across frameworks and hardware and is intended to make progress measurable. Reported pass rates show migration remains unreliable: Claude Opus 5 passed 75%, GPT-5.6-sol 45%, and all other evaluated agents at most 40%.

## Source excerpt

arXiv:2611.08472v1 Announce Type: cross Abstract: 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.