AlphaFold2 is written in JAX, a framework that treats each chip of a tensor processing unit (TPU) slice as a separate device. A JAX program does not spread its work over the chips by itself, so a user who runs AlphaFold2 on a slice can pay for chips that do nothing. We found no published measurement of how AlphaFold2 inference uses a multi-chip TPU slice. Our goal was to measure whether AlphaFold2 inference uses all eight chips of a TPU v5e slice and to find which way of mapping the work in JAX puts every chip to work. All 12 experiments used random weights and a multiple sequence alignment that contains only the input sequence, so we studied execution and not prediction quality. Ten experiments ran model_3 with no recycling, and the other two varied the model and the number of recycles. By default, only one chip held data. We call each input sequence a query. We batched up to eight queries of 118 residues on one chip with JAX's vmap, and the throughput did not rise. With JAX's pmap, the eight chips ran eight independent queries in parallel. On a grid of 1 to 8 chips and 100 to 1000 residues, the full slice gave 6.5 to 7.9 times the throughput of one chip. Without sharding annotations, JAX's automatic partitioning did not make one query run faster. Most settings ran once, and the logs of the TPU runs were not kept.


翻译:暂无翻译

0
下载
关闭预览

相关内容

DeepSeek-V3.2-Exp 论文快速解读
专知会员服务
18+阅读 · 2025年10月2日
AlphaMosaic:人工智能赋能的作战管理系统
专知会员服务
46+阅读 · 2025年8月19日
AlphaFold、人工智能(AI)和蛋白变构
专知会员服务
12+阅读 · 2022年8月28日
AlphaFold预测出2亿种蛋白质结构,打开整个蛋白质宇宙
专知会员服务
14+阅读 · 2022年8月1日
AlphaFold教程与最新蛋白质结构预测进展,附视频与Slides
专知会员服务
29+阅读 · 2022年6月16日
DeepMind《AlphaFold2蛋白质结构预测》CASP14介绍报告,42页ppt
DeepLabv1 & DeepLabv2 - 空洞卷积(语义分割)
AI研习社
12+阅读 · 2019年3月25日
Fully-Convolutional Siamese Networks for Object Tracking论文笔记
统计学习与视觉计算组
10+阅读 · 2018年10月12日
From Softmax to Sparsemax-ICML16(1)
KingsGarden
74+阅读 · 2016年11月26日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
11+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
10+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
6+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
10+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
8+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
17+阅读 · 11月25日
相关VIP内容
DeepSeek-V3.2-Exp 论文快速解读
专知会员服务
18+阅读 · 2025年10月2日
AlphaMosaic:人工智能赋能的作战管理系统
专知会员服务
46+阅读 · 2025年8月19日
AlphaFold、人工智能(AI)和蛋白变构
专知会员服务
12+阅读 · 2022年8月28日
AlphaFold预测出2亿种蛋白质结构,打开整个蛋白质宇宙
专知会员服务
14+阅读 · 2022年8月1日
AlphaFold教程与最新蛋白质结构预测进展,附视频与Slides
专知会员服务
29+阅读 · 2022年6月16日
DeepMind《AlphaFold2蛋白质结构预测》CASP14介绍报告,42页ppt
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员