{"id":3397,"date":"2021-08-27T08:13:19","date_gmt":"2021-08-27T08:13:19","guid":{"rendered":""},"modified":"2021-08-27T16:13:52","modified_gmt":"2021-08-27T08:13:52","slug":"%e5%9f%ba%e4%ba%8efpga%e7%9a%84gnn%e5%8a%a0%e9%80%9f%e5%99%a8%e9%a1%b6%e5%b1%82%e6%9e%b6%e6%9e%84","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=3397","title":{"rendered":"\u57fa\u4e8eFPGA\u7684GNN\u52a0\u901f\u5668\u9876\u5c42\u67b6\u6784"},"content":{"rendered":"

\n\tGNN\u52a0\u901f\u5668\u9876\u5c42\u67b6\u6784<\/p>\n

\n\t <\/div>\n

\n\t\u6b64GNN\u52a0\u901f\u5668\u662f\u4e3aGraphSAGE\u7b97\u6cd5\u8bbe\u8ba1\u7684\uff0c\u4f46\u662f\u5b83\u7684\u8bbe\u8ba1\u4e5f\u53ef\u4ee5\u5e94\u7528\u4e8e\u5176\u4ed6\u7c7b\u4f3c\u7684GNN\u7b97\u6cd5\u52a0\u901f\u3002\u5176\u9876\u5c42\u67b6\u6784\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n

\n\t\u8be5\u67b6\u6784\u7531\u4ee5\u4e0b\u6a21\u5757\u7ec4\u6210\uff1a<\/p>\n

\n\t\u56fe\u4e2d\u7684GNN\u5185\u6838\u662f\u7b97\u6cd5\u5b9e\u73b0\u7684\u6838\u5fc3\u90e8\u5206\uff08\u8be6\u60c5\u5982\u4e0b\uff09\u3002<\/p>\n

\n\tRoCE-Lite\u662fRDMA<\/u>\u534f\u8bae\u7684\u8f7b\u91cf\u7ea7\u7248\u672c\uff0c\u7528\u4e8e\u901a\u8fc7\u9ad8\u901f\u4ee5\u592a\u7f51<\/u>\u8fdb\u884c\u8fdc\u7a0b\u5b58\u50a8\u8bbf\u95ee\uff0c\u4ee5\u652f\u6301\u6d77\u91cf\u8282\u70b9\u7684\u56fe\u8ba1\u7b97\u3002<\/p>\n

\n\t400GE\u4ee5\u592a\u7f51\u63a7\u5236\u5668\u7528\u4e8e\u627f\u8f7dRoCE-Lite\u534f\u8bae\u3002<\/p>\n

\n\tGDDR6\u5b58\u50a8\u5668<\/u>\u7528\u4e8e\u5b58\u50a8GNN\u5904\u7406\u8fc7\u7a0b\u4e2d\u6240\u9700\u7684\u9ad8\u901f\u8bbf\u95ee\u6570\u636e\uff08DDR4\u4f5c\u4e3a\u5907\u7528\u5927\u5bb9\u91cf\u5b58\u50a8\u5668\uff09\u3002\u8be5\u5b58\u50a8\u5668\u7528\u4e8e\u5b58\u50a8\u8bbf\u95ee\u9891\u7387\u76f8\u5bf9\u8f83\u4f4e\u7684\u6570\u636e\uff0c\u4f8b\u5982\u5f85\u9884\u5904\u7406\u7684\u56fe\u5f62<\/u>\u6570\u636e\u3002<\/p>\n

\n\tPCIeGen5 ×16 \u63a5\u53e3<\/u>\u63d0\u4f9b\u9ad8\u901f\u4e3b\u673a\u63a5\u53e3\uff0c\u7528\u4e8e\u4e0e\u670d\u52a1\u5668\u8f6f\u4ef6\u8fdb\u884c\u6570\u636e\u4ea4\u4e92\u3002<\/p>\n

\n\t\u4e0a\u8ff0\u6240\u6709\u6a21\u5757\u5747\u901a\u8fc7\u5177\u6709\u9ad8\u5e26\u5bbd\u7684NoC\u5b9e\u73b0\u4e92\u8fde\u3002<\/p>\n

\n\tGNN\u5185\u6838\u5fae\u67b6\u6784<\/p>\n

\n\t\u5728\u5f00\u59cb\u8ba8\u8bbaGNN\u5185\u6838\u7684\u5fae\u67b6\u6784\u4e4b\u524d\uff0c\u6709\u5fc5\u8981\u5148\u56de\u987e\u4e00\u4e0bGraphSAGE\u7b97\u6cd5\u3002\u5176\u5185\u5c42<\/u>\u5faa\u73af\u7684\u805a\u5408\u548c\u5408\u5e76\uff08\u5305\u62ec\u5377\u79ef\uff09\u5360\u636e\u4e86\u8be5\u7b97\u6cd5\u7684\u5927\u90e8\u5206\u8ba1\u7b97\u548c\u5b58\u50a8\u8bbf\u95ee\u3002\u901a\u8fc7\u7814\u7a76\uff0c\u6211\u4eec\u5f97\u51fa\u8fd9\u4e24\u4e2a\u6b65\u9aa4\u7684\u7279\u70b9\uff0c\u5177\u4f53\u5982\u4e0b\u3002<\/p>\n

\n\t\u88682\uff1aGNN\u7b97\u6cd5\u4e2d\u805a\u5408\u548c\u5408\u5e76\u64cd\u4f5c\u7684\u5bf9\u6bd4\uff08\u6765\u6e90\uff1ahttps:\/\/arxiv.org\/abs\/1908.10834\uff09<\/p>\n

\n\t <\/p>\n\n\n\n\n\n\n\n\n
\n\t\t\t\t\u6b65\u9aa4<\/td>\n\n\t\t\t\t\u805a\u5408\u64cd\u4f5c<\/td>\n\n\t\t\t\t\u5408\u5e76\u64cd\u4f5c<\/td>\n<\/tr>\n
\n\t\t\t\t\u5b58\u50a8\u8bbf\u95ee\u65b9\u5f0f<\/td>\n\n\t\t\t\t\u95f4\u63a5\u8bbf\u95ee\uff0c\u4e0d\u89c4\u5219<\/td>\n\n\t\t\t\t\u76f4\u63a5\u8bbf\u95ee\uff0c\u89c4\u5219<\/td>\n<\/tr>\n
\n\t\t\t\t\u6570\u636e\u91cd\u7528<\/td>\n\n\t\t\t\t\u4f4e<\/td>\n\n\t\t\t\t\u9ad8<\/td>\n<\/tr>\n
\n\t\t\t\t\u8ba1\u7b97\u6a21\u5f0f<\/td>\n\n\t\t\t\t\u52a8\u6001\uff0c\u4e0d\u89c4\u5219<\/td>\n\n\t\t\t\t\u9759\u6001\uff0c\u89c4\u5219<\/td>\n<\/tr>\n
\n\t\t\t\t\u8ba1\u7b97\u91cf<\/td>\n\n\t\t\t\t\u4f4e<\/td>\n\n\t\t\t\t\u9ad8<\/td>\n<\/tr>\n
\n\t\t\t\t\u6027\u80fd\u74f6\u9888<\/td>\n\n\t\t\t\t\u5b58\u50a8<\/td>\n\n\t\t\t\t\u8ba1\u7b97<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\n\t <\/p>\n

\n\t\u53ef\u4ee5\u770b\u51fa\uff0c\u805a\u5408\u64cd\u4f5c\u548c\u5408\u5e76\u64cd\u4f5c\u5728\u8ba1\u7b97\u548c\u5b58\u50a8\u8bbf\u95ee\u6a21\u5f0f\u4e0a\u6709\u7740\u5b8c\u5168\u4e0d\u540c\u7684\u9700\u6c42\u3002\u805a\u5408\u64cd\u4f5c\u6d89\u53ca\u76f8\u90bb\u8282\u70b9\u7684\u91c7\u6837\u3002\u7136\u800c\uff0c\u56fe\u5f62\u662f\u4e00\u79cd\u975e\u6b27\u51e0\u91cc\u5f97\u6570\u636e\u7c7b\u578b——\u5b83\u7684\u5927\u5c0f\u548c\u7ef4\u5ea6\u662f\u4e0d\u786e\u5b9a\u4e14\u65e0\u5e8f\uff0c\u77e9\u9635\u7a00\u758f\uff0c\u8282\u70b9\u4f4d\u7f6e\u968f\u673a\u3002\u56e0\u6b64\uff0c\u5b58\u50a8\u8bbf\u95ee\u662f\u4e0d\u89c4\u5219\u7684\uff0c\u5e76\u4e14\u96be\u4ee5\u91cd\u590d\u5229\u7528\u6570\u636e\u3002<\/p>\n

\n\t\u5728\u5408\u5e76\u64cd\u4f5c\u4e2d\uff0c\u8f93\u5165\u6570\u636e\u662f\u805a\u5408\u7ed3\u679c\uff08\u8282\u70b9\u7684\u4f4e\u7ef4\u8868\u793a\uff09\u548c\u6743\u91cd\u77e9\u9635\u3002\u5b83\u7684\u5927\u5c0f\u548c\u7ef4\u5ea6\u662f\u56fa\u5b9a\u7684\uff0c\u5177\u6709\u7ebf\u6027\u5b58\u50a8\u4f4d\u7f6e\u3002\u56e0\u6b64\u5bf9\u5b58\u50a8\u8bbf\u95ee\u6ca1\u6709\u6311\u6218\uff0c\u4f46\u662f\u77e9\u9635\u7684\u8ba1\u7b97\u91cf\u975e\u5e38\u5927\u3002 \u57fa\u4e8e\u4e0a\u8ff0\u5206\u6790\uff0c\u6211\u4eec\u51b3\u5b9a\u5728GNN\u5185\u6838\u52a0\u901f\u5668\u8bbe\u8ba1\u4e2d\u9009\u62e9\u4f7f\u7528\u4e24\u79cd\u4e0d\u540c\u7684\u786c\u4ef6\u7ed3\u6784\u6765\u5206\u522b\u5904\u7406\u805a\u5408\u548c\u5408\u5e76\u64cd\u4f5c\uff08\u5982\u4e0b\u56fe\u793a\uff09\uff1a<\/p>\n

\n\t\u805a\u5408\u5668——\u901a\u8fc7\u5355\u6307\u4ee4\u591a\u6570\u636e\uff08SIMD\uff09\u5904\u7406\u5668\u9635\u5217\uff0c\u5bf9\u56fe\u5f62\u76f8\u90bb\u8282\u70b9\u8fdb\u884c\u91c7\u6837\u548c\u805a\u5408\u3002\u5355\u6307\u4ee4\u53ef\u4ee5\u9884\u5b9a\u4e49\u4e3amean()\u5e73\u5747\u503c\u8ba1\u7b97\uff0c\u6216\u5176\u4ed6\u9002\u7528\u7684\u805a\u5408\u51fd\u6570\uff1b\u591a\u6570\u636e\u662f\u6307\u5355\u6b21mean()\u5747\u503c\u8ba1\u7b97\u4e2d\u9700\u8981\u591a\u4e2a\u76f8\u90bb\u8282\u70b9\u7684\u7279\u5f81\u6570\u636e\u4f5c\u4e3a\u8f93\u5165\uff0c\u8fd9\u4e9b\u6570\u636e\u6765\u81ea\u5b50\u56fe\u91c7\u6837\u5668\u3002SIMD\u5904\u7406\u5668\u9635\u5217\u901a\u8fc7\u8c03\u5ea6\u5668Agg Scheduler\u8fdb\u884c\u8d1f\u8f7d\u5e73\u8861\u3002\u5b50\u56fe\u91c7\u6837\u5668\u901a\u8fc7NoC\u4eceGDDR6\u6216DDR4\u8bfb\u56de\u7684\u90bb\u63a5\u77e9\u9635\u548c\u8282\u70b9\u7279\u5f81\u6570\u636eh0v\u5206\u522b\u7f13\u5b58\u5728\u90bb\u63a5\u5217\u8868\u7f13\u51b2\u533a\uff08Ad<\/u>jacent ListBuffer\uff09\u548c\u8282\u70b9\u7279\u5f81\u7f13\u51b2\u533a\uff08Node Feature Buffer\uff09\u3002\u805a\u5408\u7684\u7ed3\u679chkN(v)\u5b58\u50a8\u5728\u805a\u5408\u7f13\u51b2\u533a\uff08Aggregation Buffer\uff09\u4e2d\u3002<\/p>\n

\n\t\u5408\u5e76\u5668——\u901a\u8fc7\u8109\u52a8\u77e9\u9635PE\u5bf9\u805a\u5408\u7ed3\u679c\u8fdb\u884c\u5377\u79ef\u8fd0\u7b97\u3002\u5377\u79ef\u6838\u662fWk\u6743\u91cd\u77e9\u9635\u3002\u5377\u79ef\u7ed3\u679c\u7531ReLU\u6fc0\u6d3b\u51fd\u6570\u8fdb\u884c\u975e\u7ebf\u6027\u5904\u7406\uff0c\u540c\u65f6\u4e5f\u5b58\u50a8\u5728PartialSum Buffer\u4e2d\uff0c\u4ee5\u7528\u4e8e\u4e0b\u4e00\u8f6e\u8fed\u4ee3\u3002<\/p>\n

\n\t\u5408\u5e76\u7ed3\u679c\u7ecf\u8fc7L2BN\u6807\u51c6\u5316\u5904\u7406\u540e\uff0c\u5373\u4e3a\u6700\u7ec8\u7684\u8282\u70b9\u8868\u793ahkv\u3002\u5728\u4e00\u4e2a\u5178\u578b\u7684\u8282\u70b9\u5206\u7c7b\u9884\u6d4b\u5e94\u7528\u4e2d\uff0c\u8282\u70b9\u8868\u793ahkv\u53ef\u4ee5\u901a\u8fc7\u4e00\u4e2a\u5168\u8fde\u63a5\u5c42\uff08FC\uff09\u6765\u83b7\u53d6\u8282\u70b9\u7684\u5206\u7c7b\u6807\u7b7e\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u662f\u4f20\u7edf\u7684\u673a\u5668\u5b66\u4e60<\/u>\u5904\u7406\u65b9\u6cd5\u4e4b\u4e00\uff0c\u5728GraphSAGE\u6587\u732e\u8d44\u6599<\/u>\u4e2d\u6ca1\u6709\u4f53\u73b0\uff0c\u8fd9\u4e2a\u529f\u80fd\u4e5f\u6ca1\u6709\u5305\u542b\u5728\u8fd9\u4e2a\u67b6\u6784\u4e2d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

GNN\u52a0\u901f\u5668\u9876\u5c42\u67b6\u6784 \u6b64GNN\u52a0\u901f\u5668\u662f\u4e3aGraphSAGE\u7b97\u6cd5\u8bbe\u8ba1\u7684\uff0c\u4f46\u662f\u5b83\u7684\u8bbe\u8ba1\u4e5f\u53ef\u4ee5\u5e94\u7528\u4e8e\u5176\u4ed6\u7c7b\u4f3c\u7684GNN\u7b97\u6cd5\u52a0\u901f\u3002\u5176\u9876\u5c42\u67b6\u6784\u5982\u4e0b\u56fe\u6240\u793a\u3002 \u8be5\u67b6\u6784\u7531\u4ee5\u4e0b\u6a21\u5757\u7ec4\u6210\uff1a \u56fe\u4e2d\u7684GNN\u5185\u6838\u662f\u7b97\u6cd5\u5b9e\u73b0<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"_links":{"self":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/3397"}],"collection":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3397"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/3397\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3397"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}