{"id":39379,"date":"2025-03-13T04:02:25","date_gmt":"2025-03-12T20:02:25","guid":{"rendered":"https:\/\/17aitech.com\/?p=39379"},"modified":"2025-03-13T04:02:25","modified_gmt":"2025-03-12T20:02:25","slug":"%e5%9c%a8%e9%95%bf%e6%96%87%e6%9c%ac%e4%b8%8a%e6%af%94flash-attention%e5%bf%ab10%e5%80%8d%ef%bc%81%e6%b8%85%e5%8d%8e%e7%ad%89%e6%8f%90%e5%87%baapb%e5%ba%8f%e5%88%97%e5%b9%b6%e8%a1%8c%e6%8e%a8%e7%90%86","status":"publish","type":"post","link":"https:\/\/17aitech.com\/?p=39379","title":{"rendered":"\u5728\u957f\u6587\u672c\u4e0a\u6bd4Flash Attention\u5feb10\u500d\uff01\u6e05\u534e\u7b49\u63d0\u51faAPB\u5e8f\u5217\u5e76\u884c\u63a8\u7406\u6846\u67b6"},"content":{"rendered":"<p>\u6587\u7ae0\u6765\u6e90\u4e8e\u4e92\u8054\u7f51:<a href=\"https:\/\/www.jiqizhixin.com\/articles\/2025-03-12-4\" target=\"_blank\">\u5728\u957f\u6587\u672c\u4e0a\u6bd4Flash Attention\u5feb10\u500d\uff01\u6e05\u534e\u7b49\u63d0\u51faAPB\u5e8f\u5217\u5e76\u884c\u63a8\u7406\u6846\u67b6<\/a><\/p>\n<p>\u5728 ChatGPT \u7206\u706b\u4e24\u5e74\u591a\u7684\u65f6\u95f4\u91cc\uff0c\u5927\u8bed\u8a00\u6a21\u578b\u7684\u4e0a\u4e0b\u6587\u7a97\u53e3\u957f\u5ea6\u57fa\u51c6\u7ebf\u88ab\u62c9\u5347\uff0c\u4ee5\u6b64\u4e3a\u57fa\u7840\u6240\u6784\u5efa\u7684\u957f CoT \u63a8\u7406\u3001\u591a Agent \u534f\u4f5c\u7b49\u7c7b\u578b\u7684\u9ad8\u7ea7\u5e94\u7528\u4e5f\u9010\u6e10\u589e\u591a\u3002<\/p>\n<p>\u968f\u4e4b\u800c\u6765\u7684\u662f\uff0c\u957f\u6587\u672c\u63a8\u7406\u901f\u5ea6\u88ab\u63d0\u51fa\u66f4\u9ad8\u8981\u6c42\uff0c\u800c\u57fa\u4e8e\u73b0\u6709 Transformer \u67b6\u6784\u7684\u6a21\u578b\u53d7\u9650\u4e8e\u6ce8\u610f\u529b\u673a\u5236\u7684\u4e8c\u6b21\u65b9\u590d\u6742\u5ea6\uff0c\u96be\u4ee5\u5728\u8f83\u77ed\u65f6\u5ef6\u5185\u5904\u7406\u8d85\u957f\u6587\u672c\u8bf7\u6c42\u3002<\/p>\n<p>\u9488\u5bf9\u8fd9\u4e00\u75db\u70b9\uff0c\u6e05\u534e\u5927\u5b66 NLP \u5b9e\u9a8c\u5ba4\u8054\u624b\u4e2d\u5357\u5927\u5b66\u3001\u5317\u4eac\u90ae\u7535\u5927\u5b66\u4ee5\u53ca\u817e\u8baf\u5fae\u4fe1 AI \u5b9e\u9a8c\u5ba4\u53d6\u5f97\u4e86\u7a81\u7834\uff0c\u5171\u540c\u63d0\u51fa\u4e86 <strong>APB \u6846\u67b6<\/strong> \u2014\u2014 \u5176\u6838\u5fc3\u662f\u4e00\u4e2a<strong>\u6574\u5408\u4e86\u7a00\u758f\u6ce8\u610f\u529b\u673a\u5236\u7684\u5e8f\u5217\u5e76\u884c\u63a8\u7406\u6846\u67b6<\/strong>\uff0c\u901a\u8fc7\u6574\u5408\u5c40\u90e8 KV \u7f13\u5b58\u538b\u7f29\u65b9\u5f0f\u4ee5\u53ca\u7cbe\u7b80\u7684\u8de8 GPU \u901a\u4fe1\u673a\u5236\uff0c\u89e3\u51b3\u4e86\u957f\u4e0a\u4e0b\u6587\u8fdc\u8ddd\u79bb\u8bed\u4e49\u4f9d\u8d56\u95ee\u9898\uff0c<strong>\u5728\u65e0\u6027\u80fd\u635f\u5931\u7684\u524d\u63d0\u4e0b\u5927\u5e45\u5ea6\u63d0\u5347\u8d85\u957f\u6587\u672c\u9884\u586b\u5145\u7684\u6548\u7387<\/strong>\u3002<\/p>\n<p>\u5728 128K \u6587\u672c\u4e0a\uff0cAPB \u80fd\u591f\u51fa\u8272\u5730\u5e73\u8861\u6027\u80fd\u4e0e\u901f\u5ea6\uff0c\u8fbe\u5230<strong>\u76f8\u8f83\u4e8e\u4f20\u7edf Flash Attention \u7ea6 10 \u500d\u7684\u52a0\u901f\u6bd4<\/strong>\uff0c\u5728\u591a\u79cd\u4efb\u52a1\u4e0a\u751a\u81f3\u5177\u6709\u8d85\u8d8a\u5b8c\u6574 Attention \u8ba1\u7b97\u7684\u6027\u80fd\uff1b\u4e0e<strong>\u82f1\u4f1f\u8fbe<\/strong>\u63d0\u51fa\u7684\u540c\u4e3a\u5206\u5e03\u5f0f\u8bbe\u5b9a\u4e0b\u7684<strong>\u00a0Star Attention \u76f8\u6bd4\uff0cAPB \u4e5f\u80fd\u8fbe\u5230 1.6 \u500d\u52a0\u901f\u6bd4<\/strong>\uff0c\u5728\u6027\u80fd\u3001\u901f\u5ea6\u4ee5\u53ca\u6574\u4f53\u8ba1\u7b97\u91cf\u4e0a\u5747\u4f18\u4e8e Star Attention\u3002<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-5e5b8b5547fa000c4edad1e3f88a2589.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-5e5b8b5547fa000c4edad1e3f88a2589.png\"><\/a><\/p>\n<ul>\n<li>\n<p>\u8bba\u6587\u94fe\u63a5\uff1ahttps:\/\/arxiv.org\/pdf\/2502.12085<\/p>\n<\/li>\n<li>\n<p>GitHub \u94fe\u63a5\uff1ahttps:\/\/github.com\/thunlp\/APB<\/p>\n<\/li>\n<\/ul>\n<p>\u8fd9\u4e00\u65b9\u6cd5\u4e3b\u8981\u7528\u4e8e\u964d\u4f4e\u5904\u7406\u957f\u6587\u672c\u8bf7\u6c42\u7684\u9996 token \u54cd\u5e94\u65f6\u95f4\u3002\u672a\u6765\uff0cAPB \u6709\u6f5c\u529b\u8fd0\u7528\u5728\u5177\u6709\u4f4e\u9996 token \u54cd\u5e94\u65f6\u95f4\u8981\u6c42\u7684\u6a21\u578b\u670d\u52a1\u4e0a\uff0c\u5b9e\u73b0\u5927\u6a21\u578b\u670d\u52a1\u5c42\u5bf9\u957f\u6587\u672c\u8bf7\u6c42\u7684\u9ad8\u6548\u5904\u7406\u3002<\/p>\n<p><strong>\u74f6\u9888\uff1a\u52a0\u901f\u957f\u6587\u672c\u9884\u586b\u5145\u6548\u7387<\/strong><\/p>\n<p>\u957f\u6587\u672c\u9884\u586b\u5145\u7684\u6548\u7387\u53d7\u5230\u8ba1\u7b97\u7684\u5236\u7ea6\u3002\u7531\u4e8e\u6ce8\u610f\u529b\u673a\u5236\u7684\u8ba1\u7b97\u91cf\u4e0e\u5e8f\u5217\u957f\u5ea6\u5448\u4e8c\u6b21\u65b9\u5173\u7cfb\uff0c\u957f\u6587\u672c\u7684\u8ba1\u7b97\u901a\u5e38\u662f\u8ba1\u7b97\u74f6\u9888\u7684\u3002\u4e3b\u6d41\u52a0\u901f\u957f\u6587\u672c\u9884\u586b\u5145\u7684\u8def\u7ebf\u6709\u4e24\u79cd\uff0c<strong>\u63d0\u5347\u5e76\u884c\u5ea6<\/strong>\u548c<strong>\u51cf\u5c11\u8ba1\u7b97<\/strong>\uff1a<\/p>\n<ul>\n<li>\n<p><strong>\u63d0\u5347\u5e76\u884c\u5ea6<\/strong>\uff1a\u6211\u4eec\u53ef\u4ee5\u5c06\u6ce8\u610f\u529b\u673a\u5236\u7684\u8ba1\u7b97\u5206\u5e03\u5728\u4e0d\u540c\u8bbe\u5907\u4e0a\u6765\u63d0\u5347\u5e76\u884c\u5ea6\u3002\u5f53\u4e00\u4e2a GPU \u7684\u7b97\u529b\u88ab\u5145\u5206\u7684\u5229\u7528\u65f6\uff0c\u7b80\u5355\u7684\u589e\u52a0 GPU \u7684\u6570\u91cf\u5c31\u53ef\u4ee5\u589e\u52a0\u6709\u6548\u7b97\u529b\u3002\u73b0\u5b58\u7814\u7a76\u4e2d\u6709\u5404\u79cd\u5404\u6837\u7684\u5e76\u884c\u7b56\u7565\uff0c\u5305\u62ec\u5f20\u91cf\u5e76\u884c\u3001\u6a21\u578b\u5e76\u884c\u3001\u5e8f\u5217\u5e76\u884c\u7b49\u3002\u5bf9\u4e8e\u957f\u6587\u672c\u63a8\u7406\u4f18\u5316\uff0c\u5e8f\u5217\u5e76\u884c\u6709\u5f88\u5927\u7684\u4f18\u5316\u6f5c\u529b\uff0c\u56e0\u4e3a\u5b83\u4e0d\u53d7\u6a21\u578b\u67b6\u6784\u7684\u5236\u7ea6\uff0c\u5177\u6709\u5f88\u597d\u7684\u53ef\u6269\u5c55\u6027\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u51cf\u5c11\u8ba1\u7b97<\/strong>\uff1a\u53e6\u4e00\u4e2a\u52a0\u901f\u957f\u6587\u672c\u9884\u586b\u5145\u7684\u65b9\u5f0f\u662f\u51cf\u5c11\u8ba1\u7b97\uff0c\u5373\u4f7f\u7528\u7a00\u758f\u6ce8\u610f\u529b\u3002\u6211\u4eec\u53ef\u4ee5\u9009\u62e9\u6ce8\u610f\u529b\u77e9\u9635\u4e2d\u8ba1\u7b97\u7684\u4f4d\u7f6e\uff0c\u5e76\u4e0d\u8ba1\u7b97\u5176\u4ed6\u4f4d\u7f6e\u6765\u51cf\u5c11\u6574\u4f53\u7684\u8ba1\u7b97\u91cf\u3002\u6b64\u7c7b\u65b9\u6cd5\u901a\u5e38\u4f1a\u5e26\u6765\u4e00\u5b9a\u7684\u6027\u80fd\u635f\u5931\u3002\u8ba1\u7b97\u65f6\u5ffd\u7565\u91cd\u8981\u7684\u4e0a\u4e0b\u6587\u4f1a\u5bfc\u81f4\u65e0\u6cd5\u5904\u7406\u67d0\u4e9b\u4efb\u52a1\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u7136\u800c\uff0c\u7b80\u5355\u5730\u63d0\u5347\u5e76\u884c\u5ea6\u548c\u51cf\u5c11\u8ba1\u7b97\u5e76\u4e0d\u80fd\u5728\u52a0\u901f\u957f\u6587\u672c\u9884\u586b\u5145\u4e0a\u53d6\u5f97\u8db3\u591f\u7684\u6548\u679c\u3002\u82e5\u8981\u5c06\u4e8c\u8005\u7ed3\u5408\u53c8\u5177\u6709\u6781\u5927\u6311\u6218\uff0c\u8fd9\u662f\u56e0\u4e3a\u7a00\u758f\u6ce8\u610f\u529b\u673a\u5236\u4e2d\uff0c\u51b3\u5b9a\u8ba1\u7b97\u4f55\u5904\u6ce8\u610f\u529b\u901a\u5e38\u9700\u8981\u5b8c\u6574\u8f93\u5165\u5e8f\u5217\u7684\u4fe1\u606f\u3002\u5728\u5e8f\u5217\u5e76\u884c\u6846\u67b6\u4e2d\uff0c\u6bcf\u4e2a GPU \u4ec5\u6301\u6709\u90e8\u5206 KV \u7f13\u5b58\uff0c\u65e0\u6cd5\u5728\u4e0d\u901a\u8fc7\u5927\u89c4\u6a21\u901a\u4fe1\u7684\u524d\u63d0\u4e0b\u83b7\u5f97\u8db3\u591f\u7684\u5168\u5c40\u4fe1\u606f\u6765\u538b\u7f29\u6ce8\u610f\u529b\u7684\u8ba1\u7b97\u3002<\/p>\n<p>\u9488\u5bf9\u8fd9\u4e00\u95ee\u9898\uff0c\u6709\u4e24\u4e2a\u5148\u9a71\u65b9\u6cd5\uff1a\u4e00\u662f\u82f1\u4f1f\u8fbe\u63d0\u51fa\u7684 Star Attention \uff0c\u76f4\u63a5\u53bb\u9664\u4e86\u5e8f\u5217\u5e76\u884c\u4e2d\u7684\u6240\u6709\u901a\u4fe1\uff0c\u5e76\u53ea\u8ba1\u7b97\u6bcf\u4e2a GPU \u4e0a\u5c40\u90e8\u4e0a\u4e0b\u6587\u7684\u6ce8\u610f\u529b\uff0c\u4f46\u8fd9\u6837\u8ba1\u7b97\u4e5f\u5bfc\u81f4\u4e86\u5f88\u5927\u7a0b\u5ea6\u7684\u6027\u80fd\u635f\u5931\uff1b\u4e8c\u662f\u5361\u5185\u57fa\u6885\u9686\u5927\u5b66\u63d0\u51fa\u7684 APE\uff0c\u5173\u6ce8 RAG \u573a\u666f\u4e0b\u957f\u6587\u672c\u9884\u586b\u5145\u52a0\u901f\uff0c\u901a\u8fc7\u5c06\u4e0a\u4e0b\u6587\u5747\u5300\u5206\u5272\u3001\u5bf9\u6ce8\u610f\u529b\u8fdb\u884c\u653e\u7f29\u548c\u8c03\u6574 softmax \u6e29\u5ea6\uff0c\u5b9e\u73b0\u5e76\u884c\u7f16\u7801\uff0c\u540c\u6837\u5728\u9700\u8981\u8fdc\u8ddd\u79bb\u4f9d\u8d56\u7684\u573a\u666f\u4e0a\u6709\u4e00\u5b9a\u7684\u6027\u80fd\u635f\u5931\u3002<\/p>\n<p>\u533a\u522b\u4e8e\u4e0a\u8ff0\u65b9\u6cd5\uff0cAPB \u901a\u8fc7\u8bbe\u8ba1\u9762\u5411\u5e8f\u5217\u5e76\u884c\u573a\u666f\u7684\u4f4e\u901a\u4fe1\u7a00\u758f\u6ce8\u610f\u529b\u673a\u5236\uff0c\u6784\u5efa\u4e86\u4e00\u4e2a\u66f4\u5feb\u3001\u6027\u80fd\u66f4\u597d\uff0c\u4e14\u9002\u914d\u901a\u7528\u957f\u6587\u672c\u4efb\u52a1\u7684\u957f\u6587\u672c\u52a0\u901f\u65b9\u6cd5\u3002<\/p>\n<p><strong>APB\uff1a\u9762\u76f8\u5e8f\u5217\u5e76\u884c\u6846\u67b6\u7684\u7a00\u758f\u6ce8\u610f\u529b\u673a\u5236<\/strong><\/p>\n<p>\u76f8\u8f83\u4e8e\u4e4b\u524d\u7684\u7814\u7a76\uff0cAPB \u901a\u8fc7\u5982\u4e0b\u65b9\u6cd5\u63d0\u51fa\u4e86\u4e00\u79cd\u9762\u76f8\u5e8f\u5217\u5e76\u884c\u6846\u67b6\u7684\u7a00\u758f\u6ce8\u610f\u529b\u673a\u5236\uff1a<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-821691279f595dafdff568d7c0e429fb.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-821691279f595dafdff568d7c0e429fb.png\"><\/a><\/p>\n<ul>\n<li>\n<p><strong>\u589e\u52a0\u8f83\u5c0f\u7684 Anchor block<\/strong>\uff1aStar Attention \u4e2d\u5f15\u5165\u7684 Anchor \u00a0block\uff08\u8f93\u5165\u5e8f\u5217\u5f00\u59cb\u7684\u82e5\u5e72 token\uff09\u80fd\u591f\u6781\u5927\u6062\u590d\u6027\u80fd\uff0c\u7136\u800c\u5176\u5c3a\u5bf8\u9700\u8981\u548c\u5c40\u90e8\u4e0a\u4e0b\u6587\u5757\u4e00\u6837\u5927\u3002\u8fc7\u5927\u7684 anchor block \u4f1a\u5728 FFN \u4e2d\u5f15\u5165\u8fc7\u591a\u7684\u989d\u5916\u5f00\u9500\u3002APB \u901a\u8fc7\u51cf\u5c11 anchor \u00a0block \u7684\u5927\u5c0f\uff0c\u4f7f\u5176\u548c\u4e0a\u4e0b\u6587\u5757\u7684 1\/4 \u6216 1\/8 \u4e00\u6837\u5927\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u89e3\u51b3\u957f\u8ddd\u79bb\u8bed\u4e49\u4f9d\u8d56\u95ee\u9898<\/strong>\uff1a\u5148\u524d\u7814\u7a76\u67d0\u4e9b\u4efb\u52a1\u4e0a\u6027\u80fd\u4e0b\u964d\u7684\u539f\u56e0\u662f\u5b83\u4eec\u65e0\u6cd5\u5904\u7406\u957f\u8ddd\u79bb\u8bed\u4e49\u4f9d\u8d56\uff0c\u540e\u5e8f GPU \u5206\u5757\u65e0\u6cd5\u770b\u5230\u524d\u5e8f\u4e0a\u4e0b\u6587\u5757\u4e2d\u7684\u4fe1\u606f\uff0c\u5bfc\u81f4\u65e0\u6cd5\u5904\u7406\u7279\u5b9a\u4efb\u52a1\u3002APB \u901a\u8fc7\u6784\u5efa passing \u00a0block \u7684\u65b9\u5f0f\u6765\u89e3\u51b3\u8fd9\u4e00\u95ee\u9898\u3002Passing \u00a0block \u7531\u524d\u9762\u8bbe\u5907\u4e0a\u7684\u91cd\u8981 KV \u5bf9\u7ec4\u6210\u3002\u6bcf\u4e2a\u4e0a\u4e0b\u6587\u5757\u5148\u88ab\u538b\u7f29\uff0c\u7136\u540e\u5c06\u88ab\u538b\u7f29\u7684\u4e0a\u4e0b\u6587\u5757\u901a\u4fe1\u5230\u540e\u7eed GPU \u4e0a\u6765\u6784\u5efa passing block\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u538b\u7f29\u4e0a\u4e0b\u6587\u5757<\/strong>\uff1a\u5728\u4e0d\u8fdb\u884c\u5927\u89c4\u6a21\u901a\u4fe1\u7684\u524d\u63d0\u4e0b\uff0c\u6bcf\u4e2a\u8bbe\u5907\u53ea\u5bf9\u81ea\u5df1\u6301\u6709\u7684\u4e0a\u4e0b\u6587\u6709\u8bbf\u95ee\u6743\u9650\u3002\u56e0\u6b64\uff0c\u73b0\u5b58\u7684 KV Cache \u538b\u7f29\u7b97\u6cd5\uff08\u4f8b\u5982 H2O \u548c SnapKV\uff09\u4e0d\u9002\u7528\u4e8e\u8fd9\u4e00\u573a\u666f\uff0c\u56e0\u4e3a\u5b83\u4eec\u4f9d\u8d56\u5168\u5e8f\u5217\u7684\u4fe1\u606f\u3002\u7136\u800c\uff0c\u8be5\u7279\u70b9\u4e0e Locret \u4e00\u81f4\uff0cKV Cache \u91cd\u8981\u6027\u5206\u6570\u4ec5\u4ec5\u4e0e\u5bf9\u5e94 KV \u5bf9\u7684 Q, K, V \u76f8\u5173\u3002APB \u4f7f\u7528 Locret \u4e2d\u5f15\u5165\u7684 retaining heads \u4f5c\u4e3a\u4e0a\u4e0b\u6587\u538b\u7f29\u5668\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u67e5\u8be2\u611f\u77e5\u7684\u4e0a\u4e0b\u6587\u538b\u7f29<\/strong>\uff1aAPB \u5728 anchor \u00a0block \u7684\u5f00\u5934\u5d4c\u5165\u67e5\u8be2\u3002\u5f53\u9884\u586b\u5145\u7ed3\u675f\u65f6\uff0c\u8fd9\u4e9b\u67e5\u8be2\u53ef\u4ee5\u968f\u7740 anchor \u00a0block \u4e00\u540c\u88ab\u4e22\u5f03\uff0c\u4e0d\u4f1a\u5f71\u54cd\u6574\u4f53\u8ba1\u7b97\u7684\u540c\u65f6\u8fd8\u80fd\u8ba9\u4e0a\u4e0b\u6587\u538b\u7f29\u5668\u770b\u5230\u67e5\u8be2\u7684\u5185\u5bb9\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u4fdd\u7559\u5934\u80fd\u591f\u66f4\u7cbe\u51c6\u5730\u8bc6\u522b\u51fa\u67e5\u8be2\u76f8\u5173\u7684 KV \u5bf9\uff0c\u5e76\u901a\u8fc7\u901a\u4fe1\u673a\u5236\u4f20\u7ed9\u540e\u7eed\u8bbe\u5907\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u4ee5\u6b64\u673a\u5236\u4e3a\u57fa\u7840\uff0cAPB \u7684\u63a8\u7406\u8fc7\u7a0b\u5982\u4e0b\uff1a<\/p>\n<ul>\n<li>\n<p>\u4e0a\u4e0b\u6587\u5206\u5272\uff1a\u957f\u6587\u672c\u88ab\u5747\u5300\u7684\u5206\u5230\u6bcf\u4e2a\u8bbe\u5907\u4e0a\uff0c\u5f00\u5934\u62fc\u63a5\u4e00\u4e2a anchor block\uff0c\u5176\u4e2d\u5305\u542b\u4e86\u67e5\u8be2\u95ee\u9898\u3002<\/p>\n<\/li>\n<li>\n<p>\u4e0a\u4e0b\u6587\u538b\u7f29\uff1a\u6211\u4eec\u7528 Locret \u5f15\u5165\u7684\u4fdd\u7559\u5934\u6765\u538b\u7f29 KV Cache\u3002<\/p>\n<\/li>\n<li>\n<p>\u901a\u4fe1\uff1a\u6211\u4eec\u5bf9\u538b\u7f29\u8fc7\u7684 KV Cache \u65bd\u52a0\u4e00\u4e2a AllGather \u7b97\u5b50\u3002\u6bcf\u4e2a\u8bbe\u5907\u4f1a\u62ff\u5230\u524d\u5e8f\u8bbe\u5907\u4f20\u6765\u7684\u538b\u7f29\u7f13\u5b58\uff0c\u5e76\u6784\u5efa passing block\u3002<\/p>\n<\/li>\n<li>\n<p>\u8ba1\u7b97\uff1a\u6211\u4eec\u4f7f\u7528\u4e00\u4e2a\u7279\u6b8a\u7684 Flash Attention Kernel \u6765\u5b9e\u73b0\u8fd9\u4e2a\u7279\u6b8a\u7684\u6ce8\u610f\u529b\u673a\u5236\u3002\u6211\u4eec\u66f4\u6539\u4e86\u6ce8\u610f\u529b\u63a9\u7801\u7684\u5f62\u72b6\u3002Passing block \u5728\u6ce8\u610f\u529b\u8ba1\u7b97\u7ed3\u675f\u540e\u5c31\u88ab\u5220\u9664\uff0c\u4e0d\u53c2\u4e0e\u540e\u7eed\u8ba1\u7b97\u3002<\/p>\n<\/li>\n<\/ul>\n<p><strong>APB \u5b9e\u73b0\u66f4\u5feb\u3001\u6027\u80fd\u66f4\u597d\u7684\u957f\u6587\u672c\u63a8\u7406<\/strong><\/p>\n<p>\u56e2\u961f\u4f7f\u7528 Llama-3.1-8B-instruct, Qwen-2.5-14B-instruct \u4ee5\u53ca Yi-34B-200K \u6a21\u578b\u5728 InfiniteBench \u548c RULER \u4e0a\u8fdb\u884c\u4e86\u6d4b\u8bd5\uff0c\u6d4b\u91cf\u4efb\u52a1\u6027\u80fd\uff08%\uff09\u4ee5\u53ca\u5904\u7406\u5b8c\u6574\u957f\u6587\u672c\u8bf7\u6c42\u7684\u63a8\u7406\u901f\u5ea6\uff08tok \/s\uff09\u3002\u7814\u7a76\u4eba\u5458\u9009\u62e9 Flash Attention, Ulysses, Ring Attention, MInference \u4ee5\u53ca Star Attention \u4f5c\u4e3a\u57fa\u7ebf\u7b97\u6cd5\uff0c\u5b9e\u9a8c\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-92133bab50befe29af0c221757d88315.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-92133bab50befe29af0c221757d88315.png\"><\/a><\/p>\n<p>\u4ece\u4e0a\u56fe\u53ef\u89c1\uff0cFlash Attention \u4f5c\u4e3a\u65e0\u5e8f\u5217\u5e76\u884c\u7684\u7cbe\u51c6\u6ce8\u610f\u529b\u7b97\u6cd5\uff0c\u5177\u6709\u8f83\u597d\u7684\u4efb\u52a1\u6027\u80fd\uff0c\u4f46\u63a8\u7406\u901f\u5ea6\u6700\u6162\uff1bRing Attention \u548c Ulysses \u4f5c\u4e3a\u5e8f\u5217\u5e76\u884c\u7684\u7cbe\u51c6\u6ce8\u610f\u529b\u7b97\u6cd5\uff0c\u901a\u8fc7\u589e\u52a0\u5e76\u884c\u5ea6\u7684\u65b9\u5f0f\u63d0\u5347\u4e86\u63a8\u7406\u901f\u5ea6\uff1bMInference \u662f\u4e00\u79cd\u65e0\u5e8f\u5217\u5e76\u884c\u7684\u7a00\u758f\u6ce8\u610f\u529b\u673a\u5236\uff0c\u8868\u73b0\u51fa\u4e86\u4e00\u5b9a\u7684\u6027\u80fd\u635f\u5931\uff1bStar Attention \u4f5c\u4e3a\u5e8f\u5217\u5e76\u884c\u4e0e\u7a00\u758f\u6ce8\u610f\u529b\u7ed3\u5408\u7684\u6700\u521d\u5c1d\u8bd5\uff0c\u5177\u6709\u8f83\u597d\u7684\u63a8\u7406\u901f\u5ea6\uff0c\u7136\u800c\u8868\u73b0\u51fa\u4e86\u663e\u8457\u7684\u6027\u80fd\u4e0b\u964d\u3002<\/p>\n<p>\u76f8\u8f83\u4e8e\u57fa\u7ebf\u7b97\u6cd5\uff0cAPB \u5728\u591a\u79cd\u6a21\u578b\u548c\u4efb\u52a1\u4e0a\u8868\u73b0\u51fa\u66f4\u4f18\u7684\u6027\u80fd\u548c\u66f4\u5feb\u7684\u63a8\u7406\u901f\u5ea6\u3002\u8fd9\u610f\u5473\u7740\uff0cAPB \u65b9\u6cd5\u80fd\u591f\u5b9e\u73b0\u6700\u597d\u7684\u4efb\u52a1\u6027\u80fd\u4e0e\u63a8\u7406\u901f\u5ea6\u7684\u5747\u8861\u3002<\/p>\n<p>\u9664\u6b64\u4e4b\u5916\uff0c\u7814\u7a76\u4eba\u5458\u5728\u4e0d\u540c\u957f\u5ea6\u7684\u6570\u636e\u4e0a\u6d4b\u91cf\u4e86 APB \u4e0e\u57fa\u7ebf\u7b97\u6cd5\u7684\u6027\u80fd\u3001\u901f\u5ea6\uff0c\u5e76\u7ed9\u51fa\u4e86\u6574\u4f53\u8ba1\u7b97\u91cf\uff0c\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-3e99e49b0d4c61e574f99cc048a379d7.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-3e99e49b0d4c61e574f99cc048a379d7.png\"><\/a><\/p>\n<p>\u53ef\u4ee5\u4ece\u4e0a\u56fe\u4e2d\u770b\u5230\uff0cAPB \u5728\u5404\u79cd\u8f93\u5165\u957f\u5ea6\u4e0b\u5747\u8868\u73b0\u51fa\u66f4\u4f18\u7684\u4efb\u52a1\u6027\u80fd\u4e0e\u63a8\u7406\u901f\u5ea6\u3002\u901f\u5ea6\u4f18\u52bf\u968f\u7740\u8f93\u5165\u5e8f\u5217\u53d8\u957f\u800c\u53d8\u5f97\u66f4\u52a0\u660e\u663e\u3002APB \u76f8\u8f83\u4e8e\u5176\u4ed6\u65b9\u6cd5\u66f4\u5feb\u7684\u539f\u56e0\u662f\u5b83\u9700\u8981\u66f4\u5c11\u7684\u8ba1\u7b97\uff0c\u4e14\u8ba1\u7b97\u91cf\u5dee\u5f02\u968f\u7740\u5e8f\u5217\u53d8\u957f\u800c\u52a0\u5927\u3002<\/p>\n<p>\u5e76\u4e14\uff0c\u7814\u7a76\u4eba\u5458\u8fd8\u5bf9 APB \u53ca\u57fa\u7ebf\u7b97\u6cd5\u8fdb\u884c\u4e86\u9884\u586b\u5145\u65f6\u95f4\u62c6\u89e3\u5206\u6790\uff0c\u53d1\u73b0\u5e8f\u5217\u5e76\u884c\u53ef\u4ee5\u5927\u5e45\u5ea6\u7f29\u51cf\u6ce8\u610f\u529b\u548c FFN \u65f6\u95f4\u3002<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-ffe9005d811a415603b93a710027e432.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-ffe9005d811a415603b93a710027e432.png\"><\/a><\/p>\n<p>\u901a\u8fc7\u7a00\u758f\u6ce8\u610f\u529b\u673a\u5236\uff0cAPB \u80fd\u8fdb\u4e00\u6b65\u7f29\u51cf\u6ce8\u610f\u529b\u65f6\u95f4\u3002Star Attention \u7531\u4e8e\u4f7f\u7528\u4e86\u8fc7\u5927\u7684 anchor block\uff0c\u5176 FFN \u7684\u989d\u5916\u5f00\u9500\u5341\u5206\u660e\u663e\uff0c\u800c APB \u7531\u4e8e\u4f7f\u7528\u4e86 passing block \u6765\u4f20\u9012\u8fdc\u8ddd\u79bb\u8bed\u4e49\u4f9d\u8d56\uff0c\u80fd\u591f\u5927\u5e45\u5ea6\u7f29\u5c0f anchor block \u5927\u5c0f\uff0c\u4ece\u800c\u964d\u4f4e FFN \u5904\u7684\u989d\u5916\u5f00\u9500\u3002<\/p>\n<p>APB \u652f\u6301\u5177\u6709\u5353\u8d8a\u7684\u517c\u5bb9\u6027\uff0c\u80fd\u9002\u5e94\u4e0d\u540c\u5206\u5e03\u5f0f\u8bbe\u5b9a\uff08\u663e\u5361\u6570\u76ee\uff09\u4ee5\u53ca\u4e0d\u540c\u6a21\u578b\u5927\u5c0f\uff0c\u5728\u591a\u79cd\u6a21\u578b\u548c\u5206\u5e03\u5f0f\u8bbe\u5b9a\u4e0b\u5747\u5728\u6027\u80fd\u4e0e\u63a8\u7406\u901f\u5ea6\u4e0a\u53d6\u5f97\u4e86\u4f18\u5f02\u7684\u6548\u679c\u3002<\/p>\n<p><strong>\u6838\u5fc3\u4f5c\u8005\u7b80\u4ecb<\/strong><\/p>\n<p>\u9ec4\u5b87\u7fd4\uff0c\u6e05\u534e\u5927\u5b66\u56db\u5e74\u7ea7\u672c\u79d1\u751f\uff0cTHUNLP \u5b9e\u9a8c\u5ba4 2025 \u5e74\u51c6\u5165\u5b66\u535a\u58eb\u751f\uff0c\u5bfc\u5e08\u4e3a\u5218\u77e5\u8fdc\u526f\u6559\u6388\u3002\u66fe\u53c2\u4e0e\u8fc7 MiniCPM\u3001\u6a21\u578b\u9ad8\u6548\u5fae\u8c03\u3001\u4ee5\u53ca\u6295\u673a\u91c7\u6837\u7814\u7a76\u9879\u76ee\u3002\u4e3b\u8981\u7814\u7a76\u5174\u8da3\u96c6\u4e2d\u5728\u6784\u5efa\u9ad8\u6548\u7684\u5927\u6a21\u578b\u63a8\u7406\u7cfb\u7edf\uff0c\u5173\u6ce8\u6a21\u578b\u538b\u7f29\u3001\u6295\u673a\u91c7\u6837\u3001\u957f\u6587\u672c\u7a00\u758f\u7b49\u63a8\u7406\u52a0\u901f\u6280\u672f\u3002<\/p>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-4cbbc9e3e1bc047784758bc7c2309aac.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-4cbbc9e3e1bc047784758bc7c2309aac.png\"><\/a><\/section>\n<p>\u674e\u660e\u4e1a\uff0c\u4e2d\u5357\u5927\u5b66\u4e09\u5e74\u7ea7\u672c\u79d1\u751f\uff0c2024 \u5e74 6 \u6708\u4efd\u52a0\u5165 THUNLP \u5b9e\u9a8c\u5ba4\u5b9e\u4e60\uff0c\u53c2\u4e0e\u8fc7\u6295\u673a\u91c7\u6837\u7814\u7a76\u9879\u76ee\u3002\u4e3b\u8981\u7814\u7a76\u5174\u8da3\u96c6\u4e2d\u5728\u5927\u6a21\u578b\u7684\u63a8\u7406\u52a0\u901f\uff0c\u4f8b\u5982\u6295\u673a\u91c7\u6837\u4ee5\u53ca\u957f\u6587\u672c\u63a8\u7406\u52a0\u901f\u7b49\u3002<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-ed1abfa98208e74b7e3c9f9aaed1afc7.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-ed1abfa98208e74b7e3c9f9aaed1afc7.png\"><\/a><\/p>\n<p>\u6587\u7ae0\u6765\u6e90\u4e8e\u4e92\u8054\u7f51:<a href=\"https:\/\/www.jiqizhixin.com\/articles\/2025-03-12-4\" target=\"_blank\">\u5728\u957f\u6587\u672c\u4e0a\u6bd4Flash Attention\u5feb10\u500d\uff01\u6e05\u534e\u7b49\u63d0\u51faAPB\u5e8f\u5217\u5e76\u884c\u63a8\u7406\u6846\u67b6<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6765\u6e90\u4e8e\u4e92\u8054\u7f51:\u5728\u957f\u6587\u672c\u4e0a\u6bd4Flash [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[27],"tags":[70,71,68],"class_list":["post-39379","post","type-post","status-publish","format-standard","hentry","category-news","tag-agent","tag-rag","tag-68"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728\u957f\u6587\u672c\u4e0a\u6bd4Flash Attention\u5feb10\u500d\uff01\u6e05\u534e\u7b49\u63d0\u51faAPB\u5e8f\u5217\u5e76\u884c\u63a8\u7406\u6846\u67b6 - \u4e00\u8d77AI\u6280\u672f<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/17aitech.com\/?p=39379\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/17aitech.com\/?p=39379\",\"url\":\"https:\/\/17aitech.com\/?p=39379\",\"name\":\"\u5728\u957f\u6587\u672c\u4e0a\u6bd4Flash Attention\u5feb10\u500d\uff01\u6e05\u534e\u7b49\u63d0\u51faAPB\u5e8f\u5217\u5e76\u884c\u63a8\u7406\u6846\u67b6 - \u4e00\u8d77AI\u6280\u672f\",\"isPartOf\":{\"@id\":\"https:\/\/17aitech.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/17aitech.com\/?p=39379#primaryimage\"},\"image\":{\"@id\":\"https:\/\/17aitech.com\/?p=39379#primaryimage\"},\"thumbnailUrl\":\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-5e5b8b5547fa000c4edad1e3f88a2589.png\",\"datePublished\":\"2025-03-12T20:02:25+00:00\",\"author\":{\"@id\":\"https:\/\/17aitech.com\/#\/schema\/person\/60225458499e817ae0af73e67e440b9d\"},\"breadcrumb\":{\"@id\":\"https:\/\/17aitech.com\/?p=39379#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/17aitech.com\/?p=39379\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/17aitech.com\/?p=39379#primaryimage\",\"url\":\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-5e5b8b5547fa000c4edad1e3f88a2589.png\",\"contentUrl\":\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-5e5b8b5547fa000c4edad1e3f88a2589.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/17aitech.com\/?p=39379#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/17aitech.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728\u957f\u6587\u672c\u4e0a\u6bd4Flash Attention\u5feb10\u500d\uff01\u6e05\u534e\u7b49\u63d0\u51faAPB\u5e8f\u5217\u5e76\u884c\u63a8\u7406\u6846\u67b6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/17aitech.com\/#website\",\"url\":\"https:\/\/17aitech.com\/\",\"name\":\"\u4e00\u8d77AI\u6280\u672f\",\"description\":\"\u8ba9AI\u77e5\u8bc6\u89e6\u624b\u53ef\u53ca\",\"alternateName\":\"\u4e00\u8d77AI\u6280\u672f\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/17aitech.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/17aitech.com\/#\/schema\/person\/60225458499e817ae0af73e67e440b9d\",\"name\":\"AI\u5c0f\u52a9\u624b\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/17aitech.com\/#\/schema\/person\/image\/\",\"url\":\"\/\/17aitech.com\/wp-content\/uploads\/2024\/04\/robot_3.png\",\"contentUrl\":\"\/\/17aitech.com\/wp-content\/uploads\/2024\/04\/robot_3.png\",\"caption\":\"AI\u5c0f\u52a9\u624b\"},\"description\":\"\u8fd9\u4e2a\u4eba\u5f88\u61d2\uff0c\u4ec0\u4e48\u90fd\u6ca1\u6709\u7559\u4e0b\uff5e\",\"url\":\"https:\/\/17aitech.com\/?page_id=33738&user=3\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5728\u957f\u6587\u672c\u4e0a\u6bd4Flash Attention\u5feb10\u500d\uff01\u6e05\u534e\u7b49\u63d0\u51faAPB\u5e8f\u5217\u5e76\u884c\u63a8\u7406\u6846\u67b6 - \u4e00\u8d77AI\u6280\u672f","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/17aitech.com\/?p=39379","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/17aitech.com\/?p=39379","url":"https:\/\/17aitech.com\/?p=39379","name":"\u5728\u957f\u6587\u672c\u4e0a\u6bd4Flash Attention\u5feb10\u500d\uff01\u6e05\u534e\u7b49\u63d0\u51faAPB\u5e8f\u5217\u5e76\u884c\u63a8\u7406\u6846\u67b6 - \u4e00\u8d77AI\u6280\u672f","isPartOf":{"@id":"https:\/\/17aitech.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/17aitech.com\/?p=39379#primaryimage"},"image":{"@id":"https:\/\/17aitech.com\/?p=39379#primaryimage"},"thumbnailUrl":"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-5e5b8b5547fa000c4edad1e3f88a2589.png","datePublished":"2025-03-12T20:02:25+00:00","author":{"@id":"https:\/\/17aitech.com\/#\/schema\/person\/60225458499e817ae0af73e67e440b9d"},"breadcrumb":{"@id":"https:\/\/17aitech.com\/?p=39379#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/17aitech.com\/?p=39379"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/17aitech.com\/?p=39379#primaryimage","url":"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-5e5b8b5547fa000c4edad1e3f88a2589.png","contentUrl":"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/03\/frc-5e5b8b5547fa000c4edad1e3f88a2589.png"},{"@type":"BreadcrumbList","@id":"https:\/\/17aitech.com\/?p=39379#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/17aitech.com\/"},{"@type":"ListItem","position":2,"name":"\u5728\u957f\u6587\u672c\u4e0a\u6bd4Flash Attention\u5feb10\u500d\uff01\u6e05\u534e\u7b49\u63d0\u51faAPB\u5e8f\u5217\u5e76\u884c\u63a8\u7406\u6846\u67b6"}]},{"@type":"WebSite","@id":"https:\/\/17aitech.com\/#website","url":"https:\/\/17aitech.com\/","name":"\u4e00\u8d77AI\u6280\u672f","description":"\u8ba9AI\u77e5\u8bc6\u89e6\u624b\u53ef\u53ca","alternateName":"\u4e00\u8d77AI\u6280\u672f","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/17aitech.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/17aitech.com\/#\/schema\/person\/60225458499e817ae0af73e67e440b9d","name":"AI\u5c0f\u52a9\u624b","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/17aitech.com\/#\/schema\/person\/image\/","url":"\/\/17aitech.com\/wp-content\/uploads\/2024\/04\/robot_3.png","contentUrl":"\/\/17aitech.com\/wp-content\/uploads\/2024\/04\/robot_3.png","caption":"AI\u5c0f\u52a9\u624b"},"description":"\u8fd9\u4e2a\u4eba\u5f88\u61d2\uff0c\u4ec0\u4e48\u90fd\u6ca1\u6709\u7559\u4e0b\uff5e","url":"https:\/\/17aitech.com\/?page_id=33738&user=3"}]}},"_links":{"self":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts\/39379","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=39379"}],"version-history":[{"count":0,"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts\/39379\/revisions"}],"wp:attachment":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=39379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=39379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=39379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}