mlsanityData to 7 Oct 2026

Accelerator Choice Is Not Enough: AlphaFold2 Inference on Cloud TPUs

arXiv 2609.34818 ↗First posted 28 Sep 2026cs.DC cs.LG cs.PFcited by 0

Not on the map. Why?

Abstract (arXiv)

AlphaFold2 is written in JAX, so the same inference code compiles and runs unchanged on CPUs, GPUs and Google Cloud TPUs. That portability makes the accelerator look like the main decision a user has to make. We show that it is not. Running one AlphaFold2 inference workload across a Colab CPU runtime, an NVIDIA T4 GPU and a dedicated eight-chip Cloud TPU v5e slice, we find a large hardware advantage for the TPU, 0.47 s per call in steady state on a single chip against 13.1 s on the T4 in the same measurement campaign, and three ways in which the software layer decides how much of it a user actually gets. The default execution path uses one chip of the eight, and at list prices the idle capacity makes the slice cost about as much per prediction as the GPU. Batching with JAX's vmap never exceeds single-query throughput, while mapping queries across chips with JAX's pmap gives eight chips 6.5-7.9x the throughput of one on a matched grid; automatic sharding leaves the per-chip footprint unchanged, consistent with replication, most plausibly because AlphaFold2 carries no sharding annotations. Our retained trace analysis of a first call at a new input shape reports about three quarters of the traced span in JAX tracing and compilation rather than execution. Reruns five weeks later reproduced neither cloud baseline, the GPU one off by roughly a factor of two, so the hardware ratio above is specific to one campaign.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 10 of its 27 references that are in the map. First posted on arXiv 28 Sep 2026.

Builds on

10 of 27 references.

References · 10

  1. 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 198
  2. 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 109
  3. 2022FastFold: Reducing AlphaFold Training Time from 11 Days to 67 Hourscited by 13
  4. 2022HelixFold: An Efficient Implementation of AlphaFold2 using PaddlePaddlecited by 12
  5. 2024DrJAX: Scalable and Differentiable MapReduce Primitives in JAXcited by 9
  6. 2023APACE: AlphaFold2 and advanced computing as a service for accelerated discovery in biophysicscited by 2
  7. 2026Compiler-First State Space Duality and Portable O(1) Autoregressive Caching for Inferencecited by 2
  8. 2020Duet Benchmarking: Improving Measurement Accuracy in the Cloudcited by 1
  9. 2026CCL-Bench 1.0: A Trace-Based Benchmark for LLM Infrastructurecited by 1
  10. 2026Fine-Tuning and Serving Gemma 4 31B on Google Cloud TPU: A Technical Comparison with GPU Baselinescited by 1

Built on by

Not cited yet.