{"id":218857,"date":"2021-05-27T09:00:13","date_gmt":"2021-05-27T01:00:13","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=218857"},"modified":"2021-05-21T22:10:22","modified_gmt":"2021-05-21T14:10:22","slug":"the-performance-of","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/the-performance-of.html","title":{"rendered":"Google TPU v4\u53d1\u5e03\uff1a\u6027\u80fd\u4e24\u500d\u4e8e\u4e16\u754c\u7b2c\u4e00\u8d85\u7b97"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | Google I\/O\u5f00\u53d1\u8005\u5927\u4f1a\u53bb\u5e74\u56e0\u4e3a\u75ab\u60c5\u800c\u53d6\u6d88\uff0c\u4eca\u5e74\u91c7\u53d6\u7ebf\u4e0a\u5f62\u5f0f\u5f3a\u52bf\u56de\u5f52\u3002\u91cc\u7a0b\u7891\u5f0fGoogle TPU v4\u91cd\u78c5\u53d1\u5e03\uff01\u6027\u80fd\u4e24\u500d\u4e8e\u4e16\u754c\u7b2c\u4e00\u8d85\u7b97.<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u5728\u6ca1\u6709\u5f00\u53d1\u8005\u5728\u573a\u7684 Google \u56ed\u533a\u5185\uff0cGoogle CEO \u6851\u8fbe\u5c14\u00b7\u76ae\u67e5\u4f0a\uff08Sundar Pichai\uff09\u5ba3\u5e03\u63a8\u51fa\u591a\u9879\u5168\u65b0\u6280\u672f\uff0c\u9664\u4e86\u80fd\u591f\u5e2e\u52a9\u7528\u6237\u5b9e\u73b0\u201c\u7a7a\u95f4\u77ac\u79fb\u201d\u7684\u5168\u606f\u89c6\u9891\u804a\u5929\u6280\u672f Project Starling \u8ba9\u4eba\u8033\u76ee\u4e00\u65b0\uff0c\u8fd8\u6709\u6700\u65b0\u4e00\u4ee3 AI \u82af\u7247 TPU v4\u3002<\/p>\n \u201c\u8fd9\u662f\u6211\u4eec\u5728 Google \u4e0a\u90e8\u7f72\u7684\u6700\u5feb\u7684\u7cfb\u7edf\uff0c\u5bf9\u6211\u4eec\u6765\u8bf4\u662f\u4e00\u4e2a\u5177\u6709\u5386\u53f2\u610f\u4e49\u7684\u91cc\u7a0b\u7891\u3002\u201d\u76ae\u67e5\u4f0a\u8fd9\u6837\u4ecb\u7ecd\u5230\u3002<\/p>\n <\/p>\n \u6700\u5f3a TPU\uff0c\u901f\u5ea6\u63d0\u5347 2 \u500d\uff0c\u6027\u80fd\u63d0\u5347 10 \u500d<\/p>\n Google \u5b98\u65b9\u4ecb\u7ecd\uff0c\u5728\u76f8\u540c\u7684 64 \u82af\u7247\u89c4\u6a21\u4e0b\uff0c\u4e0d\u8003\u8651\u8f6f\u4ef6\u5e26\u6765\u7684\u6539\u5584\uff0cTPU v4 \u76f8\u8f83\u4e8e\u4e0a\u4e00\u4ee3 TPU v3 \u6027\u80fd\u5e73\u5747\u63d0\u5347 2.7 \u500d\u3002<\/p>\n \u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0cTPU v4 \u4e3b\u8981\u4e0e Pod \u76f8\u8fde\u53d1\u6325\u4f5c\u7528\uff0c\u6bcf\u4e00\u4e2a TPU v4 Pod \u4e2d\u6709 4096 \u4e2a TPU v4 \u5355\u82af\u7247\uff0c\u5f97\u76ca\u4e8e\u5176\u72ec\u7279\u7684\u4e92\u8fde\u6280\u672f\uff0c\u80fd\u591f\u5c06\u6570\u767e\u4e2a\u72ec\u7acb\u7684\u5904\u7406\u5668\u8f6c\u53d8\u4e3a\u4e00\u4e2a\u7cfb\u7edf\uff0c\u4e92\u8fde\u5e26\u5bbd\u5728\u89c4\u6a21\u4e0a\u662f\u5176\u4ed6\u4efb\u4f55\u7f51\u7edc\u6280\u672f\u7684 10 \u500d\u3002<\/p>\n \u6bcf\u4e00\u4e2a TPU v4 Pod \u5c31\u80fd\u8fbe\u5230 1 exaFlOP \u7ea7\u7684\u7b97\u529b\uff0c\u5b9e\u73b0\u6bcf\u79d2 10 \u7684 18 \u6b21\u65b9\u6d6e\u70b9\u8fd0\u7b97\u3002\u8fd9\u751a\u81f3\u662f\u5168\u7403\u6700\u5feb\u7684\u8d85\u7ea7\u8ba1\u7b97\u673a\u201c\u5bcc\u5cb3\u201d\u7684\u4e24\u500d\u6027\u80fd\u3002<\/p>\n \u201c\u5982\u679c\u73b0\u5728\u6709 1 \u5343\u4e07\u4eba\u540c\u65f6\u4f7f\u7528\u7b14\u8bb0\u672c\u7535\u8111\uff0c\u6240\u6709\u8fd9\u4e9b\u8ba1\u7b97\u673a\u7d2f\u52a0\u7684\u8ba1\u7b97\u80fd\u529b\uff0c\u521a\u597d\u5c31\u80fd\u591f\u8fbe\u5230 1 exaFLOP \u7684\u7b97\u529b\uff0c\u800c\u4e4b\u524d\u8981\u8fbe\u5230 1 exaFLOP\uff0c\u53ef\u80fd\u9700\u8981\u4e13\u95e8\u5b9a\u5236\u4e00\u4e2a\u8d85\u7ea7\u8ba1\u7b97\u673a\u3002\u201d\u76ae\u67e5\u4f0a\u5982\u662f\u8bf4\u3002<\/p>\n \u4eca\u5e74\u7684 MLPerf \u7ed3\u679c\u8868\u660e\uff0cGoogleTPU v4 \u7684\u5b9e\u529b\u4e0d\u5bb9\u5c0f\u89d1\uff0c\u5728\u4f7f\u7528 ImageNet \u6570\u636e\u96c6\u7684\u56fe\u50cf\u5206\u7c7b\u8bad\u7ec3\u6d4b\u8bd5\uff08\u51c6\u786e\u5ea6\u81f3\u5c11 75.90%\uff09\uff0c256 \u4e2a TPU v4 \u5728 1.82 \u5206\u949f\u5185\u5b8c\u6210\u4e86\u8fd9\u4e00\u4efb\u52a1\uff0c\u8fd9\u51e0\u4e4e\u4e0e 768 \u4e2a NVIDIA Nvidia A100 \u56fe\u5f62\u5361\u3001192 \u4e2a AMD EPYC 7742 \u5185\u6838\uff081.06 \u5206\u949f\uff09\u3001512 \u4e2a\u534e\u4e3a AI \u4f18\u5316\u7684 Ascend 910 \u82af\u7247\u4ee5\u53ca 128 \u4e2a Intel Xeon Platinum 8168 \u5185\u6838\uff081.56 \u5206\u949f\uff09\u7ec4\u5408\u5728\u4e00\u8d77\u7684\u901f\u5ea6\u4e00\u6837\u5feb\u3002<\/p>\n \u5f53\u8d1f\u8d23\u5728\u5927\u578b\u7ef4\u57fa\u767e\u79d1\u8bed\u6599\u5e93\u4e0a\u8bad\u7ec3\u57fa\u4e8e Transform \u7684\u9605\u8bfb\u7406\u89e3 BERT \u6a21\u578b\u65f6\uff0cTPU v4 \u7684\u5f97\u5206\u4e5f\u5f88\u9ad8\u3002\u4f7f\u7528 256 \u4e2a TPU v4 \u8fdb\u884c\u8bad\u7ec3\u9700\u8981 1.82 \u5206\u949f\uff0c\u6bd4\u4f7f\u7528 4096 TPU v3 \u8fdb\u884c\u8bad\u7ec3\u6240\u9700\u7684 0.39 \u5206\u949f\u8981\u6162 1 \u5206\u591a\u949f\u3002<\/p>\n \u540c\u65f6\uff0c\u5982\u679c\u60f3\u8981\u4f7f\u7528 NVIDIA \u7684\u786c\u4ef6\u8fbe\u5230 0.81 \u5206\u949f\u7684\u8bad\u7ec3\u65f6\u95f4\uff0c\u9700\u8981 2048 \u5f20 A100 \u5361\u548c 512 \u4e2a AMD EPYC 7742 CPU \u5185\u6838\u3002<\/p>\n Google \u540c\u6837\u5728I\/O\u5927\u4f1a\u4e0a\u5c55\u793a\u4e86\u80fd\u591f\u7528\u5230 TPU v4 \u7684\u5177\u4f53 AI \u5b9e\u4f8b\uff0c\u5305\u62ec\u80fd\u591f\u540c\u65f6\u5904\u7406\u7f51\u9875\u3001\u56fe\u50cf\u7b49\u591a\u79cd\u6570\u636e\u7684 MUM \u6a21\u578b\uff08Multitask Unified Model\uff0c\u591a\u4efb\u52a1\u7edf\u4e00\u6a21\u578b\uff09\u548c\u4e13\u4e3a\u5bf9\u8bdd\u6253\u9020\u7684 LaMDA \u90fd\u662f\u80fd\u591f\u7528\u5230 TPU v4 \u7684\u573a\u666f\u6a21\u578b\uff0c\u524d\u8005\u6bd4\u9605\u8bfb\u7406\u89e3\u6a21\u578b BERT \u5f3a 1000 \u500d\uff0c\u9002\u5408\u8d4b\u80fd\u641c\u7d22\u5f15\u64ce\u5e2e\u52a9\u7528\u6237\u66f4\u52a0\u9ad8\u6548\u5730\u5f97\u5230\u81ea\u5df1\u60f3\u8981\u7684\u4fe1\u606f\uff0c\u540e\u8005\u5219\u53ef\u4ee5\u4e0e\u4eba\u7c7b\u8fdb\u884c\u4e0d\u95f4\u65ad\u7684\u5bf9\u8bdd\u4ea4\u6d41\u3002<\/p>\n \u8fd9\u4e00\u5e76\u4e0d\u5411\u5916\u51fa\u552e\u7684 TPU\uff0c\u5f88\u5feb\u5c06\u5728\u88ab\u90e8\u7f72\u5728 Google \u7684\u6570\u636e\u4e2d\u5fc3\uff0c\u800c\u4e14 90% \u5de6\u53f3\u7684 TPU v4 Pod \u90fd\u5c06\u4f7f\u7528\u7eff\u8272\u80fd\u6e90\u3002<\/p>\n \u53e6\u5916\uff0cGoogle \u4e5f\u8868\u793a\uff0c\u5c06\u5728\u4eca\u5e74\u665a\u4e9b\u65f6\u5019\u5f00\u653e\u7ed9 Google Cloud \u7684\u5ba2\u6237\u3002<\/p>\n Google \u81ea\u7814 TPU\uff0c\u4e94\u5e74\u66f4\u65b0\u56db\u4ee3<\/p>\n Google \u6700\u65e9\u4e8e 2016 \u5e74\u5ba3\u5e03\u9996\u6b3e\u5185\u90e8\u5b9a\u5236\u7684 AI \u82af\u7247\uff0c\u533a\u522b\u4e8e\u8bad\u7ec3\u548c\u90e8\u7f72 AI \u6a21\u578b\u7684\u6700\u5e38\u89c1\u7684\u7ec4\u5408\u67b6\u6784\uff0c\u5373 CPU \u548c GPU \u7ec4\u5408\uff0c\u7b2c\u4e00\u4ee3 TPU \u5728\u90a3\u573a\u4e16\u754c\u8457\u540d\u7684\u4eba\u673a\u56f4\u68cb\u5927\u6218\u52a9\u529b AlphaGo \u6253\u8d25\u674e\u4e16\u77f3\u201c\u4e00\u6218\u6210\u540d\u201d\uff0c\u5ba3\u544a\u5e76\u4e0d\u662f\u53ea\u6709 GPU \u624d\u80fd\u505a\u8bad\u7ec3\u548c\u63a8\u7406\u3002<\/p>\n Google \u7b2c\u4e00\u4ee3 TPU \u91c7\u7528 28nm \u5de5\u827a\u5236\u7a0b\uff0c\u529f\u8017\u5927\u7ea6 40W\uff0c\u4ec5\u9002\u7528\u4e8e\u6df1\u5ea6\u5b66\u4e60\u63a8\u7406\uff0c\u9664\u4e86 AlphaGo\uff0c\u4e5f\u7528\u5728 Google \u641c\u7d22\u3001\u7ffb\u8bd1\u7b49\u673a\u5668\u5b66\u4e60\u6a21\u578b\u4e2d\u3002<\/p>\n 2017 \u5e74 5 \u6708\uff0cGoogle \u53d1\u5e03\u4e86\u80fd\u591f\u5b9e\u73b0\u673a\u5668\u5b66\u4e60\u6a21\u578b\u8bad\u7ec3\u548c\u63a8\u7406\u7684 TPU v2\uff0c\u8fbe\u5230 180TFLOPs \u6d6e\u70b9\u8fd0\u7b97\u80fd\u529b\uff0c\u540c\u65f6\u5185\u5b58\u5e26\u5bbd\u4e5f\u5f97\u4ee5\u63d0\u5347\uff0c\u6bd4\u540c\u671f\u63a8\u51fa\u7684 CPU AI \u5de5\u4f5c\u8d1f\u8f7d\u63d0\u5347 30 \u500d\uff0c\u6bd4 GPU AI \u5de5\u4f5c\u8d1f\u8f7d\u63d0\u5347 15 \u500d\uff0c\u88ab\u57fa\u4e8e 4 \u5757 TPU v2 \u7684 AlphaGo \u51fb\u8d25\u7684\u4e16\u754c\u56f4\u68cb\u51a0\u519b\u67ef\u6d01\u6700\u76f4\u89c2\u5730\u611f\u53d7\u4e86\u8fd9\u4e00\u5207\u3002<\/p>\n 2018 \u5e74 5 \u6708\uff0cGoogle \u53c8\u53d1\u5e03\u7b2c\u4e09\u4ee3 TPU v3\uff0c\u6027\u80fd\u662f\u4e0a\u4e00\u4ee3 TPU \u7684\u4e24\u500d\uff0c\u5b9e\u73b0 420TFLOPs \u6d6e\u70b9\u8fd0\u7b97\uff0c\u4ee5\u53ca 128GB \u7684\u9ad8\u5e26\u5bbd\u5185\u5b58\u3002<\/p>\n \u6309\u7167\u4e00\u5e74\u4e00\u6b21\u8fed\u4ee3\u66f4\u65b0\u7684\u8282\u594f\uff0cGoogle \u7406\u5e94\u5728 2019 \u5e74\u63a8\u51fa\u7b2c\u56db\u4ee3 TPU\uff0c\u4e0d\u8fc7\u8fd9\u4e00\u5e74\u7684I\/O\u5927\u4f1a\u4e0a\uff0cGoogle \u63a8\u51fa\u7684\u662f\u7b2c\u4e8c\u4ee3\u548c\u7b2c\u4e09\u4ee3 TPU Pod\uff0c\u53ef\u4ee5\u914d\u7f6e\u8d85\u8fc7 1000 \u9897 TPU\uff0c\u5927\u5927\u7f29\u77ed\u4e86\u5728\u8fdb\u884c\u590d\u6742\u7684\u6a21\u578b\u8bad\u7ec3\u65f6\u6240\u9700\u8017\u8d39\u7684\u65f6\u95f4\u3002<\/p>\n \u5728 AI \u82af\u7247\u53d1\u5c55\u53f2\u4e0a\uff0c\u65e0\u8bba\u662f\u4ece\u7247\u4e0a\u5185\u5b58\u4e0a\uff0c\u8fd8\u662f\u4ece\u53ef\u7f16\u7a0b\u80fd\u529b\u6765\u770b\uff0cGoogle TPU \u90fd\u662f\u4e0d\u53ef\u591a\u5f97\u7684\u6280\u672f\u521b\u65b0\uff0c\u6253\u7834 GPU \u7684\u201c\u5784\u65ad\u201d\u5730\u4f4d\uff0c\u4e14\u6253\u5f00\u4e91\u7aef AI \u82af\u7247\u7684\u65b0\u7ade\u4e89\u683c\u5c40\u3002<\/p>\n \u53d1\u5c55\u4e94\u5e74\u7684 Google TPU \u5728\u4eca\u5929\u4f9d\u7136\u4fdd\u6301\u7740\u5f3a\u52b2\u7684\u7ade\u4e89\u529b\uff0c\u672a\u6765\u7684\u4e16\u754c\u662f\u4ec0\u4e48\u6837\u7684\uff1fGoogle TPU \u5df2\u7ecf\u544a\u8bc9\u4e86\u6211\u4eec\u4e00\u5c0f\u90e8\u5206\u7b54\u6848\u3002<\/p>\n <\/p>\n","protected":false},"excerpt":{"rendered":" \u5728\u6ca1\u6709\u5f00\u53d1\u8005\u5728\u573a\u7684 Google \u56ed\u533a\u5185\uff0cGoogle CEO \u6851\u8fbe\u5c14\u00b7\u76ae\u67e5\u4f0a\uff08Sundar Pichai\uff09\u5ba3 […]<\/p>\n","protected":false},"author":1470,"featured_media":218860,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-218857","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/218857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1470"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=218857"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/218857\/revisions"}],"predecessor-version":[{"id":218863,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/218857\/revisions\/218863"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/218860"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=218857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=218857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=218857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} |