{"id":111869,"date":"2026-10-02T01:41:17","date_gmt":"2026-10-01T17:41:17","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/111869.html"},"modified":"2026-10-02T01:41:17","modified_gmt":"2026-10-01T17:41:17","slug":"8-%e5%8d%a1-rtx-5090-32g-%e9%83%a8%e7%bd%b2-glm-5-3-flash-nvfp4-%e7%89%88%e5%85%a8%e8%ae%b0%e5%bd%95","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/111869.html","title":{"rendered":"8 \u5361 RTX 5090 32G \u90e8\u7f72 GLM-5.3-Flash NVFP4 \u7248\u5168\u8bb0\u5f55"},"content":{"rendered":"<p>&gt; \u90e8\u7f72\u76ee\u6807&#xff1a;\u5728\u4e00\u53f0 8 \u5361 RTX 5090&#xff08;\u6bcf\u5361 32 GB&#xff09;\u670d\u52a1\u5668\u4e0a&#xff0c;\u7528 vLLM \u8dd1\u8d77 GLM-5.3-Flash \u7684 NVFP4 \u91cf\u5316\u7248&#xff0c;\u5bf9\u5916\u63d0\u4f9b OpenAI \u517c\u5bb9 API&#xff0c;\u652f\u6301 &#096;\/think&#096; \u6df1\u5ea6\u601d\u8003\u6a21\u5f0f\u4e0e Function Call\u3002\u6700\u7ec8\u65b9\u6848\u91c7\u7528 **vLLM \u5b98\u65b9 nightly \u955c\u50cf &#043; Docker**&#xff0c;\u670d\u52a1\u73b0\u7a33\u5b9a\u8fd0\u884c\u4e8e &#096;http:\/\/10.168.2.103:8000\/v1&#096;&#xff08;\u5bb9\u5668\u5df2\u8fde\u7eed\u8fd0\u884c 9 \u5929&#043;&#xff09;\u3002<\/p>\n<\/p>\n<p>## \u4e00\u3001\u4e3a\u4ec0\u4e48\u662f\u8fd9\u5957\u7ec4\u5408<\/p>\n<\/p>\n<p>**\u6a21\u578b**&#xff1a;&#096;GLM-5.3-Flash-NVFP4&#096;&#xff0c;\u67b6\u6784\u4e3a &#096;Glm5NextForConditionalGeneration&#096;&#xff08;&#096;model_type: glm5_next&#096;&#xff09;&#xff0c;\u539f\u59cb dtype bfloat16\u3002NVFP4 \u91cf\u5316\u540e\u6743\u91cd\u843d\u76d8 **185 GB**\u2014\u2014\u5168\u91cf bf16 \u663e\u7136\u653e\u4e0d\u8fdb\u4efb\u4f55\u5355\u673a&#xff0c;\u5373\u4fbf 4bit \u4e5f\u8fdc\u8d85\u5355\u5361&#xff0c;\u5fc5\u987b\u8d70\u5f20\u91cf\u5e76\u884c\u3002<\/p>\n<\/p>\n<p>**\u786c\u4ef6**&#xff1a;8 \u00d7 RTX 5090 32G&#xff0c;\u603b\u663e\u5b58\u7ea6 **255.6 GB**\u30025090 \u662f Blackwell \u67b6\u6784&#xff08;SM120&#xff09;&#xff0c;\u7b97\u529b\u65b0\u3001\u663e\u5b58\u5927&#xff0c;\u4f46\u5bf9\u6846\u67b6\u7248\u672c\u8981\u6c42\u82db\u523b&#xff1a;\u7a33\u5b9a\u7248 vLLM \u5c1a\u672a\u5408\u5165 &#096;glm5_next&#096; \u67b6\u6784\u652f\u6301 &#043; NVFP4 \u53cd\u91cf\u5316 kernel &#043; SM120 \u540e\u7aef\u4e09\u4ef6\u5957&#xff0c;**\u5fc5\u987b\u7528 nightly \u6784\u5efa\u7684 vLLM &#043; CUDA 13.0**\u3002<\/p>\n<\/p>\n<p>**\u91cf\u5316\u683c\u5f0f**&#xff08;\u6765\u81ea &#096;config.json&#096; \u7684 &#096;quantization_config&#096;&#xff09;&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;json<\/p>\n<p>&#034;format&#034;: &#034;nvfp4-pack-quantized&#034;,<\/p>\n<p>&#034;input_activations&#034;: {<\/p>\n<p>\u00a0 &#034;num_bits&#034;: 4,<\/p>\n<p>\u00a0 &#034;group_size&#034;: 16,<\/p>\n<p>\u00a0 &#034;scale_dtype&#034;: &#034;torch.float8_e4m3fn&#034;,<\/p>\n<p>\u00a0 &#034;strategy&#034;: &#034;tensor_group&#034;,<\/p>\n<p>\u00a0 &#034;dynamic&#034;: &#034;local&#034;<\/p>\n<p>}<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u6ce8\u610f targets \u53ea\u8986\u76d6\u4e86 MoE \u7684 experts \u5c42&#xff08;&#096;.*\\\\.layers\\\\.(?:[3-9]|[1-3][0-9]|4[0-4])\\\\.mlp\\\\.experts\\\\..*(gate|up|down)&#096;&#xff09;\u2014\u2014**\u4e13\u5bb6\u77e9\u9635\u8d70 4bit&#xff0c;\u6ce8\u610f\u529b\u4e0e\u5171\u4eab\u5c42\u4fdd\u6301 bf16**&#xff0c;\u8fd9\u662f\u7cbe\u5ea6\u4e0e\u5e26\u5bbd\u7684\u7ecf\u5178\u6298\u4e2d\u3002vLLM \u901a\u8fc7 &#096;compressed-tensors&#096; \u53cd\u91cf\u5316\u5668\u539f\u751f\u8bc6\u522b&#xff0c;\u65e0\u9700\u624b\u52a8\u6307\u5b9a &#096;&#8211;quantization&#096;\u3002<\/p>\n<\/p>\n<p>## \u4e8c\u3001\u8f6f\u4ef6\u6808&#xff1a;\u5b98\u65b9 nightly \u955c\u50cf &#043; Docker<\/p>\n<\/p>\n<p>\u5bbf\u4e3b\u673a\u4e0a\u5148\u8bd5\u8fc7 conda \u73af\u5883\u88f8\u8dd1&#xff08;conda env &#096;glm53&#096;&#xff0c;torch 2.13.0&#043;cu130&#xff09;&#xff0c;\u80fd\u8dd1\u901a\u4f46\u7248\u672c\u7ba1\u7406\u3001\u4f9d\u8d56\u9694\u79bb\u90fd\u4e0d\u5e72\u51c0&#xff0c;**\u6700\u7ec8\u751f\u4ea7\u65b9\u6848\u5207\u6362\u5230\u5b98\u65b9 vLLM \u955c\u50cf**&#xff1a;<\/p>\n<\/p>\n<p>| \u7ec4\u4ef6 | \u7248\u672c\/\u6765\u6e90 |<\/p>\n<p>|&#8212;|&#8212;|<\/p>\n<p>| \u955c\u50cf | &#096;vllm\/vllm-openai:nightly-385dce36b&#096;&#xff08;\u5b98\u65b9 Buildkite \u6d41\u6c34\u7ebf\u6784\u5efa #6303&#xff09; |<\/p>\n<p>| vLLM | 0.28.1rc1.dev580&#043;g385dce36b&#xff08;nightly&#xff0c;commit 385dce36b&#xff09; |<\/p>\n<p>| \u57fa\u7840\u955c\u50cf CUDA | 13.0.2&#xff08;\u8981\u6c42 NVIDIA \u9a71\u52a8 \u2265 535&#xff09; |<\/p>\n<p>| \u8fd0\u884c\u65b9\u5f0f | Docker \u5bb9\u5668 &#096;glm53-flash&#096;&#xff0c;&#096;&#8211;gpus all&#096;&#xff0c;&#096;&#8211;restart unless-stopped&#096; |<\/p>\n<p>| \u6a21\u578b\u6302\u8f7d | &#096;\/home\/x640\/models&#096; \u2192 \u5bb9\u5668\u5185 &#096;\/models&#096; |<\/p>\n<\/p>\n<p>\u9009\u5b98\u65b9 nightly \u955c\u50cf\u800c\u4e0d\u662f\u81ea\u5efa\u955c\u50cf&#xff0c;\u6838\u5fc3\u539f\u56e0\u662f SM120 &#043; NVFP4 \u7684 kernel \u7ec4\u5408\u5728 nightly \u91cc\u662f\u9f50\u7684&#xff0c;&#096;ENTRYPOINT [&#034;vllm&#034; &#034;serve&#034;]&#096;&#xff0c;\u6a21\u578b\u8def\u5f84\u901a\u8fc7\u6302\u8f7d\u4f20\u53c2\u5373\u53ef&#xff0c;\u96f6\u989d\u5916\u6253\u5305\u5de5\u4f5c\u3002<\/p>\n<\/p>\n<p>## \u4e09\u3001\u542f\u52a8\u547d\u4ee4&#xff08;\u53ef\u76f4\u63a5\u6284&#xff09;<\/p>\n<\/p>\n<p>\u4ee5\u4e0b &#096;docker run&#096; \u4f9d\u636e\u670d\u52a1\u5668\u4e0a\u5b9e\u9645\u5bb9\u5668\u7684 &#096;docker inspect&#096; \u7ed3\u679c\u8fd8\u539f&#xff08;\u955c\u50cf\u5728\u670d\u52a1\u5668\u4e0a\u4ee5 sha \u5f15\u7528&#xff0c;label \u4e2d\u6807\u6ce8\u4e86 upstream tag&#xff09;&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>docker run -d &#8211;gpus all \\\\<\/p>\n<p>\u00a0 &#8211;name glm53-flash \\\\<\/p>\n<p>\u00a0 &#8211;restart unless-stopped \\\\<\/p>\n<p>\u00a0 -p 8000:8000 \\\\<\/p>\n<p>\u00a0 -v \/home\/x640\/models:\/models \\\\<\/p>\n<p>\u00a0 -v \/home\/x640\/glm53_site:\/site \\\\<\/p>\n<p>\u00a0 -e VLLM_GLM53_CUDA_SPARSE_MLA&#061;1 \\\\<\/p>\n<p>\u00a0 -e VLLM_GLM53_MOE_INPUT_SCALE&#061;1.0 \\\\<\/p>\n<p>\u00a0 -e VLLM_ENGINE_READY_TIMEOUT_S&#061;3600 \\\\<\/p>\n<p>\u00a0 -e VLLM_USE_BREAKABLE_CUDAGRAPH&#061;1 \\\\<\/p>\n<p>\u00a0 -e NCCL_MIN_NCHANNELS&#061;32 \\\\<\/p>\n<p>\u00a0 -e NCCL_P2P_LEVEL&#061;PXB \\\\<\/p>\n<p>\u00a0 vllm\/vllm-openai:nightly-385dce36b \\\\<\/p>\n<p>\u00a0 \/models\/GLM-5.3-Flash-NVFP4 \\\\<\/p>\n<p>\u00a0 &#8211;served-model-name glm-5.3-flash \\\\<\/p>\n<p>\u00a0 &#8211;tensor-parallel-size 8 \\\\<\/p>\n<p>\u00a0 &#8211;kv-cache-dtype fp8 \\\\<\/p>\n<p>\u00a0 &#8211;block-size 256 \\\\<\/p>\n<p>\u00a0 &#8211;max-model-len 131072 \\\\<\/p>\n<p>\u00a0 &#8211;max-num-seqs 4 \\\\<\/p>\n<p>\u00a0 &#8211;max-num-batched-tokens 512 \\\\<\/p>\n<p>\u00a0 &#8211;gpu-memory-utilization 0.82 \\\\<\/p>\n<p>\u00a0 &#8211;moe-backend flashinfer_cutlass \\\\<\/p>\n<p>\u00a0 &#8211;no-enable-flashinfer-autotune \\\\<\/p>\n<p>\u00a0 &#8211;tool-call-parser glm47 \\\\<\/p>\n<p>\u00a0 &#8211;enable-auto-tool-choice \\\\<\/p>\n<p>\u00a0 &#8211;reasoning-parser glm45 \\\\<\/p>\n<p>\u00a0 &#8211;trust-remote-code \\\\<\/p>\n<p>\u00a0 &#8211;enforce-eager<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>### \u670d\u52a1\u53c2\u6570\u9010\u6761\u89e3\u91ca<\/p>\n<\/p>\n<p>&#8211; **&#096;&#8211;tensor-parallel-size 8&#096;**&#xff1a;8 \u5361\u4e00\u5f20\u5e76\u884c\u9762&#xff0c;NVFP4 \u6743\u91cd\u5206\u7247\u540e\u6bcf\u5361\u7ea6 23 GB\u3002<\/p>\n<p>&#8211; **&#096;&#8211;gpu-memory-utilization 0.82&#096;**&#xff1a;\u6bd4\u5e38\u89c1\u7684 0.9 \u4fdd\u5b88\u2014\u2014SM120 \u4e0a CUDA context\u3001NCCL buffer \u7684\u989d\u5916\u5f00\u9500\u66f4\u5927&#xff0c;0.82 \u662f\u5b9e\u6d4b\u7a33\u5b9a\u7684\u5206\u754c\u7ebf&#xff08;\u5bb9\u5668\u89c6\u89d2\u7684\u6a21\u578b\/KV \u9884\u7b97&#xff1b;\u5bbf\u4e3b\u673a nvidia-smi \u5b9e\u9645\u6bcf\u5361 ~30.3\/32.6 GB&#xff0c;\u542b\u9a71\u52a8\u4fa7\u5360\u7528&#xff09;\u3002<\/p>\n<p>&#8211; **&#096;&#8211;max-model-len 131072&#096;**&#xff1a;128K \u4e0a\u4e0b\u6587&#xff0c;\u53d6\u6a21\u578b config \u7684\u4e0a\u9650\u3002<\/p>\n<p>&#8211; **&#096;&#8211;kv-cache-dtype fp8&#096;**&#xff1a;KV cache \u4e5f\u538b\u6210 FP8&#xff0c;\u76f4\u63a5\u628a\u53ef\u670d\u52a1\u7684 KV token \u6570\u7ffb\u500d\u3002<\/p>\n<p>&#8211; **&#096;&#8211;block-size 256&#096;**&#xff1a;\u5927 block \u51cf\u5c11 KV \u7ba1\u7406\u5f00\u9500&#xff0c;\u914d\u5408 MLA \u7c7b\u67b6\u6784\u4f7f\u7528\u3002<\/p>\n<p>&#8211; **&#096;&#8211;max-num-seqs 4&#096; &#043; &#096;&#8211;max-num-batched-tokens 512&#096;**&#xff1a;\u523b\u610f\u6536\u7a84\u7684\u8c03\u5ea6\u6c34\u4f4d\u3002256 GB \u663e\u5b58\u770b\u7740\u591a&#xff0c;128K \u5355\u8bf7\u6c42\u7684 KV \u5c31\u8981\u5403\u6389\u4e00\u5927\u5757&#xff0c;\u5c0f batch &#043; \u5c0f prefill chunk \u4fdd\u8bc1\u957f\u8bf7\u6c42\u4e0b\u4e0d OOM\u3001\u65f6\u5ef6\u53ef\u9884\u671f\u3002<\/p>\n<p>&#8211; **&#096;&#8211;moe-backend flashinfer_cutlass&#096;**&#xff1a;MoE \u8d70 FlashInfer \u7684 CUTLASS \u8def\u5f84&#xff0c;\u4e0e NVFP4 \u53cd\u91cf\u5316\u914d\u5408\u6700\u4f18\u3002<\/p>\n<p>&#8211; **&#096;&#8211;no-enable-flashinfer-autotune&#096;**&#xff1a;\u5173\u6389 FlashInfer \u81ea\u52a8\u8c03\u4f18&#xff0c;\u7701\u4e0b\u6bcf\u6b21\u542f\u52a8\u5341\u51e0\u5206\u949f\u7684 tune \u65f6\u95f4&#xff0c;\u6536\u76ca\u5fae\u4e4e\u5176\u5fae\u3002<\/p>\n<p>&#8211; **&#096;&#8211;tool-call-parser glm47&#096; &#043; &#096;&#8211;enable-auto-tool-choice&#096; &#043; &#096;&#8211;reasoning-parser glm45&#096;**&#xff1a;GLM \u7cfb\u5217\u7684\u601d\u8003\u5185\u5bb9\u4e0e\u5de5\u5177\u8c03\u7528\u89e3\u6790\u5668\u3002\u6ca1\u8fd9\u4e24\u4e2a&#xff0c;\u524d\u7aef\u62ff\u5230\u7684\u5c06\u662f\u539f\u59cb &#096;&lt;think&gt;&#096; \u6807\u7b7e\u548c\u6587\u672c\u5f62\u5f0f\u7684\u5de5\u5177\u8c03\u7528&#xff0c;\u65e0\u6cd5\u7ed3\u6784\u5316\u62c6\u5206\u3002<\/p>\n<p>&#8211; **&#096;&#8211;trust-remote-code&#096;**&#xff1a;&#096;glm5_next&#096; \u67b6\u6784\u9700\u8981\u6a21\u578b\u4ed3\u5e93\u5185\u7684\u81ea\u5b9a\u4e49\u4ee3\u7801\u3002<\/p>\n<p>&#8211; **&#096;&#8211;enforce-eager&#096;**&#xff1a;\u5173\u95ed CUDA Graph \u6355\u83b7\u3002\u4ee3\u4ef7\u662f decode \u7a0d\u6162&#xff0c;\u6362\u6765\u7684\u662f\u663e\u5b58\u4f59\u91cf\u548c\u542f\u52a8\u7a33\u5b9a\u6027\u2014\u2014\u5728 0.82 \u6c34\u4f4d &#043; fp8 KV \u7684\u7ec4\u5408\u4e0b\u8fd9\u662f\u5fc5\u8981\u7684\u53d6\u820d\u3002<\/p>\n<\/p>\n<p>### \u5bb9\u5668\u73af\u5883\u53d8\u91cf&#xff0c;\u6bcf\u4e2a\u90fd\u662f\u8e29\u5751\u6362\u6765\u7684<\/p>\n<\/p>\n<p>1. **&#096;VLLM_ENGINE_READY_TIMEOUT_S&#061;3600&#096;**\u2014\u2014\u9ed8\u8ba4\u7684\u5f15\u64ce\u5c31\u7eea\u8d85\u65f6\u8fdc\u5c0f\u4e8e 185 GB \u6743\u91cd\u7684\u52a0\u8f7d\u65f6\u95f4&#xff08;\u5b9e\u6d4b **632 \u79d2**&#xff09;&#xff0c;vLLM \u4f1a&#034;\u8bef\u5224\u6b7b\u4ea1&#034;\u63d0\u524d\u9000\u51fa\u3002\u653e\u5bbd\u5230 1 \u5c0f\u65f6\u3002<\/p>\n<p>2. **&#096;VLLM_GLM53_CUDA_SPARSE_MLA&#061;1&#096;**\u2014\u2014\u6253\u5f00 GLM-5.3 \u7684\u7a00\u758f MLA \u6ce8\u610f\u529b\u8def\u5f84&#xff08;SM120 \u4e13\u7528 kernel&#xff09;&#xff0c;\u8fd9\u662f\u957f\u4e0a\u4e0b\u6587\u541e\u5410\u7684\u5173\u952e\u5f00\u5173\u3002<\/p>\n<p>3. **&#096;VLLM_GLM53_MOE_INPUT_SCALE&#061;1.0&#096;**\u2014\u2014MoE \u4e13\u5bb6\u5c42 NVFP4 \u8f93\u5165 scale \u7684\u5bf9\u9f50\u53c2\u6570\u3002<\/p>\n<p>4. **&#096;VLLM_USE_BREAKABLE_CUDAGRAPH&#061;1&#096;**\u2014\u2014\u5141\u8bb8 vLLM \u5728\u663e\u5b58\u5403\u7d27\u65f6\u653e\u5f03\/\u5206\u6bb5 CUDA Graph \u800c\u4e0d\u662f\u5d29\u6e83\u3002<\/p>\n<p>5. **&#096;NCCL_MIN_NCHANNELS&#061;32&#096; &#043; &#096;NCCL_P2P_LEVEL&#061;PXB&#096;**\u2014\u20148 \u5361 TP \u7684 all-reduce \u901a\u9053\u6570\u4e0e P2P \u62d3\u6251\u7ea7\u522b&#xff08;\u540c PCIe switch \u5185\u4f18\u5148\u8d70 PXB&#xff09;&#xff0c;\u4e3a 5090 \u8fd9\u7c7b\u6d88\u8d39\u5361\u7684 P2P \u94fe\u8def\u5fae\u8c03\u3002<\/p>\n<\/p>\n<p>## \u56db\u3001\u542f\u52a8\u8fc7\u7a0b\u5b9e\u5f55<\/p>\n<\/p>\n<p>\u4ece\u5bb9\u5668\u65e5\u5fd7&#xff08;&#096;docker logs glm53-flash&#096;&#xff0c;2026-09-21 12:47:16 \u8d77\u6b65&#xff09;&#xff1a;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>12:47:16 \u00a0vLLM API server \u542f\u52a8\u6a2a\u5e45 (version 0.28.1rc1.dev580&#043;g385dce36b)<\/p>\n<p>12:58:36 \u00a0Loading weights took 632.80 seconds<\/p>\n<p>12:59:37 \u00a0GPU KV cache size: 149,796 tokens<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Maximum concurrency for 131,072 tokens per request: 1.14x<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u51e0\u4e2a\u503c\u5f97\u6ce8\u610f\u7684\u70b9&#xff1a;<\/p>\n<\/p>\n<p>&#8211; **\u6743\u91cd\u52a0\u8f7d 10 \u5206\u534a**\u662f 185 GB \u4ece\u78c1\u76d8\u704c\u8fdb 8 \u5361\u7684\u7269\u7406\u6781\u9650&#xff0c;\u671f\u95f4\u65e5\u5fd7\u9759\u9ed8&#xff0c;\u522b\u614c&#xff0c;\u66f4\u522b\u63d0\u524d kill\u3002<\/p>\n<p>&#8211; **KV cache 149,796 tokens\u3001131K \u5355\u8bf7\u6c42\u5e76\u53d1 1.14x**&#xff1a;\u8fd9\u662f\u6700\u8bda\u5b9e\u7684\u5bb9\u91cf\u6570\u5b57\u2014\u2014fp8 KV &#043; 0.82 \u6c34\u4f4d\u4e0b&#xff0c;\u7cfb\u7edf\u540c\u65f6\u585e\u5f97\u4e0b\u7ea6\u4e00\u4e2a\u534a\u6ee1\u957f 128K \u8bf7\u6c42\u3002\u65e5\u5e38\u77ed\u5bf9\u8bdd\u7684\u5e76\u53d1\u8fdc\u4e0d\u6b62\u8fd9\u4e2a\u6570&#xff08;\u77ed\u8bf7\u6c42\u7684 KV \u5360\u7528\u6309\u6bd4\u4f8b\u7f29\u5c0f&#xff09;&#xff0c;\u4f46**\u957f\u6587\u6863\u573a\u666f\u5fc5\u987b\u6309 1~2 \u4e2a\u5e76\u53d1\u6765\u89c4\u5212\u4e1a\u52a1**\u3002<\/p>\n<p>&#8211; \u6a21\u578b\u5728\u5bb9\u5668\u5185\u4ee5 &#096;\/models\/GLM-5.3-Flash-NVFP4&#096; \u8def\u5f84\u52a0\u8f7d&#xff08;\u5bbf\u4e3b\u673a\u6302\u8f7d\u8fdb\u6765\u7684&#xff09;\u3002<\/p>\n<\/p>\n<p>## \u4e94\u3001\u9a8c\u6536&#xff1a;API \u5b9e\u6d4b<\/p>\n<\/p>\n<p>### 1. \u6a21\u578b\u6ce8\u518c<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>$ curl http:\/\/10.168.2.103:8000\/v1\/models<\/p>\n<p>{&#034;id&#034;:&#034;glm-5.3-flash&#034;,&#034;root&#034;:&#034;\/models\/GLM-5.3-Flash-NVFP4&#034;,<\/p>\n<p>\u00a0&#034;max_model_len&#034;:131072, &#8230;}<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>### 2. \u601d\u8003\u6a21\u5f0f\u62c6\u5206&#xff08;reasoning parser \u751f\u6548&#xff09;<\/p>\n<\/p>\n<p>&#096;&#096;&#096;bash<\/p>\n<p>$ curl -s http:\/\/10.168.2.103:8000\/v1\/chat\/completions \\\\<\/p>\n<p>\u00a0 \u00a0 -H &#034;Content-Type: application\/json&#034; \\\\<\/p>\n<p>\u00a0 \u00a0 -d &#039;{&#034;model&#034;:&#034;glm-5.3-flash&#034;,<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0&#034;messages&#034;:[{&#034;role&#034;:&#034;user&#034;,&#034;content&#034;:&#034;What is 17*23?&#034;}],<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0&#034;max_tokens&#034;:256}&#039;<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>\u8fd4\u56de&#xff1a;<\/p>\n<\/p>\n<p>&#8211; &#096;message.content&#096; \u2192 &#096;&#034;391&#034;&#096;&#xff08;\u7b54\u6848\u6b63\u786e&#xff09;<\/p>\n<p>&#8211; &#096;message.reasoning_content&#096; \u2192 \u601d\u8003\u8fc7\u7a0b\u72ec\u7acb\u6210\u5b57\u6bb5&#xff0c;\u4e0e\u6b63\u6587\u5e72\u51c0\u5206\u79bb<\/p>\n<p>&#8211; &#096;usage&#096; \u2192 prompt 25 tokens \/ completion 47 tokens&#xff0c;\u5176\u4e2d &#096;reasoning_tokens: 43&#096;<\/p>\n<\/p>\n<p>### 3. \u663e\u5b58\u6c34\u4f4d<\/p>\n<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<p>\u6bcf\u5361&#xff1a;~30.3 GiB \/ 32.6 GiB&#xff08;\u7ea6 93%&#xff0c;\u542b CUDA context \u4e0e NCCL \u5f00\u9500&#xff09;<\/p>\n<p>&#096;&#096;&#096;<\/p>\n<\/p>\n<p>## \u516d\u3001\u5ba2\u6237\u7aef\u5bf9\u63a5\u6ce8\u610f\u4e8b\u9879<\/p>\n<\/p>\n<p>&#8211; **base URL**&#xff1a;&#096;http:\/\/10.168.2.103:8000\/v1&#096;&#xff0c;\u6a21\u578b\u540d\u56fa\u5b9a &#096;glm-5.3-flash&#096;&#xff08;\u6ce8\u610f\u4e0d\u662f\u78c1\u76d8\u76ee\u5f55\u540d&#xff09;\u3002<\/p>\n<p>&#8211; **\u601d\u8003\u5185\u5bb9**&#xff1a;\u9700\u8981\u6df1\u5ea6\u601d\u8003\u65f6\u5728 user \u6d88\u606f\u5f00\u5934\u52a0 &#096;\/think&#096;&#xff0c;\u7ed3\u679c\u8bfb &#096;reasoning_content&#096; \u5b57\u6bb5&#xff1b;\u4e0d\u8981\u81ea\u5df1\u53bb\u89e3\u6790 &#096;&lt;think&gt;&#096; \u6807\u7b7e\u3002<\/p>\n<p>&#8211; **\u5de5\u5177\u8c03\u7528**&#xff1a;OpenAI tools \u534f\u8bae\u76f4\u63a5\u53ef\u7528&#xff08;&#096;&#8211;enable-auto-tool-choice&#096; \u5df2\u5f00&#xff09;\u3002<\/p>\n<p>&#8211; **\u957f\u4e0a\u4e0b\u6587\u5e76\u53d1**&#xff1a;\u5982\u4e0a\u6587 KV cache \u6570\u636e&#xff0c;131K \u7ea7\u522b\u8bf7\u6c42\u7684\u7a33\u6001\u5e76\u53d1\u7ea6 1.14x&#xff0c;\u6279\u91cf\u957f\u6587\u6458\u8981\u52a1\u5fc5\u4e32\u884c\u6216\u5206\u6279\u3002<\/p>\n<p>&#8211; **Windows \u4e0b curl \u53d1\u4e2d\u6587 body \u6709\u7f16\u7801\u5751**&#xff1a;Git Bash \u4f1a\u628a UTF-8 \u8f6c GBK \u5bfc\u81f4 &#096;There was an error parsing the body&#096;\u3002\u8981\u4e48\u7528\u7eaf ASCII \u6d4b\u8bd5\u4f53&#xff0c;\u8981\u4e48\u8d70 Python\/Postman \u53d1\u8bf7\u6c42\u3002<\/p>\n<\/p>\n<p>## \u4e03\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p>| \u9879\u76ee | \u6570\u503c |<\/p>\n<p>|&#8212;|&#8212;|<\/p>\n<p>| \u90e8\u7f72\u5f62\u6001 | Docker&#xff08;vllm\/vllm-openai nightly-385dce36b&#xff0c;CUDA 13.0.2&#xff09; |<\/p>\n<p>| \u603b\u663e\u5b58 \/ \u5b9e\u9645\u5360\u7528 | 255.6 GB \/ ~93% |<\/p>\n<p>| \u6743\u91cd\u843d\u76d8 | 185 GB&#xff08;NVFP4&#xff0c;\u4e13\u5bb6\u5c42 4bit &#043; \u5171\u4eab\u5c42 bf16&#xff09; |<\/p>\n<p>| \u5355\u5361\u6a21\u578b\u5206\u7247 | ~23 GiB |<\/p>\n<p>| \u6743\u91cd\u52a0\u8f7d\u8017\u65f6 | 632.8 s&#xff08;\u7ea6 10 \u5206\u534a&#xff09; |<\/p>\n<p>| \u6700\u5927\u4e0a\u4e0b\u6587 | 131072 tokens |<\/p>\n<p>| KV cache | 149,796 tokens&#xff08;fp8&#xff09;&#xff0c;131K \u8bf7\u6c42\u5e76\u53d1 1.14x |<\/p>\n<p>| \u542f\u52a8\u603b\u65f6\u957f | \u7ea6 11~12 \u5206\u949f |<\/p>\n<\/p>\n<p>\u6838\u5fc3\u7ecf\u9a8c\u4e00\u53e5\u8bdd&#xff1a;**\u65b0\u67b6\u6784 &#043; \u65b0\u91cf\u5316 &#043; \u65b0 GPU&#xff08;SM120&#xff09;\u610f\u5473\u7740\u5fc5\u987b\u4e0a nightly \u6846\u67b6&#xff0c;\u800c Docker \u5b98\u65b9\u955c\u50cf\u662f\u552f\u4e00\u7701\u5fc3\u7684\u8f7d\u4f53**&#xff1b;\u5269\u4e0b\u7684\u5751\u51e0\u4e4e\u5168\u90e8\u96c6\u4e2d\u5728&#034;\u52a0\u8f7d\u8d85\u65f6\u3001KV \u5bb9\u91cf\u89c4\u5212\u3001\u663e\u5b58\u6c34\u4f4d&#034;\u8fd9\u4e09\u4ef6\u4e8b\u4e0a&#xff0c;\u5404\u81ea\u90fd\u53ea\u9700\u8981\u4e00\u884c\u53c2\u6570\u5c31\u80fd\u89e3\u51b3\u3002<\/p>\n<\/p>\n<p>\u90e8\u7f72\u672c\u8eab\u6ca1\u6709\u4efb\u4f55\u65e0\u6cd5\u590d\u73b0\u7684\u9ed1\u9b54\u6cd5\u2014\u2014&#096;docker run&#096; \u6284\u8d70&#xff0c;\u6539\u6539\u6302\u8f7d\u8def\u5f84\u5c31\u80fd\u8dd1\u3002<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&gt; \u90e8\u7f72\u76ee\u6807&#xff1a;\u5728\u4e00\u53f0 8 \u5361 RTX 5090&#xff08;\u6bcf\u5361 32 GB&#xff09;\u670d\u52a1\u5668\u4e0a&#xff0c;\u7528 vLLM \u8dd1\u8d77 GLM-5.3-Flash \u7684 NVFP4 \u91cf\u5316\u7248&#xff0c;\u5bf9\u5916\u63d0\u4f9b OpenAI \u517c\u5bb9 API&#xff0c;\u652f\u6301 \/think \u6df1\u5ea6\u601d\u8003\u6a21\u5f0f\u4e0e Function Call\u3002\u6700\u7ec8\u65b9\u6848\u91c7\u7528 **vLLM \u5b98\u65b9 nightly \u955c\u50cf  Docker**&#xff0c;\u670d\u52a1\u73b0\u7a33\u5b9a\u8fd0\u884c\u4e8e http:\/\/10.168.2.103<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[81,50],"topic":[],"class_list":["post-111869","post","type-post","status-publish","format-standard","hentry","category-server","tag-python","tag-50"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>8 \u5361 RTX 5090 32G \u90e8\u7f72 GLM-5.3-Flash NVFP4 \u7248\u5168\u8bb0\u5f55 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/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:\/\/www.wsisp.com\/helps\/111869.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"8 \u5361 RTX 5090 32G \u90e8\u7f72 GLM-5.3-Flash NVFP4 \u7248\u5168\u8bb0\u5f55 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"&gt; \u90e8\u7f72\u76ee\u6807&#xff1a;\u5728\u4e00\u53f0 8 \u5361 RTX 5090&#xff08;\u6bcf\u5361 32 GB&#xff09;\u670d\u52a1\u5668\u4e0a&#xff0c;\u7528 vLLM \u8dd1\u8d77 GLM-5.3-Flash \u7684 NVFP4 \u91cf\u5316\u7248&#xff0c;\u5bf9\u5916\u63d0\u4f9b OpenAI \u517c\u5bb9 API&#xff0c;\u652f\u6301 \/think \u6df1\u5ea6\u601d\u8003\u6a21\u5f0f\u4e0e Function Call\u3002\u6700\u7ec8\u65b9\u6848\u91c7\u7528 **vLLM \u5b98\u65b9 nightly \u955c\u50cf Docker**&#xff0c;\u670d\u52a1\u73b0\u7a33\u5b9a\u8fd0\u884c\u4e8e http:\/\/10.168.2.103\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/111869.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-01T17:41:17+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/111869.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/111869.html\",\"name\":\"8 \u5361 RTX 5090 32G \u90e8\u7f72 GLM-5.3-Flash NVFP4 \u7248\u5168\u8bb0\u5f55 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-01T17:41:17+00:00\",\"dateModified\":\"2026-10-01T17:41:17+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/111869.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/111869.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/111869.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"8 \u5361 RTX 5090 32G \u90e8\u7f72 GLM-5.3-Flash NVFP4 \u7248\u5168\u8bb0\u5f55\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"8 \u5361 RTX 5090 32G \u90e8\u7f72 GLM-5.3-Flash NVFP4 \u7248\u5168\u8bb0\u5f55 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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:\/\/www.wsisp.com\/helps\/111869.html","og_locale":"zh_CN","og_type":"article","og_title":"8 \u5361 RTX 5090 32G \u90e8\u7f72 GLM-5.3-Flash NVFP4 \u7248\u5168\u8bb0\u5f55 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"&gt; \u90e8\u7f72\u76ee\u6807&#xff1a;\u5728\u4e00\u53f0 8 \u5361 RTX 5090&#xff08;\u6bcf\u5361 32 GB&#xff09;\u670d\u52a1\u5668\u4e0a&#xff0c;\u7528 vLLM \u8dd1\u8d77 GLM-5.3-Flash \u7684 NVFP4 \u91cf\u5316\u7248&#xff0c;\u5bf9\u5916\u63d0\u4f9b OpenAI \u517c\u5bb9 API&#xff0c;\u652f\u6301 \/think \u6df1\u5ea6\u601d\u8003\u6a21\u5f0f\u4e0e Function Call\u3002\u6700\u7ec8\u65b9\u6848\u91c7\u7528 **vLLM \u5b98\u65b9 nightly \u955c\u50cf Docker**&#xff0c;\u670d\u52a1\u73b0\u7a33\u5b9a\u8fd0\u884c\u4e8e http:\/\/10.168.2.103","og_url":"https:\/\/www.wsisp.com\/helps\/111869.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-01T17:41:17+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/111869.html","url":"https:\/\/www.wsisp.com\/helps\/111869.html","name":"8 \u5361 RTX 5090 32G \u90e8\u7f72 GLM-5.3-Flash NVFP4 \u7248\u5168\u8bb0\u5f55 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-01T17:41:17+00:00","dateModified":"2026-10-01T17:41:17+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/111869.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/111869.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/111869.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"8 \u5361 RTX 5090 32G \u90e8\u7f72 GLM-5.3-Flash NVFP4 \u7248\u5168\u8bb0\u5f55"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/111869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=111869"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/111869\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=111869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=111869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=111869"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=111869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}