{"id":63,"date":"2026-06-29T10:20:46","date_gmt":"2026-06-29T02:20:46","guid":{"rendered":"https:\/\/genetop.top\/index.php\/2026\/06\/29\/graphrag-2026-05-03-llm-batch-vs-parallel-requests\/"},"modified":"2026-06-29T10:20:46","modified_gmt":"2026-06-29T02:20:46","slug":"graphrag-2026-05-03-llm-batch-vs-parallel-requests","status":"publish","type":"post","link":"https:\/\/genetop.top\/index.php\/2026\/06\/29\/graphrag-2026-05-03-llm-batch-vs-parallel-requests\/","title":{"rendered":"\u591a\u4e2a\u72ec\u7acb\u95ee\u9898\uff0c\u8be5\u5408\u5e76\u6210\u4e00\u4e2a\u8bf7\u6c42\u8fd8\u662f\u62c6\u5f00\u53d1\uff1f\u2014\u2014LLM \u5e76\u53d1\u5904\u7406\u7684\u539f\u7406\u5206\u6790"},"content":{"rendered":"<blockquote>\n<p>\u5f53\u4f60\u6709 5 \u4e2a\u4e92\u4e0d\u76f8\u5173\u7684\u95ee\u9898\uff0c\u662f\u6253\u5305\u6210\u4e00\u6761\u6d88\u606f\u53d1\u7ed9 LLM\uff0c\u8fd8\u662f\u540c\u65f6\u53d1 5 \u4e2a\u8bf7\u6c42\uff1f\u54ea\u79cd\u66f4\u5feb\uff1f<\/p>\n<\/blockquote>\n<h2 id=\"_1\">\u5148\u8bf4\u7ed3\u8bba<\/h2>\n<p><strong>\u62c6\u6210\u591a\u4e2a\u72ec\u7acb\u8bf7\u6c42\u5e76\u884c\u53d1\u9001\uff0c\u51e0\u4e4e\u603b\u662f\u66f4\u5feb\u3002<\/strong><\/p>\n<p>\u8fd9\u4e0d\u662f\u76f4\u89c9\u5224\u65ad\uff0c\u800c\u662f\u7531 LLM \u7684\u5e95\u5c42\u63a8\u7406\u673a\u5236\u51b3\u5b9a\u7684\u3002\u4e0b\u9762\u4ece\u539f\u7406\u5c42\u9762\u9010\u6b65\u8bba\u8bc1\u3002<\/p>\n<h2 id=\"llm\">\u4e00\u3001LLM \u751f\u6210\u6587\u672c\u7684\u57fa\u672c\u673a\u5236\uff1a\u81ea\u56de\u5f52<\/h2>\n<p>\u8981\u7406\u89e3\u8fd9\u4e2a\u95ee\u9898\uff0c\u5fc5\u987b\u5148\u641e\u6e05\u695a LLM \u662f\u600e\u4e48&#8221;\u5199\u5b57&#8221;\u7684\u3002<\/p>\n<p>LLM\uff08\u5982 GPT-4\u3001Claude\uff09\u91c7\u7528<strong>\u81ea\u56de\u5f52\u751f\u6210<\/strong>\uff08autoregressive generation\uff09\uff1a\u6bcf\u6b21\u53ea\u751f\u6210\u4e00\u4e2a token\uff0c\u7136\u540e\u628a\u8fd9\u4e2a token \u62fc\u56de\u8f93\u5165\uff0c\u518d\u751f\u6210\u4e0b\u4e00\u4e2a token\u3002\u5faa\u73af\u5f80\u590d\uff0c\u76f4\u5230\u751f\u6210\u7ed3\u675f\u3002<\/p>\n<p>\u5173\u952e\u70b9\uff1a<strong>\u751f\u6210 N \u4e2a token\uff0c\u5c31\u9700\u8981 N \u6b21\u524d\u5411\u63a8\u7406\uff08forward pass\uff09\u3002<\/strong><\/p>\n<p>\u8fd9\u610f\u5473\u7740\uff1a<br \/>\n&#8211; \u8f93\u51fa 100 \u4e2a token \u7684\u56de\u7b54\uff0c\u9700\u8981 100 \u6b21\u63a8\u7406\u6b65\u9aa4<br \/>\n&#8211; \u8f93\u51fa 500 \u4e2a token \u7684\u56de\u7b54\uff0c\u9700\u8981 500 \u6b21\u63a8\u7406\u6b65\u9aa4<br \/>\n&#8211; <strong>\u603b\u8f93\u51fa\u957f\u5ea6\u76f4\u63a5\u51b3\u5b9a\u4e86\u603b\u8017\u65f6<\/strong><\/p>\n<h2 id=\"_2\">\u4e8c\u3001\u5408\u5e76\u8bf7\u6c42\uff1a\u603b\u8f93\u51fa\u91cf\u53e0\u52a0\uff0c\u5ef6\u8fdf\u7ebf\u6027\u589e\u957f<\/h2>\n<p>\u5047\u8bbe\u4f60\u6709 5 \u4e2a\u72ec\u7acb\u95ee\u9898\uff0c\u6bcf\u4e2a\u95ee\u9898\u7684\u56de\u7b54\u5927\u7ea6 200 tokens\u3002<\/p>\n<p><strong>\u65b9\u6848 A\uff1a\u5408\u5e76\u6210\u4e00\u4e2a\u8bf7\u6c42<\/strong><\/p>\n<p>\u4f60\u628a 5 \u4e2a\u95ee\u9898\u585e\u8fdb\u4e00\u6761\u6d88\u606f\uff1a<\/p>\n<pre><code>\u8bf7\u5206\u522b\u56de\u7b54\u4ee5\u4e0b\u95ee\u9898\uff1a\n1. xxx\n2. xxx\n3. xxx\n4. xxx\n5. xxx\n<\/code><\/pre>\n<p>LLM \u9700\u8981\u751f\u6210\u7684\u603b\u8f93\u51fa \u2248 5 \u00d7 200 = 1000 tokens\u3002\u7531\u4e8e\u81ea\u56de\u5f52\u673a\u5236\uff0c\u8fd9 1000 \u4e2a token \u662f<strong>\u4e32\u884c\u751f\u6210<\/strong>\u7684\u2014\u2014\u7b2c 201 \u4e2a token \u5fc5\u987b\u7b49\u524d 200 \u4e2a\u751f\u6210\u5b8c\u624d\u80fd\u5f00\u59cb\u3002<\/p>\n<p><strong>\u603b\u8017\u65f6 \u2248 1000 \u00d7 \u5355 token \u751f\u6210\u65f6\u95f4<\/strong><\/p>\n<p>\u800c\u4e14\u8fd8\u6709\u989d\u5916\u5f00\u9500\uff1a<br \/>\n&#8211; LLM \u9700\u8981\u5728\u56de\u7b54\u4e4b\u95f4\u7ef4\u62a4\u4e0a\u4e0b\u6587\u5207\u6362\uff08&#8221;\u73b0\u5728\u56de\u7b54\u7b2c 3 \u9898&#8221;\uff09<br \/>\n&#8211; \u66f4\u957f\u7684 KV Cache \u5bfc\u81f4\u6bcf\u4e00\u6b65 attention \u8ba1\u7b97\u91cf\u9012\u589e<br \/>\n&#8211; \u5b9e\u9645\u8f93\u51fa\u5f80\u5f80\u8d85\u8fc7 1000 tokens\uff08\u683c\u5f0f\u5316\u3001\u8fc7\u6e21\u8bed\u53e5\u7b49\uff09<\/p>\n<h2 id=\"_3\">\u4e09\u3001\u62c6\u5206\u8bf7\u6c42\uff1a\u5e76\u884c\u63a8\u7406\uff0c\u8017\u65f6\u53d6\u51b3\u4e8e\u6700\u6162\u7684\u90a3\u4e2a<\/h2>\n<p><strong>\u65b9\u6848 B\uff1a5 \u4e2a\u95ee\u9898\u62c6\u6210 5 \u4e2a\u72ec\u7acb\u8bf7\u6c42\uff0c\u540c\u65f6\u53d1\u9001<\/strong><\/p>\n<p>\u6bcf\u4e2a\u8bf7\u6c42\u72ec\u7acb\u751f\u6210 ~200 tokens\u3002\u5982\u679c\u670d\u52a1\u7aef\u6709\u8db3\u591f\u7684\u5e76\u53d1\u5904\u7406\u80fd\u529b\uff08\u73b0\u4ee3 LLM \u670d\u52a1\u90fd\u6709\uff09\uff0c\u8fd9 5 \u4e2a\u8bf7\u6c42\u4f1a\u88ab<strong>\u5e76\u884c\u5904\u7406<\/strong>\u3002<\/p>\n<p><strong>\u603b\u8017\u65f6 \u2248 max(\u5404\u8bf7\u6c42\u8017\u65f6) \u2248 200 \u00d7 \u5355 token \u751f\u6210\u65f6\u95f4<\/strong><\/p>\n<p>\u5bf9\u6bd4\u4e00\u4e0b\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u65b9\u6848<\/th>\n<th>\u603b\u8f93\u51fa tokens<\/th>\n<th>\u5b9e\u9645\u8017\u65f6\uff08\u76f8\u5bf9\u503c\uff09<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u5408\u5e76\u4e00\u4e2a\u8bf7\u6c42<\/td>\n<td>~1000+<\/td>\n<td>~1000 \u6b65\uff08\u4e32\u884c\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u62c6\u5206 5 \u4e2a\u8bf7\u6c42<\/td>\n<td>\u6bcf\u4e2a ~200<\/td>\n<td>~200 \u6b65\uff08\u5e76\u884c\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u7406\u8bba\u52a0\u901f\u6bd4 \u2248 5x<\/strong>\uff08\u7b49\u4e8e\u95ee\u9898\u6570\u91cf\uff09\u3002<\/p>\n<h2 id=\"continuous-batching\">\u56db\u3001\u4e3a\u4ec0\u4e48\u5e76\u884c\u80fd\u6210\u7acb\uff1f\u2014\u2014\u670d\u52a1\u7aef\u7684 Continuous Batching<\/h2>\n<p>\u4f60\u53ef\u80fd\u4f1a\u95ee\uff1aLLM \u670d\u52a1\u5668\u4e0d\u662f\u4e5f\u6709\u5bb9\u91cf\u9650\u5236\u5417\uff1f5 \u4e2a\u8bf7\u6c42\u540c\u65f6\u6765\uff0c\u4e0d\u4f1a\u6392\u961f\u5417\uff1f<\/p>\n<p>\u73b0\u4ee3 LLM \u63a8\u7406\u5f15\u64ce\uff08vLLM\u3001TensorRT-LLM\u3001TGI \u7b49\uff09\u90fd\u5b9e\u73b0\u4e86 <strong>Continuous Batching<\/strong>\uff08\u8fde\u7eed\u6279\u5904\u7406\uff09\uff1a<\/p>\n<ol>\n<li><strong>\u591a\u4e2a\u8bf7\u6c42\u5171\u4eab\u540c\u4e00\u6b21 GPU \u77e9\u9635\u8fd0\u7b97<\/strong>\uff1aGPU \u64c5\u957f\u7684\u5c31\u662f\u5e76\u884c\u8ba1\u7b97\u3002\u628a 5 \u4e2a\u8bf7\u6c42\u7684 token \u62fc\u6210\u4e00\u4e2a batch\uff0c\u4e00\u6b21 forward pass \u5c31\u80fd\u540c\u65f6\u4e3a 5 \u4e2a\u8bf7\u6c42\u5404\u751f\u6210\u4e00\u4e2a token\u3002<\/li>\n<li><strong>\u52a8\u6001\u8c03\u5ea6<\/strong>\uff1a\u4e0d\u540c\u8bf7\u6c42\u7684\u8f93\u51fa\u957f\u5ea6\u4e0d\u540c\uff0c\u77ed\u7684\u5148\u7ed3\u675f\uff0c\u7a7a\u51fa\u7684 slot \u7acb\u523b\u7ed9\u65b0\u8bf7\u6c42\u7528\u3002<\/li>\n<li><strong>\u541e\u5410\u91cf vs \u5ef6\u8fdf\u7684\u89e3\u8026<\/strong>\uff1abatch \u8d8a\u5927\uff0cGPU \u5229\u7528\u7387\u8d8a\u9ad8\uff0c\u5355\u4f4d\u65f6\u95f4\u5904\u7406\u7684 token \u603b\u91cf\u8d8a\u591a\u3002<\/li>\n<\/ol>\n<p>\u6240\u4ee5\u4ece\u670d\u52a1\u7aef\u89c6\u89d2\u770b\uff1a<br \/>\n&#8211; 5 \u4e2a\u77ed\u8bf7\u6c42\u5e76\u884c \u2192 GPU \u505a 5 \u8def batch \u63a8\u7406\uff0c\u6bcf\u6b65\u540c\u65f6\u4ea7\u51fa 5 \u4e2a token<br \/>\n&#8211; 1 \u4e2a\u957f\u8bf7\u6c42 \u2192 GPU \u505a 1 \u8def\u63a8\u7406\uff0c\u6bcf\u6b65\u53ea\u4ea7\u51fa 1 \u4e2a token<\/p>\n<p><strong>GPU \u7684\u5e76\u884c\u8ba1\u7b97\u80fd\u529b\u5728\u5408\u5e76\u8bf7\u6c42\u65f6\u88ab\u6d6a\u8d39\u4e86\u3002<\/strong><\/p>\n<h2 id=\"prefill\">\u4e94\u3001Prefill \u9636\u6bb5\u7684\u5dee\u5f02<\/h2>\n<p>LLM \u63a8\u7406\u5206\u4e24\u4e2a\u9636\u6bb5\uff1a<\/p>\n<ol>\n<li><strong>Prefill\uff08\u9884\u586b\u5145\uff09<\/strong>\uff1a\u5904\u7406\u8f93\u5165 prompt\uff0c\u8ba1\u7b97\u6240\u6709\u8f93\u5165 token \u7684 KV Cache\u3002\u8fd9\u4e00\u6b65\u53ef\u4ee5\u5e76\u884c\u5904\u7406\u6240\u6709\u8f93\u5165 token\uff0c\u8017\u65f6\u4e0e\u8f93\u5165\u957f\u5ea6\u8fd1\u4f3c\u7ebf\u6027\u3002<\/li>\n<li><strong>Decode\uff08\u89e3\u7801\uff09<\/strong>\uff1a\u9010 token \u751f\u6210\u8f93\u51fa\u3002\u8fd9\u4e00\u6b65\u662f\u4e32\u884c\u7684\u3002<\/li>\n<\/ol>\n<p>\u5408\u5e76\u8bf7\u6c42\u65f6\uff1a<br \/>\n&#8211; Prefill \u9636\u6bb5\uff1a\u8f93\u5165\u66f4\u957f\uff085 \u4e2a\u95ee\u9898\u7684\u63cf\u8ff0\u62fc\u5728\u4e00\u8d77\uff09\uff0cprefill \u65f6\u95f4\u66f4\u957f<br \/>\n&#8211; Decode \u9636\u6bb5\uff1a\u8f93\u51fa\u66f4\u957f\uff0cdecode \u65f6\u95f4\u66f4\u957f<\/p>\n<p>\u62c6\u5206\u8bf7\u6c42\u65f6\uff1a<br \/>\n&#8211; \u6bcf\u4e2a\u8bf7\u6c42\u7684 prefill \u66f4\u77ed\uff0c\u4e14 5 \u4e2a prefill \u53ef\u4ee5\u5e76\u884c\u6216 pipeline \u6267\u884c<br \/>\n&#8211; \u6bcf\u4e2a\u8bf7\u6c42\u7684 decode \u66f4\u77ed\uff0c\u4e14\u5e76\u884c\u8fdb\u884c<\/p>\n<p><strong>\u4e24\u4e2a\u9636\u6bb5\u90fd\u662f\u62c6\u5206\u66f4\u4f18\u3002<\/strong><\/p>\n<h2 id=\"_4\">\u516d\u3001\u8fd8\u6709\u4e00\u4e2a\u5bb9\u6613\u5ffd\u7565\u7684\u56e0\u7d20\uff1a\u8d28\u91cf<\/h2>\n<p>\u9664\u4e86\u901f\u5ea6\uff0c\u5408\u5e76\u8bf7\u6c42\u8fd8\u6709\u8d28\u91cf\u98ce\u9669\uff1a<\/p>\n<ul>\n<li><strong>\u6ce8\u610f\u529b\u7a00\u91ca<\/strong>\uff1aLLM \u5728\u4e00\u6b21\u751f\u6210\u4e2d\u5904\u7406\u591a\u4e2a\u4e0d\u76f8\u5173\u4efb\u52a1\u65f6\uff0c\u5bf9\u6bcf\u4e2a\u4efb\u52a1\u7684&#8221;\u4e13\u6ce8\u5ea6&#8221;\u4e0b\u964d\u3002\u7814\u7a76\u8868\u660e\uff0cprompt \u4e2d\u65e0\u5173\u4fe1\u606f\u8d8a\u591a\uff0c\u56de\u7b54\u8d28\u91cf\u8d8a\u4f4e\uff08Lost in the Middle \u73b0\u8c61\uff09\u3002<\/li>\n<li><strong>\u683c\u5f0f\u6df7\u4e71<\/strong>\uff1a5 \u4e2a\u95ee\u9898\u7684\u56de\u7b54\u5bb9\u6613\u51fa\u73b0\u7f16\u53f7\u9519\u4e71\u3001\u9057\u6f0f\u3001\u7b54\u975e\u6240\u95ee\u3002<\/li>\n<li><strong>\u9519\u8bef\u4f20\u64ad<\/strong>\uff1a\u5982\u679c\u7b2c 2 \u4e2a\u95ee\u9898\u7684\u56de\u7b54\u51fa\u4e86\u95ee\u9898\uff0cLLM \u53ef\u80fd\u5728\u540e\u7eed\u56de\u7b54\u4e2d\u53d7\u5230\u5e72\u6270\uff08\u81ea\u56de\u5f52\u7684&#8221;\u60ef\u6027&#8221;\uff09\u3002<\/li>\n<\/ul>\n<p>\u62c6\u5206\u8bf7\u6c42\u5219\u5b8c\u5168\u9694\u79bb\u4e86\u4e0a\u4e0b\u6587\uff0c\u6bcf\u4e2a\u95ee\u9898\u90fd\u80fd\u83b7\u5f97 LLM \u7684&#8221;\u5168\u90e8\u6ce8\u610f\u529b&#8221;\u3002<\/p>\n<h2 id=\"_5\">\u4e03\u3001\u4ec0\u4e48\u65f6\u5019\u5408\u5e76\u53cd\u800c\u66f4\u597d\uff1f<\/h2>\n<p>\u516c\u5e73\u8d77\u89c1\uff0c\u6709\u5c11\u6570\u573a\u666f\u5408\u5e76\u53ef\u80fd\u66f4\u5408\u9002\uff1a<\/p>\n<ol>\n<li><strong>\u95ee\u9898\u4e4b\u95f4\u6709\u9690\u542b\u5173\u8054<\/strong>\uff1a\u867d\u7136\u4f60\u8ba4\u4e3a\u72ec\u7acb\uff0c\u4f46 LLM \u5982\u679c\u770b\u5230\u5168\u8c8c\u53ef\u80fd\u7ed9\u51fa\u66f4\u4e00\u81f4\u7684\u56de\u7b54\uff08\u6bd4\u5982\u540c\u4e00\u4efd\u62a5\u544a\u7684\u4e0d\u540c\u7ae0\u8282\uff09\u3002<\/li>\n<li><strong>API \u8c03\u7528\u6709\u4e25\u683c\u7684 rate limit<\/strong>\uff1a\u5982\u679c\u4f60\u7684 API \u914d\u989d\u662f\u6bcf\u5206\u949f 3 \u6b21\u8bf7\u6c42\uff0c\u90a3 5 \u4e2a\u95ee\u9898\u53ea\u80fd\u5408\u5e76\u3002<\/li>\n<li><strong>\u7f51\u7edc\u5ef6\u8fdf\u8fdc\u5927\u4e8e\u751f\u6210\u65f6\u95f4<\/strong>\uff1a\u5982\u679c\u6bcf\u6b21 API \u8c03\u7528\u7684\u7f51\u7edc\u5f80\u8fd4\u662f 2 \u79d2\uff0c\u800c\u751f\u6210\u53ea\u8981 0.5 \u79d2\uff0c\u90a3\u62c6\u5206 5 \u6b21\u7684\u7f51\u7edc\u5f00\u9500\uff085 \u00d7 2s = 10s\uff09\u53ef\u80fd\u8d85\u8fc7\u5408\u5e76\u7684\u751f\u6210\u65f6\u95f4\u3002\u4f46\u8fd9\u79cd\u60c5\u51b5\u5728\u5b9e\u9645\u4e2d\u5f88\u5c11\u89c1\u2014\u2014\u73b0\u4ee3 API \u7684\u7f51\u7edc\u5ef6\u8fdf\u901a\u5e38\u5728 100-300ms\uff0c\u8fdc\u5c0f\u4e8e\u751f\u6210\u65f6\u95f4\u3002<\/li>\n<li><strong>\u6781\u77ed\u56de\u7b54<\/strong>\uff1a\u5982\u679c\u6bcf\u4e2a\u95ee\u9898\u53ea\u9700\u8981\u4e00\u4e24\u4e2a\u8bcd\u7684\u56de\u7b54\uff0c\u90a3 prefill \u7684\u5f00\u9500\u5360\u6bd4\u66f4\u5927\uff0c\u5408\u5e76\u53ef\u4ee5\u51cf\u5c11\u91cd\u590d\u7684 prefill \u6210\u672c\u3002<\/li>\n<\/ol>\n<h2 id=\"_6\">\u516b\u3001\u5b9e\u9645\u9a8c\u8bc1\u601d\u8def<\/h2>\n<p>\u5982\u679c\u4f60\u60f3\u81ea\u5df1\u9a8c\u8bc1\uff0c\u53ef\u4ee5\u8fd9\u6837\u6d4b\uff1a<\/p>\n<pre><code class=\"language-python\">import asyncio\nimport time\nimport aiohttp\n\nasync def ask_single(session, question):\n    start = time.time()\n    # \u8c03\u7528 LLM API\n    resp = await session.post(API_URL, json={&quot;prompt&quot;: question})\n    result = await resp.json()\n    return time.time() - start\n\nasync def benchmark():\n    questions = [&quot;\u95ee\u98981&quot;, &quot;\u95ee\u98982&quot;, &quot;\u95ee\u98983&quot;, &quot;\u95ee\u98984&quot;, &quot;\u95ee\u98985&quot;]\n\n    async with aiohttp.ClientSession() as session:\n        # \u65b9\u6848 A\uff1a\u5408\u5e76\n        start = time.time()\n        combined = &quot;\u8bf7\u5206\u522b\u56de\u7b54\uff1a\\n&quot; + &quot;\\n&quot;.join(questions)\n        await ask_single(session, combined)\n        time_combined = time.time() - start\n\n        # \u65b9\u6848 B\uff1a\u5e76\u884c\n        start = time.time()\n        await asyncio.gather(*[ask_single(session, q) for q in questions])\n        time_parallel = time.time() - start\n\n    print(f&quot;\u5408\u5e76: {time_combined:.2f}s&quot;)\n    print(f&quot;\u5e76\u884c: {time_parallel:.2f}s&quot;)\n    print(f&quot;\u52a0\u901f\u6bd4: {time_combined \/ time_parallel:.1f}x&quot;)\n<\/code><\/pre>\n<p>\u6839\u636e\u7ecf\u9a8c\uff0c5 \u4e2a\u4e2d\u7b49\u590d\u6742\u5ea6\u7684\u72ec\u7acb\u95ee\u9898\uff0c\u5e76\u884c\u901a\u5e38\u80fd\u83b7\u5f97 3-5x \u7684\u52a0\u901f\u3002<\/p>\n<h2 id=\"_7\">\u603b\u7ed3<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u7ef4\u5ea6<\/th>\n<th>\u5408\u5e76\u4e00\u4e2a\u8bf7\u6c42<\/th>\n<th>\u62c6\u5206\u591a\u4e2a\u5e76\u884c\u8bf7\u6c42<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u751f\u6210\u901f\u5ea6<\/td>\n<td>\u6162\uff08\u4e32\u884c\u8f93\u51fa\u6240\u6709\u7b54\u6848\uff09<\/td>\n<td>\u5feb\uff08\u5e76\u884c\u751f\u6210\uff0c\u53d6\u6700\u6162\u503c\uff09<\/td>\n<\/tr>\n<tr>\n<td>GPU \u5229\u7528\u7387<\/td>\n<td>\u4f4e\uff08\u5355\u5e8f\u5217\u63a8\u7406\uff09<\/td>\n<td>\u9ad8\uff08batch \u5e76\u884c\u63a8\u7406\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u56de\u7b54\u8d28\u91cf<\/td>\n<td>\u53ef\u80fd\u4e0b\u964d\uff08\u6ce8\u610f\u529b\u7a00\u91ca\uff09<\/td>\n<td>\u66f4\u597d\uff08\u72ec\u7acb\u4e0a\u4e0b\u6587\uff09<\/td>\n<\/tr>\n<tr>\n<td>API \u8c03\u7528\u6570<\/td>\n<td>1 \u6b21<\/td>\n<td>N \u6b21<\/td>\n<\/tr>\n<tr>\n<td>\u9002\u7528\u573a\u666f<\/td>\n<td>\u6709 rate limit \/ \u95ee\u9898\u6781\u77ed<\/td>\n<td>\u95ee\u9898\u72ec\u7acb\u4e14\u9700\u8981\u8be6\u7ec6\u56de\u7b54<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u6838\u5fc3\u539f\u7406\u4e00\u53e5\u8bdd\u603b\u7ed3\uff1aLLM \u7684\u81ea\u56de\u5f52\u673a\u5236\u51b3\u5b9a\u4e86\u8f93\u51fa\u662f\u4e32\u884c\u7684\uff0c\u5408\u5e76\u8bf7\u6c42 = \u5f3a\u5236\u4e32\u884c\u6240\u6709\u8f93\u51fa\uff1b\u62c6\u5206\u8bf7\u6c42 = \u5229\u7528\u670d\u52a1\u7aef\u5e76\u884c\u80fd\u529b\u540c\u65f6\u751f\u6210\u591a\u4e2a\u8f93\u51fa\u3002\u72ec\u7acb\u95ee\u9898\u62c6\u5f00\u53d1\uff0c\u662f\u7528\u7a7a\u95f4\uff08\u5e76\u53d1 slot\uff09\u6362\u65f6\u95f4\u7684\u7ecf\u5178\u7b56\u7565\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53\u4f60\u6709 5 \u4e2a\u4e92\u4e0d\u76f8\u5173\u7684\u95ee\u9898\uff0c\u662f\u6253\u5305\u6210\u4e00\u6761\u6d88\u606f\u53d1\u7ed9 LLM\uff0c\u8fd8\u662f\u540c\u65f6\u53d1 5 \u4e2a\u8bf7\u6c42\uff1f\u54ea\u79cd\u66f4\u5feb\uff1f \u5148\u8bf4\u7ed3\u8bba \u62c6\u6210 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[77,75,79,74,76,78,71,73,72],"class_list":["post-63","post","type-post","status-publish","format-standard","hentry","category-graphrag","tag-api","tag-batching","tag-cache","tag-continuous","tag-gpu","tag-kv","tag-llm","tag-73","tag-72"],"_links":{"self":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/posts\/63","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/comments?post=63"}],"version-history":[{"count":0,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/posts\/63\/revisions"}],"wp:attachment":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/media?parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/categories?post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/tags?post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}