{"id":38,"date":"2026-10-13T16:44:46","date_gmt":"2026-10-13T08:44:46","guid":{"rendered":"https:\/\/bk.rui26.com\/?p=38"},"modified":"2026-10-13T16:45:03","modified_gmt":"2026-10-13T08:45:03","slug":"qwen-image-2-1-%e6%97%a0%e5%ae%a1%e6%9f%a5%e7%89%88%e6%9c%ac%e9%83%a8%e7%bd%b2%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/bk.rui26.com\/index.php\/2026\/10\/13\/qwen-image-2-1-%e6%97%a0%e5%ae%a1%e6%9f%a5%e7%89%88%e6%9c%ac%e9%83%a8%e7%bd%b2%e6%8c%87%e5%8d%97\/","title":{"rendered":"Qwen-Image-2.1 \u65e0\u5ba1\u67e5\u7248\u672c\u90e8\u7f72\u6307\u5357"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u786c\u4ef6\u73af\u5883\uff1aWindows 11 \u00b7 RTX 5070 Laptop (8GB \u663e\u5b58) \u00b7 32GB DDR5 \u5185\u5b58 \u8f6f\u4ef6\u7248\u672c\uff1aComfyUI v0.37.0 \u00b7 Python 3.12.10\uff08\u5d4c\u5165\u5f0f\uff09 \u00b7 PyTorch 2.14.0+cu130 \u00b7 ComfyUI-GGUF\uff08leejet fork\uff09 \u5b9e\u6d4b\u6027\u80fd\uff1a1024\u00d71024\uff0ceuler\/simple\uff0c\u7ea6 8 \u79d2\/\u6b65\uff0c25 \u6b65\u4e00\u5f20\u56fe 2~3 \u5206\u949f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0b\u6587\u6240\u6709\u547d\u4ee4\u4ee5\u5b89\u88c5\u6839\u76ee\u5f55\u00a0<code>D:\\ComfyUI<\/code>\u00a0\u4e3a\u4f8b\u2014\u2014\u53ef\u4ee5\u6362\u6210\u4efb\u610f\u78c1\u76d8\u7684\u4efb\u610f\u6587\u4ef6\u5939\uff0c\u5efa\u8bae\u8def\u5f84<strong>\u7eaf\u82f1\u6587\u3001\u4e0d\u542b\u7a7a\u683c<\/strong>\uff0c\u5c3d\u91cf\u4e0d\u8981\u653e C \u76d8\u3002\u6574\u5957\u90e8\u7f72\u5b8c\u6210\u540e\u603b\u5171\u00a0<strong>\u7ea6 19 GB<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6a21\u578b\u4e0b\u8f7d\u5730\u5740:<a href=\"https:\/\/huggingface.co\/abenzerps\/Qwen-Image-2.1-Uncensored-Quantized\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/huggingface.co\/abenzerps\/Qwen-Image-2.1-Uncensored-Quantized<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6a21\u578b\u9009\u62e9:<a href=\"https:\/\/huggingface.co\/abenzerps\/Qwen-Image-2.1-Uncensored-Quantized\/blob\/main\/qwen-image-2.1-UC-Q5_K_M.gguf\" target=\"_blank\"  rel=\"nofollow\" ><strong>qwen-image-2.1-UC-Q5_K_M.gguf<\/strong><\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6a21\u578b\u9009\u62e9\u601d\u8def\uff1a8GB \u663e\u5b58\u88c5\u4e0d\u4e0b bf16 \u4e3b\u6a21\u578b\uff08\u7ea6 20GB+\uff09\uff0c\u6240\u4ee5 DiT \u7528 Q5_K_M \u91cf\u5316 GGUF\uff085.22GB\uff0c\u8fdb\u663e\u5b58\uff09\uff1b\u6587\u672c\u7f16\u7801\u5668\u7528 int8 \u91cf\u5316\u7248\uff089.35GB\uff0c\u653e\u5185\u5b58\u8dd1\uff0c\u7f16\u7801\u6bcf\u4e2a\u63d0\u793a\u8bcd\u53ea\u7b97\u4e00\u6b21\uff0c\u901f\u5ea6\u51e0\u4e4e\u65e0\u635f\uff09\uff1bVAE \u672c\u6765\u5c31\u5c0f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e3a\u4ec0\u4e48\u4e0d\u7528\u5b98\u65b9 portable \u6574\u5408\u5305<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e24\u4e2a\u539f\u56e0\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u7f51\u7edc<\/strong>\uff1ahuggingface.co \u76f4\u8fde\u4e0d\u901a\uff0cGitHub Releases \u76f4\u8fde\u53ea\u6709 20KB\/s\uff08\u6302\u4ee3\u7406\u4e5f\u53ea\u6709 40KB\/s\uff09\uff0c2GB \u7684\u6574\u5408\u5305\u8981\u4e0b\u4e00\u5929\u3002<\/li>\n\n\n\n<li><strong>\u53ef\u63a7\u6027<\/strong>\uff1a\u6e90\u7801 + \u5d4c\u5165\u5f0f Python \u7684\u65b9\u5f0f\u6bcf\u4e00\u6b65\u90fd\u900f\u660e\uff0c\u4f9d\u8d56\u5168\u90e8\u8d70\u56fd\u5185\u955c\u50cf\uff0c\u540e\u9762\u5347\u7ea7\u3001\u6362\u6a21\u578b\u90fd\u65b9\u4fbf\u3002<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4f60\u7684\u7f51\u7edc\u53ef\u4ee5\u76f4\u63a5\u6ee1\u901f\u8bbf\u95ee GitHub\uff0c\u7528&nbsp;ComfyUI portable\uff08\u9009\u4e0d\u5e26 cu126 \u540e\u7f00\u7684 nvidia \u7248\uff09\u7136\u540e\u8df3\u5230\u7b2c\u56db\u6b65\u4e0b\u8f7d\u6a21\u578b\uff0c\u4e5f\u662f\u5b8c\u5168 OK \u7684\u2014\u2014\u4f46 portable \u540c\u6837\u8981\u6ce8\u610f\u672c\u6587\u7684 cu130 \u548c GGUF fork \u4e24\u4e2a\u5751\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7b2c\u4e00\u6b65\uff1a\u5d4c\u5165\u5f0f Python<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0d\u88c5\u7cfb\u7edf Python\uff0c\u7528\u5b98\u65b9 embeddable \u5305\uff0810MB\uff09\uff0cnpmmirror \u6709\u955c\u50cf\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cd \/d D:\\ComfyUI<br>curl -L -o python-embed.zip <a href=\"https:\/\/registry.npmmirror.com\/-\/binary\/python\/3.12.10\/python-3.12.10-embed-amd64.zip\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/registry.npmmirror.com\/-\/binary\/python\/3.12.10\/python-3.12.10-embed-amd64.zip<\/a><br>:: \u7528\u7cfb\u7edf\u81ea\u5e26 tar \u89e3\u538b\uff08Win10 1809+ \u90fd\u6709\uff09<br>C:\\Windows\\System32\\tar.exe -xf python-embed.zip -C python-embed<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7136\u540e<strong>\u5173\u952e\u4e00\u6b65<\/strong>\uff1a\u7528\u8bb0\u4e8b\u672c\u6253\u5f00\u00a0<code>python-embed\\python312._pth<\/code>\uff0c\u6539\u6210\u4e0b\u9762\u8fd9\u6837\uff08\u539f\u6587\u4ef6\u91cc\u00a0<code>import site<\/code>\u00a0\u524d\u9762\u6709\u00a0<code>#<\/code>\uff0c\u53bb\u6389\u5b83\uff0c\u518d\u52a0\u4e00\u884c\u00a0<code>..\\ComfyUI<\/code>\uff09\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">python312.zip<br>.<br>..\\ComfyUI<br>import site<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>import site<\/code>\uff1a\u542f\u7528 site-packages\uff0cpip \u88c5\u7684\u5305\u624d\u80fd\u88ab\u627e\u5230<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>..\\ComfyUI<\/code>\uff1a\u5d4c\u5165\u5f0f Python \u662f\u9694\u79bb\u6a21\u5f0f\uff0c<strong>\u4e0d\u4f1a<\/strong>\u81ea\u52a8\u628a\u811a\u672c\u76ee\u5f55\u52a0\u8fdb\u6a21\u5757\u641c\u7d22\u8def\u5f84\uff0c\u4e0d\u52a0\u8fd9\u884c\u542f\u52a8 ComfyUI \u76f4\u63a5\u62a5\u00a0<code>ModuleNotFoundError: No module named 'comfy'<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u88c5 pip\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">curl -L -o get-pip.py <a href=\"https:\/\/bootstrap.pypa.io\/get-pip.py\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/bootstrap.pypa.io\/get-pip.py<\/a><br>python-embed\\python.exe get-pip.py -i <a href=\"https:\/\/pypi.tuna.tsinghua.edu.cn\/simple\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/pypi.tuna.tsinghua.edu.cn\/simple<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u987a\u624b\u628a pip \u7f13\u5b58\u632a\u51fa C \u76d8\uff08\u9ed8\u8ba4\u5728\u00a0<code>C:\\Users\\&lt;\u4f60>\\AppData\\Local\\pip\\Cache<\/code>\uff0c\u88c5\u4e00\u6b21 torch \u80fd\u5403\u6389 5GB+\uff09\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">python-embed\\python.exe -m pip config set global.cache-dir D:\\ComfyUI\\pip-cache<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7b2c\u4e8c\u6b65\uff1aComfyUI \u672c\u4f53 + GGUF \u8282\u70b9<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">git clone --depth 1 <a href=\"https:\/\/github.com\/comfyanonymous\/ComfyUI.git\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/github.com\/comfyanonymous\/ComfyUI.git<\/a><br>cd ComfyUI\\custom_nodes<br>git clone --depth 1 <a href=\"https:\/\/github.com\/leejet\/ComfyUI-GGUF.git\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/github.com\/leejet\/ComfyUI-GGUF.git<\/a><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>\u5fc5\u987b\u662f leejet \u7684 fork\uff0c\u4e0d\u8981\u7528\u8001\u7684 city96 \u7248<\/strong>\u3002Qwen-Image 2.1 \u662f\u65b0\u67b6\u6784\uff0ccity96 \u7248\u4f1a\u62a5\u00a0<code>Unknown model architecture!<\/code>\u3002\u6a21\u578b\u4ed3\u5e93 README \u4e5f\u7279\u522b\u5f3a\u8c03\u4e86\u8fd9\u4e00\u70b9\u3002<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">\u7b2c\u4e09\u6b65\uff1a\u88c5\u4f9d\u8d56\uff08\u987a\u5e8f\u5f88\u91cd\u8981\uff09<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>RTX 50 \u7cfb\uff08Blackwell\uff0csm_120\uff09\u5fc5\u987b cu128 \u53ca\u4ee5\u4e0a\u7684 PyTorch<\/strong>\uff1b\u800c\u4e14 ComfyUI v0.37 \u8d77\uff0c\u4f18\u5316 CUDA \u7b97\u5b50\u8981\u6c42&nbsp;<strong>cu130+<\/strong>\uff08\u542f\u52a8\u65f6\u4f1a\u6253\u8b66\u544a\uff09\u3002\u6240\u4ee5\u6211\u4eec\u76f4\u63a5\u4e0a cu130 \u7248\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5751\u5728\u8fd9\u91cc\uff1aComfyUI \u7684&nbsp;<code>requirements.txt<\/code>&nbsp;\u91cc\u9664\u4e86&nbsp;<code>torch<\/code>\/<code>torchvision<\/code>\uff0c\u8fd8\u6709&nbsp;<code>kornia<\/code>&nbsp;\u548c&nbsp;<code>spandrel<\/code>&nbsp;\u4e24\u4e2a\u5305<strong>\u4f9d\u8d56 torch<\/strong>\u3002\u5982\u679c\u76f4\u63a5\u4e00\u628a\u88c5\uff0cpip \u4f1a\u4ece PyPI \u62c9\u4e00\u4e2a\u9ed8\u8ba4\u6784\u5efa\u7684 torch\uff08\u4e0d\u662f cu130 \u7248\uff09\uff0c\u540e\u9762\u518d\u60f3\u88c5 cu130 \u7248\u4f1a\u56e0\u4e3a\"\u5df2\u6ee1\u8db3\"\u88ab\u8df3\u8fc7\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6240\u4ee5\u5206\u4e09\u6b65\u8d70\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u2460 \u5148\u7528\u8bb0\u4e8b\u672c\u6253\u5f00&nbsp;<code>ComfyUI\\requirements.txt<\/code>\uff0c\u5220\u6389\u8fd9\u56db\u884c<\/strong>\uff08\u53ea\u5220\u8fd9\u56db\u884c\uff0c<code>torchsde<\/code>&nbsp;\u8981\u4fdd\u7559\uff01\uff09\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">torch<br>torchvision<br>kornia<br>spandrel<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u2461 \u88c5\u5176\u4f59\u4f9d\u8d56\uff08\u6e05\u534e\u955c\u50cf\uff0c\u627e\u4e0d\u5230\u7684\u5305\u81ea\u52a8\u56de\u843d PyPI \u5b98\u65b9\uff09<\/strong>\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cd \/d D:\\ComfyUI<br>python-embed\\python.exe -m pip install -r ComfyUI\\requirements.txt gguf sentencepiece protobuf -i <a href=\"https:\/\/pypi.tuna.tsinghua.edu.cn\/simple\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/pypi.tuna.tsinghua.edu.cn\/simple<\/a> --extra-index-url <a href=\"https:\/\/pypi.org\/simple\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/pypi.org\/simple<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u2462 \u88c5 cu130 \u7248 torch + torchvision\uff08PyTorch \u5b98\u65b9\u6e90\uff0c\u7ea6 2GB\uff0c\u8010\u5fc3\u7b49\uff09<\/strong>\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">python-embed\\python.exe -m pip install torch==2.14.0 torchvision --index-url <a href=\"https:\/\/download.pytorch.org\/whl\/cu130\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/download.pytorch.org\/whl\/cu130<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u2463 \u8865\u56de\u88ab\u5220\u7684\u4e24\u4e2a\u53ef\u9009\u4f9d\u8d56<\/strong>\uff08\u6b64\u65f6 torch \u5df2\u5c31\u4f4d\uff0cpip \u4e0d\u4f1a\u518d\u4e71\u62c9\uff09\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">python-embed\\python.exe -m pip install kornia spandrel<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9a8c\u8bc1 GPU \u8bc6\u522b\uff08\u770b\u5230\u00a0<code>sm_120<\/code>\u00a0\u5c31\u5bf9\u4e86\uff0c\u90a3\u662f 50 \u7cfb\u7684\u67b6\u6784\u4ee3\u53f7\uff09\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">python-embed\\python.exe -c \"import torch; print(torch.<strong>version<\/strong>, torch.cuda.get_arch_list())\"<br>:: \u671f\u671b\u8f93\u51fa\u7c7b\u4f3c\uff1a2.14.0+cu130 ['sm_75', 'sm_80', 'sm_86', 'sm_90', 'sm_100', 'sm_120']<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7b2c\u56db\u6b65\uff1a\u4e0b\u8f7d\u6a21\u578b\uff08hf-mirror + \u65ad\u70b9\u7eed\u4f20 + \u6821\u9a8c\uff09<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e09\u4e2a\u6587\u4ef6\u90fd\u4ece\u00a0abenzerps\/Qwen-Image-2.1-GGUF<br>\u00a0\u4ed3\u5e93\u8d70 hf-mirror \u955c\u50cf\u4e0b\u8f7d\u3002<code>curl -C -<\/code>\u00a0\u652f\u6301\u65ad\u70b9\u7eed\u4f20\uff0c\u7f51\u65ad\u4e86\u91cd\u8dd1\u540c\u4e00\u6761\u547d\u4ee4\u5373\u53ef\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cd \/d D:\\ComfyUI<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">:: DiT \u4e3b\u6a21\u578b \u2192 diffusion_models<br>curl -L -C - -o qwen-image-2.1-Q5_K_M.gguf <a href=\"https:\/\/hf-mirror.com\/abenzerps\/Qwen-Image-2.1-GGUF\/resolve\/main\/qwen-image-2.1-Q5_K_M.gguf\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/hf-mirror.com\/abenzerps\/Qwen-Image-2.1-GGUF\/resolve\/main\/qwen-image-2.1-Q5_K_M.gguf<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">:: \u6587\u672c\u7f16\u7801\u5668\uff08int8 \u91cf\u5316\u7248\uff09\u2192 text_encoders<br>curl -L -C - -o qwen3vl_8b_int8_convrot.safetensors <a href=\"https:\/\/hf-mirror.com\/abenzerps\/Qwen-Image-2.1-GGUF\/resolve\/main\/text_encoders\/qwen3vl_8b_int8_convrot.safetensors\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/hf-mirror.com\/abenzerps\/Qwen-Image-2.1-GGUF\/resolve\/main\/text_encoders\/qwen3vl_8b_int8_convrot.safetensors<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">:: VAE \u2192 vae<br>curl -L -C - -o qwen_image_2.1_vae_bf16.safetensors <a href=\"https:\/\/hf-mirror.com\/abenzerps\/Qwen-Image-2.1-GGUF\/resolve\/main\/vae\/qwen_image_2.1_vae_bf16.safetensors\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/hf-mirror.com\/abenzerps\/Qwen-Image-2.1-GGUF\/resolve\/main\/vae\/qwen_image_2.1_vae_bf16.safetensors<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0b\u8f7d\u5b8c<strong>\u52a1\u5fc5\u6821\u9a8c<\/strong>\uff0815GB \u7684\u6587\u4ef6\u65ad\u70b9\u7eed\u4f20\u5f88\u5bb9\u6613\u6df7\u8fdb\u574f\u5757\uff09\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">certutil -hashfile qwen-image-2.1-Q5_K_M.gguf SHA256<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e09\u4e2a\u6587\u4ef6\u7684\u5b98\u65b9 SHA256\uff08\u5bf9\u5f97\u4e0a\u624d\u7b97\u6570\uff09\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u6587\u4ef6<\/th><th>SHA256<\/th><\/tr><\/thead><tbody><tr><td>qwen-image-2.1-Q5_K_M.gguf<\/td><td>88ce8e90e5b959cce5e248f697d7f6c9c7ca5696c1eac64a10dadb041dd7fd07<\/td><\/tr><tr><td>qwen3vl_8b_int8_convrot.safetensors<\/td><td>8bfd0f6e12abf2d2d697ecc888e5e90b0d6741d6708f05799f53afa560452e8f<\/td><\/tr><tr><td>qwen_image_2.1_vae_bf16.safetensors<\/td><td>bb21f7473051e1ac368515dd3f2e15cd44d7a11748ee8823e1ddca3e4876b7c9<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u7136\u540e\u5f52\u4f4d\uff1amove qwen-image-2.1-Q5_K_M.gguf ComfyUI\\models\\diffusion_models<br>move qwen3vl_8b_int8_convrot.safetensors ComfyUI\\models\\text_encoders<br>move qwen_image_2.1_vae_bf16.safetensors ComfyUI\\models\\vae\\<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7b2c\u4e94\u6b65\uff1a\u542f\u52a8\u811a\u672c<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u5b89\u88c5\u6839\u76ee\u5f55\u65b0\u5efa\u00a0<code>run.bat<\/code>\uff08\u6587\u4ef6\u540d\u60f3\u7528\u4e2d\u6587\u4e5f\u884c\uff0c<strong>\u5185\u5bb9<\/strong>\u5fc5\u987b\u662f\u7eaf\u82f1\u6587\uff09\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">@echo off<br>chcp 65001 &gt;nul<br>title ComfyUI - Qwen-Image 2.1 GGUF (lowvram)<br>cd \/d \"%~dp0\"<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">REM --lowvram: prevents VRAM overflow on 8GB GPUs<br>REM The text encoder (9.35 GB int8) runs on system RAM<br>REM via the workflow's Load CLIP node (device=cpu).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\"%~dp0python-embed\\python.exe\" -s \"%~dp0ComfyUI\\main.py\" --lowvram --windows-standalone-build --port 8188<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">echo.<br>echo ComfyUI has exited. If there were errors, check the text above.<br>pause<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u00a0<strong>.bat \u6587\u4ef6\u91cc\u4e0d\u8981\u5199\u4e2d\u6587\u6ce8\u91ca\uff01<\/strong>\u00a0cmd \u7528\u7cfb\u7edf GBK \u4ee3\u7801\u9875\u89e3\u6790\u6279\u5904\u7406\uff0cUTF-8 \u4e2d\u6587\u4f1a\u88ab\u5f53\u6210\u4e71\u7801\u5b57\u8282\uff0c\u8f7b\u5219\u6ce8\u91ca\u53d8\u4e71\u7801\uff0c\u91cd\u5219\u628a\u547d\u4ee4\u884c\u6495\u788e\u5bfc\u81f4\u6574\u4efd\u811a\u672c\u65e0\u6cd5\u8fd0\u884c\u3002\u6240\u4ee5\u811a\u672c\u5185\u5bb9\u5168\u7a0b ASCII\u3002\u811a\u672c\u7528\u7684\u662f\u00a0<code>%~dp0<\/code>\u00a0\u76f8\u5bf9\u8def\u5f84\uff0c\u653e\u5728\u4efb\u4f55\u76ee\u5f55\u90fd\u80fd\u8dd1\u3002<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">\u53cc\u51fb\u8fd0\u884c\uff0c\u6d4f\u89c8\u5668\u81ea\u52a8\u6253\u5f00\u00a0<code>http:\/\/127.0.0.1:8188<\/code>\u00a0\u5c31\u6210\u529f\u4e86\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7b2c\u516d\u6b65\uff1a\u642d\u5efa\u5de5\u4f5c\u6d41<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e24\u79cd\u65b9\u5f0f\u4efb\u9009\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u65b9\u5f0f A<\/strong>\uff1a\u628a\u6587\u672b\u9644\u5f55\u7684 JSON \u4fdd\u5b58\u4e3a&nbsp;<code>.json<\/code>&nbsp;\u6587\u4ef6\uff0c\u62d6\u8fdb ComfyUI \u753b\u5e03\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u65b9\u5f0f B<\/strong>\uff1a\u624b\u52a8\u642d\u5efa\uff0c\u5171 9 \u4e2a\u8282\u70b9\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u8282\u70b9<\/th><th>\u5173\u952e\u53c2\u6570<\/th><\/tr><\/thead><tbody><tr><td>Unet Loader (GGUF)<\/td><td>unet_name \u9009 qwen-image-2.1-Q5_K_M.gguf<\/td><\/tr><tr><td>Load CLIP\uff08CLIPLoader\uff09<\/td><td>clip_name \u9009 qwen3vl_8b_int8_convrot.safetensors\uff0ctype \u9009 qwen_image\uff0cdevice \u9009 cpu<\/td><\/tr><tr><td>Load VAE\uff08VAELoader\uff09<\/td><td>vae_name \u9009 qwen_image_2.1_vae_bf16.safetensors<\/td><\/tr><tr><td>CLIP Text Encode \u00d72<\/td><td>\u6b63\u5411\u5199\u63cf\u8ff0\uff1b\u8d1f\u5411\u968f\u4fbf\u5199\uff08cfg=1 \u65f6\u4e0d\u751f\u6548\uff09<\/td><\/tr><tr><td>Empty Latent Image<\/td><td>1024 \u00d7 1024\uff0c\u6279\u6b21 1<\/td><\/tr><tr><td>KSampler<\/td><td>steps 25 \u00b7 cfg 1.0 \u00b7 euler \u00b7 simple \u00b7 denoise 1.0<\/td><\/tr><tr><td>VAE Decode<\/td><td>\u2014<\/td><\/tr><tr><td>Save Image<\/td><td>\u6587\u4ef6\u540d\u524d\u7f00\u968f\u610f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fde\u7ebf\u5c31\u662f\u6807\u51c6\u6587\u751f\u56fe\u6d41\uff1aGGUF\u52a0\u8f7d\u5668\u2192KSampler.model\uff0cLoad CLIP\u2192\u4e24\u4e2a\u6587\u672c\u7f16\u7801\uff0c\u6587\u672c\u7f16\u7801\u2192KSampler \u6b63\/\u8d1f\u6761\u4ef6\uff0cEmpty Latent\u2192KSampler.latent_image\uff0cKSampler.LATENT\u2192VAE\u89e3\u7801.samples\uff0cVAELoader\u2192VAE\u89e3\u7801.vae\uff0cVAE\u89e3\u7801\u2192\u4fdd\u5b58\u56fe\u50cf\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e09\u4e2a\u8981\u70b9\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Load CLIP \u7684 device \u5fc5\u987b\u9009\u00a0<code>cpu<\/code><\/strong>\u2014\u20149.35GB \u7f16\u7801\u5668\u5e38\u9a7b\u5185\u5b58\u4e0d\u5360\u663e\u5b58\uff0c\u8fd9\u662f 8GB \u5361\u80fd\u8dd1\u7684\u5173\u952e\uff0c\u800c\u4e14\u6587\u672c\u7f16\u7801\u6bcf\u4e2a\u63d0\u793a\u8bcd\u53ea\u8dd1\u4e00\u6b21\uff0c\u5bf9\u901f\u5ea6\u51e0\u4e4e\u65e0\u5f71\u54cd\u3002<\/li>\n\n\n\n<li><strong>type \u5fc5\u987b\u9009\u00a0<code>qwen_image<\/code><\/strong>\uff0c\u9009\u9519\u7c7b\u578b\u52a0\u8f7d\u76f4\u63a5\u62a5\u9519\u3002<\/li>\n\n\n\n<li><strong>KSampler \u53ea\u6709\u4e00\u4e2a LATENT \u8f93\u51fa\u53e3<\/strong>\uff08v0.37 \u5220\u6389\u4e86\u8001\u7248\u7684 MODEL \u76f4\u901a\u53e3\uff09\uff0c\u5982\u679c\u4f60\u770b\u5230\u6559\u7a0b\u622a\u56fe\u91cc KSampler \u6709\u4e24\u4e2a\u8f93\u51fa\u53e3\uff0c\u90a3\u662f\u8001\u7248\u672c\u3002<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u7b2c\u4e03\u6b65\uff1a\u9a8c\u8bc1<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u70b9\u8fd0\u884c\u540e\u770b\u9ed1\u8272\u63a7\u5236\u53f0\u7a97\u53e3\uff0c\u51fa\u73b0\u8fd9\u4e9b\u8bf4\u660e\u4e00\u5207\u6b63\u5e38\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">pytorch version: 2.14.0+cu130<br>ComfyUI-GGUF: Allowing full torch compile<br>gguf qtypes: BF16 (68), Q5_K (165), Q6_K (64)<br>Requested to load QwenImage21<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u6b21\u8fd0\u884c\u8981\u52a0\u8f7d 14.6GB \u6743\u91cd\uff08\u7f16\u7801\u5668\u8fdb\u5185\u5b58\u3001DiT \u8fdb\u663e\u5b58\uff09\uff0c\u4e4b\u540e ComfyUI \u4f1a\u628a\u6a21\u578b\u7f13\u5b58\u5728\u5185\u5b58\/\u663e\u5b58\u91cc\uff0c\u7b2c\u4e8c\u6b21\u751f\u6210\u76f4\u63a5\u547d\u4e2d\u7f13\u5b58\u3002\u751f\u6210\u7684\u56fe\u5728\u00a0<code>ComfyUI\\output\\<\/code>\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u65e5\u5e38\u4f7f\u7528\u4e0e\u8c03\u4f18<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u60f3\u8981\u66f4\u5feb<\/strong>\uff1asteps \u964d\u5230 15-20\uff1b\u6216\u6362\u00a0<code>qwen-image-2.1-Q4_K_M.gguf<\/code>\uff084.6GB\uff0c\u5b98\u65b9\u63a8\u8350\u7684\u5927\u5c0f\/\u8d28\u91cf\u5e73\u8861\u70b9\uff0c\u4e0b\u8f7d\u65b9\u5f0f\u540c\u7b2c\u56db\u6b65\uff0c\u6539\u6587\u4ef6\u540d\u5373\u53ef\uff09<\/li>\n\n\n\n<li><strong>\u60f3\u8981\u66f4\u9ad8\u8d28\u91cf\/\u66f4\u5927\u56fe<\/strong>\uff1a\u6a21\u578b\u539f\u751f\u652f\u6301 2048\u00d72048\uff0c\u4f46 8GB \u663e\u5b58\u5efa\u8bae\u5148 1024\u00d71024\uff0cOOM \u5c31\u964d\u5230 832\u00d71216<\/li>\n\n\n\n<li><strong>\u7528\u8d1f\u5411\u63d0\u793a\u8bcd<\/strong>\uff1a\u628a cfg \u63d0\u5230 2.5~4\uff08cfg=1 \u65f6\u8d1f\u5411\u63d0\u793a\u4e0d\u751f\u6548\uff0c\u8fd9\u662f Qwen-Image 2.1 \u5b98\u65b9\u63a8\u8350\u8def\u5f84\uff09<\/li>\n\n\n\n<li><strong>\u4e2d\u6587\u63d0\u793a\u8bcd<\/strong>\u968f\u4fbf\u5199\uff0cQwen3-VL \u7f16\u7801\u5668\u5bf9\u4e2d\u6587\u957f\u63cf\u8ff0\u7684\u7406\u89e3\u662f\u5f3a\u9879<\/li>\n\n\n\n<li><strong>\u66f4\u65b0 ComfyUI<\/strong>\uff1a<code>cd \/d D:\\ComfyUI\\ComfyUI &amp;&amp; git pull<\/code>\uff0c\u7136\u540e\u91cd\u8dd1\u7b2c\u4e09\u6b65\u7684\u7b2c\u2461\u6761\u547d\u4ee4\uff08\u6709\u65b0\u4f9d\u8d56\u65f6\u4f1a\u81ea\u52a8\u8865\u88c5\uff09<\/li>\n\n\n\n<li><strong>\u663e\u5b58\u8fd8\u662f\u5403\u7d27<\/strong>\uff1a<code>--lowvram<\/code>\u00a0\u4e4b\u5916\u8fd8\u53ef\u4ee5\u52a0\u00a0<code>--novram<\/code>\uff08\u66f4\u6fc0\u8fdb\uff09\uff0c\u6216\u628a GGUF \u6362\u6210 Q4_K_M<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"8GB\u663e\u5b58\u4e5f\u80fd\u8dd1Qwen-Image-2.1\uff1f\u672c\u6587\u5b9e\u6d4bRTX 5070 Laptop\uff0c\u4ece\u5d4c\u5165\u5f0fPython\u3001cu130\u4e0eGGUF\u8282\u70b9\uff0c\u5230\u6a21\u578b\u4e0b\u8f7d\u3001\u5de5\u4f5c\u6d41\u642d\u5efa\u548c\u5e38\u89c1\u5751\uff0c\u5e26\u4f60\u7528\u7ea619GB\u7a7a\u95f4\u5b8c\u6210\u4e00\u5957\u900f\u660e\u3001\u53ef\u63a7\u7684\u672c\u5730\u90e8\u7f72\u3002","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[1],"tags":[8],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-ai"],"_links":{"self":[{"href":"https:\/\/bk.rui26.com\/index.php\/wp-json\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bk.rui26.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bk.rui26.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bk.rui26.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bk.rui26.com\/index.php\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":4,"href":"https:\/\/bk.rui26.com\/index.php\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":42,"href":"https:\/\/bk.rui26.com\/index.php\/wp-json\/wp\/v2\/posts\/38\/revisions\/42"}],"wp:attachment":[{"href":"https:\/\/bk.rui26.com\/index.php\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bk.rui26.com\/index.php\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bk.rui26.com\/index.php\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}