{"id":12345,"date":"2023-12-21T18:40:24","date_gmt":"2023-12-21T10:40:24","guid":{"rendered":"https:\/\/blog.iyatt.com\/?p=12345"},"modified":"2025-08-22T09:47:58","modified_gmt":"2025-08-22T01:47:58","slug":"%e8%8b%b1%e7%89%b9%e5%b0%94%e6%a0%b8%e6%98%be%e9%85%8d%e7%bd%ae-stable-diffusion","status":"publish","type":"post","link":"https:\/\/blog.iyatt.com\/?p=12345","title":{"rendered":"\u914d\u7f6e Stable Diffusion WebUI \u7eaf CPU \u6216\u6838\u663e\u7ed8\u753b"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#1_%E5%89%8D%E8%A8%80\" >1 \u524d\u8a00<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#2_%E7%8E%AF%E5%A2%83\" >2 \u73af\u5883<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#3_%E9%85%8D%E7%BD%AE\" >3 \u914d\u7f6e<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#31_%E5%AE%89%E8%A3%85_Python\" >3.1 \u5b89\u88c5 Python<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#32_%E5%AE%89%E8%A3%85_Git\" >3.2 \u5b89\u88c5 Git<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#33_%E9%85%8D%E7%BD%AE_Stable_Diffusion\" >3.3 \u914d\u7f6e Stable Diffusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#%E2%91%A0_%E5%8E%9F%E7%89%88\" >\u2460 \u539f\u7248<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#%E2%91%A1_OpenVINO_%E7%89%88\" >\u2461 OpenVINO \u7248<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#4_%E9%99%84\" >4 \u9644<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#41_%E6%B1%89%E5%8C%96\" >4.1 \u6c49\u5316<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#42_%E5%85%B3%E4%BA%8E_OpenVINO_%E7%89%88\" >4.2 \u5173\u4e8e OpenVINO \u7248<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#421_%E6%8F%90%E7%A4%BA%E8%AF%8D%E5%92%8C%E5%8F%8D%E5%90%91%E6%8F%90%E7%A4%BA%E8%AF%8D%E7%9A%84%E8%8C%83%E5%9B%B4%E8%A6%81%E4%B8%80%E8%87%B4\" >4.2.1 \u63d0\u793a\u8bcd\u548c\u53cd\u5411\u63d0\u793a\u8bcd\u7684\u8303\u56f4\u8981\u4e00\u81f4<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#422_%E2%80%9C%E9%AB%98%E5%88%86%E8%BE%A8%E7%8E%87%E4%BF%AE%E5%A4%8D%E2%80%9D_%E6%97%A0%E6%B3%95%E4%BD%BF%E7%94%A8%E5%8A%A0%E9%80%9F\" >4.2.2 \u201c\u9ad8\u5206\u8fa8\u7387\u4fee\u590d\u201d \u65e0\u6cd5\u4f7f\u7528\u52a0\u901f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#423_%E7%82%B9%E9%87%8D%E5%90%AF%E4%B8%8D%E8%83%BD%E6%AD%A3%E5%B8%B8%E5%8A%A0%E8%BD%BD\" >4.2.3 \u70b9\u91cd\u542f\u4e0d\u80fd\u6b63\u5e38\u52a0\u8f7d<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#424_%E6%96%87%E7%94%9F%E5%9B%BE%E6%97%B6%EF%BC%8C%E5%9B%BE%E7%89%87%E7%9A%84%E9%95%BF%E5%AE%BD%E5%BF%85%E9%A1%BB%E6%98%AF_8_%E7%9A%84%E6%95%B4%E6%95%B0%E5%80%8D\" >4.2.4 \u6587\u751f\u56fe\u65f6\uff0c\u56fe\u7247\u7684\u957f\u5bbd\u5fc5\u987b\u662f 8 \u7684\u6574\u6570\u500d<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#425_%E4%BD%BF%E7%94%A8%E6%A0%B8%E6%98%BE%E5%8A%A0%E9%80%9F%E5%AF%B9%E5%86%85%E5%AD%98%E5%8D%A0%E7%94%A8%E9%9D%9E%E5%B8%B8%E9%AB%98\" >4.2.5 \u4f7f\u7528\u6838\u663e\u52a0\u901f\u5bf9\u5185\u5b58\u5360\u7528\u975e\u5e38\u9ad8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#426_%E7%94%BB%E5%87%BA%E7%9A%84%E5%9B%BE%E7%89%87%E4%B8%8D%E4%B8%80%E6%A0%B7\" >4.2.6 \u753b\u51fa\u7684\u56fe\u7247\u4e0d\u4e00\u6837<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#426_%E7%BC%93%E5%AD%98%E5%8D%A0%E7%94%A8%E7%A1%AC%E7%9B%98%E7%A9%BA%E9%97%B4%E5%A4%A7\" >4.2.6 \u7f13\u5b58\u5360\u7528\u786c\u76d8\u7a7a\u95f4\u5927<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#427_%3E%3E%3E%3E%3E%3E%3E%3E%3E%E6%94%BE%E5%BC%83%E6%8A%98%E8%85%BE_%E2%80%93_%E5%AF%B9%E7%AC%AC%E4%B8%89%E6%96%B9%E6%8F%92%E4%BB%B6%E4%B8%8D%E6%94%AF%E6%8C%81\" >4.2.7 &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;\u653e\u5f03\u6298\u817e &#8211; \u5bf9\u7b2c\u4e09\u65b9\u63d2\u4ef6\u4e0d\u652f\u6301<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#43_%E8%B5%84%E6%BA%90\" >4.3 \u8d44\u6e90<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#431_%E6%A8%A1%E5%9E%8B\" >4.3.1 \u6a21\u578b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#432_%E6%8F%92%E4%BB%B6\" >4.3.2 \u63d2\u4ef6<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#%E9%83%A8%E7%BD%B2%E5%88%B0%E7%A7%BB%E5%8A%A8%E7%A1%AC%E7%9B%98\" >\u90e8\u7f72\u5230\u79fb\u52a8\u786c\u76d8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/blog.iyatt.com\/?p=12345\/#%E4%BB%A3%E7%90%86\" >\u4ee3\u7406<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"1_%E5%89%8D%E8%A8%80\"><\/span>1 \u524d\u8a00<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>\u6211\u7b14\u8bb0\u672c\u7535\u8111\u7684\u72ec\u663e\u4e0a\u534a\u5e74\u7684\u65f6\u5019\u70e7\u6389\u4e86\uff0c\u6240\u4ee5\u53ea\u80fd\u7528 CPU\uff08\u6216\u6838\u663e\uff09\uff0c\u6298\u817e\u4e86\u4e00\u4e0b\u5348\u603b\u7b97\u7ed9\u914d\u7f6e\u51fa\u6765\u4e86\u3002\u6211\u8fd9\u91cc\u7528\u7684\u5b98\u65b9 Python\uff0c\u7f51\u4e0a\u5f88\u591a\u6559\u7a0b\u7528 Anaconda\uff08\u4e5f\u662f\u4e00\u79cd Python \u53d1\u884c\u7248\uff09\uff0c\u5176\u5b9e\u6ca1\u5fc5\u8981\u3002\u6700\u5f00\u59cb\u6211\u5c31\u8ddf\u7740\u7528 Anaconda\uff0c\u633a\u6298\u817e\u7684\uff0c\u5230\u540e\u9762\u53d1\u73b0\u53ea\u662f\u9700\u8981 Python \u800c\u5df2\uff0c\u90a3\u6574\u4f53\u7b80\u5355\u591a\u4e86\u3002\u559c\u6b22\u7528 Anaconda \u7684\u4e5f\u53ef\u4ee5\u7528\uff0c\u4e0d\u5f71\u54cd\uff0c\u53ea\u662f\u9700\u8981 Python \u8fd9\u4e2a\u57fa\u7840\uff0c\u7136\u540e\u5728\u4e0a\u9762\u8dd1 PyTorch\uff0cStable Diffusion \u53c8\u662f\u57fa\u4e8e PyTorch\uff0c\u7ed3\u6784\u5c31\u662f\u8fd9\u6837\u3002<\/p>\n<p>\u4e0b\u9762\u7684\u56fe\u7247\u662f\u7528 SD \u753b\u7684<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703323054956.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 536px; --smush-placeholder-aspect-ratio: 536\/338;\" \/><\/p>\n<h1><span class=\"ez-toc-section\" id=\"2_%E7%8E%AF%E5%A2%83\"><\/span>2 \u73af\u5883<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>CPU\uff1aIntel i5-8265U\uff08Intel UHD Graphics 620\uff09<br \/>\nRAM\uff1a20GB<br \/>\nOS\uff1aWindows 11 \u4e13\u4e1a\u5de5\u4f5c\u7ad9\u7248 23H2\uff08\u9884\u89c8\u7248\uff09<\/p>\n<p>\u6ce8\u610f\uff1a\u914d\u7f6e\u53ca\u540e\u7eed\u4f7f\u7528\u5341\u5206\u4f9d\u8d56\u201c\u68af\u5b50\u201d\uff0c\u8bbe\u7f6e\u6210\u7cfb\u7edf\u4ee3\u7406+\u7ed5\u8fc7\u5927\u9646\u5c31\u884c<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703245640270.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 222px; --smush-placeholder-aspect-ratio: 222\/215;\" \/><\/p>\n<p>\u6211\u5728 Windows 11 \u4e0a\u6d4b\u8bd5\u53d1\u73b0 CMD \u4f1a\u6cbf\u7528\u7cfb\u7edf\u4ee3\u7406\uff0c\u4f46\u662f Windows 10 \u4e0a CMD \u6ca1\u6709\u4f7f\u7528\u7cfb\u7edf\u4ee3\u7406\uff0c\u5bfc\u81f4\u6ca1\u6709\u4ee3\u7406\u3002\u53ef\u4ee5\u4fee\u6539 webui-user.bat \u624b\u52a8\u6dfb\u52a0\u4ee3\u7406\u53d8\u91cf\uff0c\u5982\uff1a<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704035970428.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 611px; --smush-placeholder-aspect-ratio: 611\/319;\" \/><br \/>\n\u7aef\u53e3\u770b\u81ea\u5df1\u7535\u8111\u4e0a\u7684\u4ee3\u7406\u8f6f\u4ef6<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704036000835.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 587px; --smush-placeholder-aspect-ratio: 587\/70;\" \/><\/p>\n<h1><span class=\"ez-toc-section\" id=\"3_%E9%85%8D%E7%BD%AE\"><\/span>3 \u914d\u7f6e<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<h2><span class=\"ez-toc-section\" id=\"31_%E5%AE%89%E8%A3%85_Python\"><\/span>3.1 \u5b89\u88c5 Python<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5b98\u7f51\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"https:\/\/www.python.org\/downloads\/\">https:\/\/www.python.org\/downloads\/<\/a><br \/>\n\u6ce8\u610f\u5b89\u88c5\u7684\u65f6\u5019\u52fe\u9009\u6dfb\u52a0\u5230 PATH \u73af\u5883\u53d8\u91cf\uff0c\u4e0d\u7136\u8981\u624b\u52a8\u53bb\u6dfb\u52a0<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703144430327.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 623px; --smush-placeholder-aspect-ratio: 623\/385;\" \/><br \/>\n\u6211\u6d4b\u8bd5\u65f6 SD \u6700\u65b0\u7248\u4e3a 1.7.0\uff0c\u5efa\u8bae\u7684 Python \u7248\u672c\u4e0d\u8d85\u8fc7 3.10.6<\/p>\n<p>\u6dfb\u52a0\u4e86\u73af\u5883\u53d8\u91cf\uff0c\u5728\u7ec8\u7aef\u5c31\u80fd\u6267\u884c<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703148419568.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 362px; --smush-placeholder-aspect-ratio: 362\/151;\" \/><\/p>\n<p>\u5347\u7ea7 pip \u7248\u672c<\/p>\n<pre><code class=\"language-bash\">python -m pip install pip<\/code><\/pre>\n<p>\u914d\u7f6e\u8fc7\u7a0b\u4e2d\u4e0d\u5efa\u8bae\u6362\u56fd\u5185\u6e90\uff0c\u6211\u5f00\u59cb\u5c1d\u8bd5\u7684\u65f6\u5019\u6362\u4e86\u56fd\u5185\u7684\uff0c\u7ed3\u679c\u73af\u5883\u914d\u7f6e\u627e\u4e0d\u5230\u6307\u5b9a\u7248\u672c\u7684\u5305\u5bfc\u81f4\u62a5\u9519\uff0c\u5e94\u8be5\u662f\u56fd\u5185\u955c\u50cf\u53ef\u80fd\u5b58\u5728\u4e0d\u53ca\u65f6\u540c\u6b65\u7684\u95ee\u9898\uff0c\u6216\u8005\u9009\u62e9\u6027\u540c\u6b65\u3002\u800c\u4e14\u540e\u7eed\u914d\u7f6e\u8fc7\u7a0b\u4e5f\u8981\u4f7f\u7528\u4ee3\u7406\uff0c\u6ca1\u5fc5\u8981\u6539\u7528\u56fd\u5185\u955c\u50cf\uff0c\u76f4\u63a5\u9ed8\u8ba4\u5b98\u65b9\u6e90\u5c31\u884c\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"32_%E5%AE%89%E8%A3%85_Git\"><\/span>3.2 \u5b89\u88c5 Git<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4e0b\u8f7d Git\uff1a<a href=\"https:\/\/git-scm.com\/downloads\">https:\/\/git-scm.com\/downloads<\/a><br \/>\n\u5b89\u88c5\u540e\u68c0\u67e5\u73af\u5883\u53d8\u91cf\u662f\u5426\u6b63\u5e38\uff0c\u4fdd\u8bc1\u53ef\u4ee5\u8fd0\u884c<\/p>\n<pre><code class=\"language-bash\"> git --version<\/code><\/pre>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703150564633.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 319px; --smush-placeholder-aspect-ratio: 319\/149;\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"33_%E9%85%8D%E7%BD%AE_Stable_Diffusion\"><\/span>3.3 \u914d\u7f6e Stable Diffusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u8fd9\u91cc\u7528\u7f51\u9875 UI \u7248\u7684\uff0c\u65b9\u4fbf\u64cd\u4f5c\u3002\u7136\u540e\u4e00\u4e2a\u662f\u539f\u7248\uff1a<a href=\"https:\/\/github.com\/AUTOMATIC1111\/stable-diffusion-webui\">https:\/\/github.com\/AUTOMATIC1111\/stable-diffusion-webui<\/a> \uff0c\u53e6\u5916\u4e00\u4e2a\u662f\u652f\u6301 Intel \u663e\u5361\u7684\u7248\u672c\uff0c\u4e5f\u652f\u6301\u6838\u663e\uff08\u4f7f\u7528 OpenVINO\uff09\uff1a<a href=\"https:\/\/github.com\/openvinotoolkit\/stable-diffusion-webui\">https:\/\/github.com\/openvinotoolkit\/stable-diffusion-webui<\/a><\/p>\n<p>\u4f7f\u7528 Intel \u663e\u5361\u6216\u8005 Intel \u6838\u663e\u7684\u60c5\u51b5\u5efa\u8bae\u4f7f\u7528\u7b2c\u4e8c\u4e2a\u7248\u672c\uff0c\u5176\u5b83\u60c5\u51b5\u5c31\u7528\u7b2c\u4e00\u4e2a\u7248\u672c\u3002<\/p>\n<p>\u9996\u5148\u6253\u5f00\u4ee3\u7406\uff0c\u518d\u9009\u62e9\u4e00\u79cd\u8fdb\u884c\u51c6\u5907\u64cd\u4f5c\uff1a<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E2%91%A0_%E5%8E%9F%E7%89%88\"><\/span>\u2460 \u539f\u7248<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4e0b\u8f7d\u6e90\u7801\uff1a<\/p>\n<pre><code class=\"language-bash\"># \u6307\u5b9a\u7248\u672c 1.7.0\ngit clone https:\/\/github.com\/AUTOMATIC1111\/stable-diffusion-webui.git --branch=v1.7.0<\/code><\/pre>\n<p>\u6ca1\u6709 NVIDIA \u663e\u5361\u652f\u6301\u7684\uff0c\u4e0b\u8f7d\u540e\u7f16\u8f91\u4e0b\u56fe\u7684\u6587\u4ef6\uff0c\u5728 <strong>set COMMANDLINE_ARGS=<\/strong> \u540e\uff0c\u52a0\u4e0a <strong>&#8211;skip-torch-cuda-test &#8211;precision full &#8211;no-half<\/strong>\uff08\u8df3\u8fc7 PyTorch CUDA \u6d4b\u8bd5\uff0c\u4f7f\u7528\u5168\u7cbe\u5ea6\uff0c\u7981\u6b62\u534a\u7cbe\u5ea6\uff09<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703149489597.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 714px; --smush-placeholder-aspect-ratio: 714\/820;\" \/><br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703149515498.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 637px; --smush-placeholder-aspect-ratio: 637\/234;\" \/><\/p>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"%E2%91%A1_OpenVINO_%E7%89%88\"><\/span>\u2461 OpenVINO \u7248<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4e0b\u8f7d\u6e90\u7801<\/p>\n<pre><code class=\"language-bash\"># \u6ca1\u6709\u7248\u672c\u6807\u7b7e\uff0c\u4e0b\u8f7d\u6700\u65b0\u7684\ngit clone https:\/\/github.com\/openvinotoolkit\/stable-diffusion-webui.git\n<\/code><\/pre>\n<hr \/>\n<p>\u5b8c\u6210\u4e0a\u9762\u7684\u51c6\u5907\u5de5\u4f5c\u540e\uff0c\u8fdb\u884c\u9996\u6b21\u8fd0\u884c\u51c6\u5907<br \/>\n\u76f4\u63a5\u53cc\u51fb webui-user.bat \u811a\u672c\u6267\u884c<br \/>\n\u9996\u6b21\u6267\u884c\u8fc7\u7a0b\u4e2d\u4f1a\u8fdb\u884c\u4e00\u4e9b\u521d\u59cb\u5316\u51c6\u5907\uff0c\u6bd4\u5982\u521b\u5efa\u865a\u62df\u73af\u5883\uff0c\u5b89\u88c5 PyTorch\uff0c\u4e0b\u8f7d\u6a21\u578b\uff0c\u8981\u901a\u8fc7\u4ee3\u7406\u4e0b\u8f7d\u7684\u4e1c\u897f\u5dee\u4e0d\u591a\u80fd\u6709 10 GB \u5427\u3002\u51c6\u5907\u5b8c\u6210\u4f1a\u81ea\u52a8\u6253\u5f00\u6d4f\u89c8\u5668\u8bbf\u95ee <strong><a href=\"http:\/\/127.0.0.1:7860\/\">http:\/\/127.0.0.1:7860\/<\/a><\/strong><br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703150431937.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 273px; --smush-placeholder-aspect-ratio: 273\/133;\" \/><\/p>\n<p>\u4ee5\u540e\u8fd0\u884c\u4e5f\u662f\u6267\u884c\u8fd9\u4e2a\u6587\u4ef6<\/p>\n<h1><span class=\"ez-toc-section\" id=\"4_%E9%99%84\"><\/span>4 \u9644<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<h2><span class=\"ez-toc-section\" id=\"41_%E6%B1%89%E5%8C%96\"><\/span>4.1 \u6c49\u5316<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u6c49\u5316\u754c\u9762\u53ef\u4ee5\u4f7f\u7528\u8fd9\u4e2a\u5f00\u6e90\u9879\u76ee\uff1a<a href=\"https:\/\/github.com\/VinsonLaro\/stable-diffusion-webui-chinese\">https:\/\/github.com\/VinsonLaro\/stable-diffusion-webui-chinese<\/a><br \/>\n\u652f\u6301\u7eaf\u4e2d\u6587\uff0c\u6216\u8005\u4e2d\u82f1\u6df7\u5408<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703229663652.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1010px; --smush-placeholder-aspect-ratio: 1010\/858;\" \/><\/p>\n<p>\u5176\u5b83\u6c49\u5316\u63d2\u4ef6\uff1a<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/dtlnor\/stable-diffusion-webui-localization-zh_CN\">https:\/\/github.com\/dtlnor\/stable-diffusion-webui-localization-zh_CN<\/a><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"42_%E5%85%B3%E4%BA%8E_OpenVINO_%E7%89%88\"><\/span>4.2 \u5173\u4e8e OpenVINO \u7248<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u8981\u4f7f\u7528\u6838\u663e\u52a0\u901f\u7684\u8bdd\uff0c\u811a\u672c\u9009 OpenVINO \u52a0\u901f\uff0c\u8bbe\u5907\u9009 GPU\uff0c\u4e0b\u9762\u6709\u4e2a\u9ed8\u8ba4\u52fe\u9009\u53ef\u4ee5\u53bb\u6389\u3002\u5982\u679c\u52fe\u9009\u4e86\u5c31\u4f1a\u8986\u76d6\u4e0a\u9762\u7684\u91c7\u6837\u5668\uff0c\u5f53\u7136\u5b83\u5efa\u8bae\u7684\u662f\u4f7f\u7528\u4e0b\u9762\u5728 OpenVINO \u9a8c\u8bc1\u8fc7\u7684\u91c7\u6837\u5668\uff0c\u7528\u5176\u5b83\u51fa\u95ee\u9898\u7684\u53ef\u80fd\u6027\u66f4\u5927\uff0c\u4f46\u662f\u53d1\u6325\u5c31\u6bd4\u8f83\u6709\u9650\u4e86\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703835329285.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 944px; --smush-placeholder-aspect-ratio: 944\/732;\" \/><\/p>\n<p>\u6211\u6298\u817e\u7684\u65f6\u5019\u539f\u7248\u6700\u65b0\u7248\u672c\u4e3a 1.7.0\uff0c\u800c OpenVINO \u7248\u6700\u65b0\u7684\u662f\u57fa\u4e8e 1.6.0\uff0c\u7528\u8d77\u6765\u5f88\u591a\u5b58\u5728\u95ee\u9898(\u4e0b\u9762\u8bf4)\uff0c\u7ef4\u62a4\u66f4\u65b0\u4e5f\u4e0d\u592a\u597d\uff0c\u6700\u8fd1\u4e00\u6b21\u66f4\u65b0\u5df2\u7ecf\u662f\u4e00\u4e2a\u6708\u524d\u4e86\uff08\u770b\u7684 GitHub \u63d0\u4ea4\u8bb0\u5f55\uff09\u3002<\/p>\n<p>\u52a0\u901f\u6548\u679c\u786e\u5b9e\u53ef\u4ee5\uff0c\u6211\u7535\u8111\u4e0a CPU \u80fd\u8dd1\u4e00\u4e24\u4e2a\u5c0f\u65f6\u7684\u56fe\uff0c\u6838\u663e\u8dd1\u80fd\u53d8\u6210\u51e0\u5206\u949f\uff0c\u901f\u5ea6\u63d0\u9ad8\u4e86\u597d\u591a\u3002\u4e0b\u56fe\u662f\u6211\u7528\u6838\u663e\u8dd1\u7684\u65f6\u5019\u7684\u8d44\u6e90\u5360\u7528\u60c5\u51b5\uff1a<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703834308912.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 892px; --smush-placeholder-aspect-ratio: 892\/773;\" \/><\/p>\n<p>\u4e0b\u9762\u4e3b\u8981\u8bf4\u8bf4\u6211\u76ee\u524d\u9047\u5230\u7684\u95ee\u9898\uff1a<\/p>\n<h3><span class=\"ez-toc-section\" id=\"421_%E6%8F%90%E7%A4%BA%E8%AF%8D%E5%92%8C%E5%8F%8D%E5%90%91%E6%8F%90%E7%A4%BA%E8%AF%8D%E7%9A%84%E8%8C%83%E5%9B%B4%E8%A6%81%E4%B8%80%E8%87%B4\"><\/span>4.2.1 \u63d0\u793a\u8bcd\u548c\u53cd\u5411\u63d0\u793a\u8bcd\u7684\u8303\u56f4\u8981\u4e00\u81f4<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703834945520.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 110px; --smush-placeholder-aspect-ratio: 110\/204;\" \/><br \/>\n\u6211\u8fd9\u91cc\u753b\u4e00\u4e2a\u56fe\u4e0d\u4e00\u81f4\u7684\u65f6\u5019\u5c31\u4f1a\u62a5\u9519<\/p>\n<pre><code>ValueError: `prompt_embeds` and `negative_prompt_embeds` must have the same shape when passed directly, but got: `prompt_embeds` torch.Size([1, 154, 768]) != `negative_prompt_embeds` torch.Size([1, 231, 768]).<\/code><\/pre>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703834999216.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1100px; --smush-placeholder-aspect-ratio: 1100\/477;\" \/><\/p>\n<p>\u5c31\u662f\u8bf4\u63d0\u793a\u8bcd\u548c\u53cd\u5411\u63d0\u793a\u8bcd\u7684\u5f62\u72b6\u4e0d\u4e00\u81f4\uff0c\u7136\u540e\u6211\u7528\u9017\u53f7\u786c\u51d1\u6210\u4e00\u6837\u8303\u56f4\u624d\u80fd\u8dd1\u8d77\u6765<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703835157550.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 128px; --smush-placeholder-aspect-ratio: 128\/81;\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"422_%E2%80%9C%E9%AB%98%E5%88%86%E8%BE%A8%E7%8E%87%E4%BF%AE%E5%A4%8D%E2%80%9D_%E6%97%A0%E6%B3%95%E4%BD%BF%E7%94%A8%E5%8A%A0%E9%80%9F\"><\/span>4.2.2 \u201c\u9ad8\u5206\u8fa8\u7387\u4fee\u590d\u201d \u65e0\u6cd5\u4f7f\u7528\u52a0\u901f<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703835986584.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 999px; --smush-placeholder-aspect-ratio: 999\/517;\" \/><\/p>\n<p>\u51c6\u786e\u6765\u8bf4\uff0c\u5728\u6587\u751f\u56fe\u7684\u65f6\u5019\u5982\u679c\u542f\u7528\u4e86\u9ad8\u5206\u8fa8\u7387\u4fee\u590d\uff0c\u90a3\u4e48\u5b9e\u9645\u8dd1\u8d77\u6765\u4f1a\u53d8\u6210\u7eaf CPU\uff0c\u76ee\u524d\u8fd9\u4e2a OpenVINO \u52a0\u901f\u8fd8\u6ca1\u6709\u652f\u6301\u3002\u8fd9\u91cc\u6211\u60f3\u5230\u4e86\u4e24\u79cd\u534f\u8c03\u65b9\u6cd5\uff0c\u90fd\u8981\u628a\u9ad8\u5206\u8fa8\u7387\u4fee\u590d\u62c6\u5206\u5f00\uff0c\u5373\u5148\u6587\u751f\u56fe\u4f46\u4e0d\u4f7f\u7528\u9ad8\u5206\u8fa8\u7387\u4fee\u590d\uff0c\u8fd9\u6837\u6587\u751f\u56fe\u80fd\u4fdd\u8bc1\u6838\u663e\u52a0\u901f\u3002<\/p>\n<p>\u4e00\u79cd\u65b9\u6cd5\u662f\u63a5\u7740\u4f7f\u7528\u9ad8\u6e05\u5316\u3002\u8fd9\u79cd\u9ad8\u6e05\u5316\u4e0d\u6d89\u53ca\u91cd\u7ed8\uff0c\u4e0d\u4f1a\u6539\u53d8\u56fe\u7247\u4e0a\u7684\u5185\u5bb9\uff0c\u5355\u7eaf\u8fdb\u884c\u8d85\u5206\u8fa8\u7387\u5904\u7406\uff0c\u867d\u7136\u8fd8\u662f\u4f7f\u7528 CPU\uff0c\u4f46\u662f\u672c\u8eab\u901f\u5ea6\u5f88\u5feb\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703837120757.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 412px; --smush-placeholder-aspect-ratio: 412\/155;\" \/><\/p>\n<p>\u7b2c\u4e8c\u79cd\u65b9\u6cd5\u5c31\u662f\u63a5\u7740\u4f7f\u7528\u56fe\u751f\u56fe\uff08\u53ef\u4ee5\u4f7f\u7528\u52a0\u901f\uff09\u3002\u9ad8\u5206\u8fa8\u7387\u4fee\u590d\u5b9e\u8d28\u4e0a\u5c31\u662f\u56fe\u751f\u56fe\uff0c\u53ea\u662f\u6587\u751f\u56fe\u91cc\u96c6\u6210\u9ad8\u5206\u8fa8\u7387\u4fee\u590d\u662f\u628a\u6587\u751f\u56fe\u548c\u56fe\u751f\u56fe\u6df7\u5408\u8d77\u6765\u53d8\u6210\u8fde\u7eed\u5904\u7406\u4e86\u3002<\/p>\n<p>\u5728\u8bbe\u7f6e\u91cc\u53ef\u4ee5\u9009\u62e9\u56fe\u751f\u56fe\u4f7f\u7528\u7684\u9ad8\u6e05\u5316\u7b97\u6cd5\uff0c\u8fd9\u91cc\u5c31\u548c\u9ad8\u5206\u8fa8\u7387\u4fee\u590d\u9009\u62e9\u7b97\u6cd5\u662f\u5bf9\u5e94\u7684\uff0c\u9009\u597d\u8bb0\u5f97\u70b9\u5e94\u7528\u8bbe\u7f6e\u5b8c\u6210\u4fdd\u5b58\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703946373795.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 512px; --smush-placeholder-aspect-ratio: 512\/330;\" \/><\/p>\n<p>\u7136\u540e\u5728\u6587\u751f\u56fe\u7ed3\u675f\u4ee5\u540e\uff0c\u4e0b\u9762\u662f\u6709\u4e00\u4e2a\u56fe\u6807\u53ef\u4ee5\u628a\u751f\u6210\u7684\u56fe\u7247\u548c\u4f7f\u7528\u7684\u63d0\u793a\u8bcd\u53d1\u9001\u5230\u56fe\u751f\u56fe\u7684<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703946497558.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 377px; --smush-placeholder-aspect-ratio: 377\/135;\" \/><\/p>\n<p>\u5728\u56fe\u751f\u56fe\u4e2d\u53ef\u4ee5\u8bbe\u7f6e\u7f29\u653e\u6bd4\u4f8b\u6216\u8005\u7f29\u653e\u540e\u7684\u5206\u8fa8\u7387<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703946570006.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 697px; --smush-placeholder-aspect-ratio: 697\/157;\" \/><\/p>\n<p>\u91cd\u7ed8\u5f3a\u5ea6\u5efa\u8bae\u4ee5 0.3 \u4e3a\u57fa\u51c6\uff0c\u76f8\u5f53\u4e8e\u5c11\u91cf\u91cd\u7ed8+\u9ad8\u6e05\u5316\u6269\u5927\u5206\u8fa8\u7387\uff0c\u5728\u7ec6\u8282\u4e0a\u6bd4\u7eaf\u9ad8\u6e05\u5316\u7684\u6548\u679c\u66f4\u597d\uff0c\u503c\u8d8a\u5927\u56fe\u7247\u5185\u5bb9\u6539\u52a8\u5c31\u8d8a\u5927\u3002\u8fd9\u79cd\u65b9\u6cd5\u4f18\u70b9\u662f\u6548\u679c\u57fa\u672c\u4e0a\u7b49\u540c\u4e8e\u9ad8\u5206\u8fa8\u7387\u4fee\u590d\uff0c\u540c\u65f6\u4fdd\u8bc1\u52a0\u901f\uff0c\u4f46\u7f3a\u70b9\u5c31\u662f\u5185\u5b58\u4f7f\u7528\u8f83\u5927\uff0c\u6781\u9650\u5c3a\u5bf8\u53ef\u80fd\u548c\u76f4\u63a5\u6587\u751f\u56fe\u6700\u5927\u56fe\u5dee\u4e0d\u591a\uff0c\u53ef\u653e\u5927\u7684\u64cd\u4f5c\u7a7a\u95f4\u6709\u9650\u3002<\/p>\n<p>\u4e00\u822c\u6765\u8bf4\u8fdb\u884c\u8d85\u5206\u8fa8\u7387\u4fee\u590d\u90fd\u662f\u89c9\u5f97\u56fe\u753b\u5f97\u4e0d\u9519\uff0c\u786e\u5b9a\u8981\u7684\uff0c\u5982\u679c\u786e\u5b9e\u8981\u653e\u5927\u5f97\u5f88\u591a\uff0c\u53c8\u8981\u4fdd\u8bc1\u8f83\u597d\u7684\u6548\u679c\uff0c\u90a3\u5c31\u4e0d\u4f7f\u7528 OpenVINO \u52a0\u901f\uff0c\u7eaf CPU \u5904\u7406\u5185\u5b58\u5360\u7528\u4f4e\u5f88\u591a\uff0c\u76ee\u6807\u56fe\u7247\u5c3a\u5bf8\u4e0a\u9650\u4e5f\u53ef\u4ee5\u63d0\u9ad8\u3002\u5728\u7535\u8111\u7a7a\u95f2\u7684\u65f6\u5019\uff0c\u6302\u7740\u6162\u6162\u5904\u7406\u90fd\u884c\u3002<\/p>\n<p>\u4f7f\u7528\u56fe\u751f\u56fe\u628a\u5206\u8fa8\u7387\u653e\u5927\u4e09\u500d\uff0c\u5de6\u8fb9\u662f\u653e\u5927\u7684\uff0c\u53f3\u8fb9\u662f\u539f\u56fe<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704442346557.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1118px; --smush-placeholder-aspect-ratio: 1118\/352;\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"423_%E7%82%B9%E9%87%8D%E5%90%AF%E4%B8%8D%E8%83%BD%E6%AD%A3%E5%B8%B8%E5%8A%A0%E8%BD%BD\"><\/span>4.2.3 \u70b9\u91cd\u542f\u4e0d\u80fd\u6b63\u5e38\u52a0\u8f7d<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u6709\u62a5\u9519<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703837654993.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 238px; --smush-placeholder-aspect-ratio: 238\/95;\" \/><br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703837714534.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1113px; --smush-placeholder-aspect-ratio: 1113\/438;\" \/><br \/>\n\u91cd\u542f\u540e\u4f1a\u53d1\u73b0 OpenVINO \u52a0\u901f\u6d88\u5931\u4e86\u3002\u91cd\u542f\u53ea\u80fd\u624b\u52a8\u6765\uff0c\u5148\u5173\u6389 SD\uff0c\u518d\u91cd\u65b0\u8fd0\u884c\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"424_%E6%96%87%E7%94%9F%E5%9B%BE%E6%97%B6%EF%BC%8C%E5%9B%BE%E7%89%87%E7%9A%84%E9%95%BF%E5%AE%BD%E5%BF%85%E9%A1%BB%E6%98%AF_8_%E7%9A%84%E6%95%B4%E6%95%B0%E5%80%8D\"><\/span>4.2.4 \u6587\u751f\u56fe\u65f6\uff0c\u56fe\u7247\u7684\u957f\u5bbd\u5fc5\u987b\u662f 8 \u7684\u6574\u6570\u500d<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u5426\u8005\u4f1a\u62a5\u9519<\/p>\n<pre><code>ValueError: `height` and `width` have to be divisible by 8 but are 300 and 240.<\/code><\/pre>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703841845050.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1096px; --smush-placeholder-aspect-ratio: 1096\/571;\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"425_%E4%BD%BF%E7%94%A8%E6%A0%B8%E6%98%BE%E5%8A%A0%E9%80%9F%E5%AF%B9%E5%86%85%E5%AD%98%E5%8D%A0%E7%94%A8%E9%9D%9E%E5%B8%B8%E9%AB%98\"><\/span>4.2.5 \u4f7f\u7528\u6838\u663e\u52a0\u901f\u5bf9\u5185\u5b58\u5360\u7528\u975e\u5e38\u9ad8<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u6211\u753b 640&#215;960 \u7684\u56fe\u591a\u51e0\u6b21\uff0c\u5c31\u6709\u51e0\u7387\u7206\u5185\u5b58\u3002\u8fd9\u4e2a\u548c\u6a21\u578b\u6587\u4ef6\u7684\u5927\u5c0f\u4e5f\u6709\u5173\u7cfb\uff0c\u6a21\u578b\u6587\u4ef6\u672c\u8eab\u5f88\u5927\u7684\uff0c\u56fe\u7247\u5c3a\u5bf8\u53ef\u80fd\u90fd\u5927\u4e0d\u4e86\u3002<br \/>\n\u5185\u5b58\u4e25\u91cd\u4e0d\u591f\u7684\u65f6\u5019\u751a\u81f3\u76f4\u63a5\u628a\u9875\u9762\u5d29\u9ed1\u5c4f\uff0c\u7136\u540e\u7cfb\u7edf\u5f39\u7a97\u62a5\u9519\u5185\u5b58\u5730\u5740\u4e0d\u5bf9\u5565\u7684\uff0cSD \u7a0b\u5e8f\u76f4\u63a5\u88ab\u7cfb\u7edf\u6740\u6389\u3002\u5728\u8fb9\u7f18\u5904\u7684\uff0cSD \u4e0d\u4f1a\u88ab\u6740\uff0c\u4f46\u662f\u53ef\u4ee5\u770b\u5230 CMD \u4e0a\u663e\u793a\u9519\u8bef\u4fe1\u606f\uff0c\u7c7b\u4f3c\u5206\u914d\u5185\u5b58\u5931\u8d25\u5565\u7684\uff0c\u7136\u540e\u64cd\u4f5c\u7ed3\u675f\u3002<\/p>\n<p>\u6211\u62ff\u4e00\u53f0 8G \u5185\u5b58\u7684\u7535\u8111\u8bd5\uff0c\u6838\u663e\u57fa\u672c\u6ca1\u6cd5\u7528\uff0c240&#215;360 \u7684\u90fd\u80fd\u628a\u7535\u8111\u641e\u84dd\u5c4f\uff0c\u53ef\u4ee5\u770b\u5230\u84dd\u5c4f\u4ee3\u7801\u662f MEMORY MANAGEMENT\uff08\u5185\u5b58\u7ba1\u7406\uff09\uff0c\u5c31\u662f\u5185\u5b58\u4e0d\u591f\u5206\u914d\uff0c\u628a\u7cfb\u7edf\u70b8\u4e86\u3002\u62ff CPU \u8dd1\u6ca1\u5565\u95ee\u9898\uff0c\u5927\u56fe\u4e5f\u884c\uff0c\u5c31\u662f\u901f\u5ea6\u6162\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704014355682.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 587px; --smush-placeholder-aspect-ratio: 587\/356;\" \/><\/p>\n<p>\u4e00\u822c\u770b\u5230\u7ec8\u7aef\u62a5\u9519<strong>[ GENERAL_ERROR ] [CL ext] Can not allocate nullptr for USM type.<\/strong>\uff0c\u5c31\u4ee3\u8868\u5185\u5b58\u7206\u4e86\uff0c\u76ef\u7740\u4efb\u52a1\u7ba1\u7406\u5668\u4e5f\u80fd\u770b\u5230\u5185\u5b58\u6ee1\u4e86\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704443684595.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1105px; --smush-placeholder-aspect-ratio: 1105\/588;\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"426_%E7%94%BB%E5%87%BA%E7%9A%84%E5%9B%BE%E7%89%87%E4%B8%8D%E4%B8%80%E6%A0%B7\"><\/span>4.2.6 \u753b\u51fa\u7684\u56fe\u7247\u4e0d\u4e00\u6837<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u6211\u7528 CPU \u753b\u548c\u6838\u663e\u753b\uff0c\u540c\u6837\u63d0\u793a\u8bcd\u548c\u53c2\u6570\u503c\uff0c\u753b\u51fa\u6765\u56fe\u4e0d\u4e00\u6837\uff0c\u6bd4\u5982\u4e0b\u9762\u5206\u522b\u662f CPU \u548c\u6838\u663e\u753b\u7684\uff1a<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703894762560.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 475px; --smush-placeholder-aspect-ratio: 475\/260;\" \/><\/p>\n<p>\u8fd9\u4e2a\u4f3c\u4e4e\u662f\u6b63\u5e38\u73b0\u8c61\uff0c\u6211\u770b\u539f\u7248\u7684 issue \u4e0a\u6709\u591a\u4e2a\u63d0\u5230\u7528\u4e0d\u540c\u7684\u663e\u5361\u7ed8\u5236\u7684\u56fe\u50cf\u4e0d\u4e00\u6837\uff0c\u60c5\u51b5\u5404\u79cd\u5404\u6837\uff0c\u4f3c\u4e4e\u6ca1\u6709\u7edf\u4e00\u7684\u8bf4\u6cd5\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"426_%E7%BC%93%E5%AD%98%E5%8D%A0%E7%94%A8%E7%A1%AC%E7%9B%98%E7%A9%BA%E9%97%B4%E5%A4%A7\"><\/span>4.2.6 \u7f13\u5b58\u5360\u7528\u786c\u76d8\u7a7a\u95f4\u5927<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u4f7f\u7528 OpenVINO \u52a0\u901f\u7684\u65f6\u5019\u4f1a\u91cd\u65b0\u7f16\u8bd1\u6a21\u578b\uff0c\u9ed8\u8ba4\u52fe\u9009\u4e86\u7f13\u5b58\u6a21\u578b\u3002\u5728\u786e\u5b9a\u6a21\u578b\u3001\u751f\u6210\u56fe\u50cf\u5c3a\u5bf8\u3001\u91c7\u6837\u5668\u3001\u6279\u6b21\u7684\u60c5\u51b5\u4e0b\uff0c\u4ece\u7b2c\u4e8c\u6b21\u5f00\u59cb\u76f4\u63a5\u6cbf\u7528\u7f16\u8bd1\u597d\u7684\u6a21\u578b\uff0c\u4f46\u662f\u5982\u679c\u4e0a\u9762\u6709\u4efb\u4f55\u4e00\u4e2a\u53c2\u6570\u53d8\u4e86\uff0c\u6a21\u578b\u5c31\u9700\u8981\u91cd\u65b0\u7f16\u8bd1\u3002<br \/>\n\u6211\u6d4b\u8bd5\u8fde\u7eed\u753b\u56fe\uff0c\u4ece\u7b2c\u4e8c\u6b21\u5f00\u59cb\uff0c\u6bcf\u6b21\u753b\u56fe\u90fd\u6bd4\u7b2c\u4e00\u6b21\u5c11\u4e09\u56db\u5206\u949f\u7684\u65f6\u95f4\uff08640&#215;960\uff0c30 \u91c7\u6837\u6b65\u6570\uff09\uff0c\u8fd9\u4e2a\u4e0d\u7ba1\u6709\u6ca1\u6709\u52fe\u9009\u7f13\u5b58\u6a21\u578b\u90fd\u6709\u8fd9\u4e2a\u60c5\u51b5\u3002\u8fde\u7eed\u753b\u56fe\u7684\u65f6\u5019\uff0c\u7b2c\u4e00\u6b21\u91cd\u65b0\u7f16\u8bd1\u6a21\u578b\u662f\u4fdd\u5b58\u5728\u5185\u5b58\u4e2d\u7684\uff0c\u7b2c\u4e8c\u6b21\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u5185\u5b58\u4e2d\u7684\u6a21\u578b\u3002\u53ea\u662f\u4e00\u65e6\u5173\u95ed SD\uff0c\u5185\u5b58\u5c31\u56de\u6536\u4e86\uff0c\u6216\u8005\u4e2d\u95f4\u66f4\u6539\u53c2\u6570\u751f\u6210\u90fd\u4f1a\u91ca\u653e\u4e0a\u4e00\u6b21\u91cd\u65b0\u7f16\u8bd1\u751f\u6210\u7684\u6a21\u578b\u5360\u7528\u7684\u5185\u5b58\u3002\u52fe\u9009\u7f13\u5b58\u7684\u4f5c\u7528\u5c31\u662f\u5728\u5b8c\u6210\u91cd\u65b0\u7f16\u8bd1\u540e\uff0c\u4f1a\u628a\u7f16\u8bd1\u597d\u7684\u6a21\u578b\u4fdd\u5b58\u5230\u786c\u76d8\u4e2d\uff0c\u5982\u679c\u4e0b\u4e00\u6b21\u6709\u5339\u914d\u7684\u53c2\u6570\uff0c\u5c31\u4e0d\u9700\u8981\u91cd\u65b0\u751f\u6210\uff0c\u76f4\u63a5\u4ece\u786c\u76d8\u8bfb\u53d6\u52a0\u8f7d\u5230\u5185\u5b58\u4e2d\u3002<br \/>\n\u5b9e\u9645\u4f7f\u7528\u4e2d\u662f\u6709\u4e9b\u82db\u523b\u7684\uff0c\u540c\u4e00\u4e2a\u6a21\u578b\uff0c\u540c\u6837\u7684\u91c7\u6837\u5668\uff0c\u540c\u6837\u7684\u6279\u6b21\u4e66\uff0c\u540c\u6837\u7684\u56fe\u50cf\u5c3a\u5bf8\u90fd\u5b8c\u5168\u4e00\u6837\u7684\u60c5\u51b5\u4e0b\u624d\u80fd\u6cbf\u7528\u4ee5\u524d\u751f\u6210\u65f6\u91cd\u65b0\u7f16\u8bd1\u7684\u6a21\u578b\uff0c\u53ea\u8981\u6709\u53d8\u5316\u53c8\u4f1a\u91cd\u65b0\u7f16\u8bd1\u6a21\u578b\u3002\u6211\u4e5f\u662f\u7528\u4e86\u4e24\u4e09\u5929\u540e\u53d1\u73b0\u6211 SD \u6240\u5728\u7684\u786c\u76d8\u5c11\u4e86 100+ GB\uff0c\u7136\u540e\u5b9a\u4f4d\u5230 SD \u91cc\u9762\u6709\u4e2a cache \u6587\u4ef6\u5939\u5c31\u6709 100+ GB\uff0c\u91cc\u9762\u5c31\u662f\u7f13\u5b58\u7684\u91cd\u65b0\u7f16\u8bd1\u7684 OpenVINO \u6a21\u578b<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703916698888.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 586px; --smush-placeholder-aspect-ratio: 586\/306;\" \/><\/p>\n<p>\u6a21\u578b\u6570x\u91c7\u6837\u5668\u6570x\u5206\u8fa8\u7387\u5c3a\u5bf8\u6570\uff0c\u968f\u4fbf\u90fd\u80fd\u4ea7\u751f\u51e0\u5341\u79cd\u8d77\u6b65\u7684\u7ec4\u5408\uff0c\u4e00\u4e2a\u6a21\u578b\u5360\u7528\u51e0\u4e2a GB\uff0c\u53c2\u6570\u7ec4\u5408\u591f\u591a\u968f\u4fbf\u5360\u7528\u786c\u76d8\u51e0\u767e GB \u4e0d\u6210\u95ee\u9898\u3002\u5982\u679c\u786c\u76d8\u7a7a\u95f4\u8db3\u591f\uff0c\u5012\u662f\u53ef\u4ee5\u5f00\u7740\u7f13\u5b58\uff0c\u6548\u7387\u63d0\u9ad8\u8fd8\u662f\u633a\u660e\u663e\u7684\u3002\u8981\u4e48\u5c31\u53bb\u6389\u52fe\u9009\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703916775668.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 706px; --smush-placeholder-aspect-ratio: 706\/298;\" \/><\/p>\n<p>\u5efa\u8bae\u4f7f\u7528\u5e38\u7528\u7ec4\u5408\u7684\u65f6\u5019\u52fe\u9009\u7f13\u5b58\uff0c\u7ecf\u5e38\u4f7f\u7528\u7684\u6a21\u578b+\u91c7\u6837\u5668+\u56fe\u50cf\u5c3a\u5bf8\u6574\u4f53\u7ec4\u5408\u3002\u4e0d\u5e38\u7528\u7684\uff0c\u6d4b\u8bd5\u6027\u7684\u4e0d\u9700\u8981\u52fe\u9009\u3002\u6216\u8005\u624b\u52a8\u7ef4\u62a4\uff0ccache \u91cc\u6709\u4e2a model \u6587\u4ef6\u5939\uff0c\u7528\u65f6\u95f4\u6392\u5e8f\u5c31\u80fd\u5f88\u597d\u5206\u8fa8\uff0c\u6bcf\u6b21\u91cd\u65b0\u7f16\u8bd1\u7684\u6a21\u578b\u5b58\u50a8\u7684\u6587\u4ef6\u662f\u4e00\u5bf9\uff0c\u4e00\u4e2a bin \u6587\u4ef6\u548c\u4e00\u4e2a xml \u6587\u4ef6\uff0c\u624b\u52a8\u5220\u9664\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704440813712.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 736px; --smush-placeholder-aspect-ratio: 736\/464;\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"427_%3E%3E%3E%3E%3E%3E%3E%3E%3E%E6%94%BE%E5%BC%83%E6%8A%98%E8%85%BE_%E2%80%93_%E5%AF%B9%E7%AC%AC%E4%B8%89%E6%96%B9%E6%8F%92%E4%BB%B6%E4%B8%8D%E6%94%AF%E6%8C%81\"><\/span>4.2.7 &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;\u653e\u5f03\u6298\u817e &#8211; \u5bf9\u7b2c\u4e09\u65b9\u63d2\u4ef6\u4e0d\u652f\u6301<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>&#8212;2024.1.5 \u665a<\/p>\n<p>\u4e4b\u524d\u6d4b\u8bd5\u53d1\u73b0\u5206\u5757\u7ed8\u56fe\u7684\u4e00\u4e2a\u63d2\u4ef6\u65e0\u6cd5\u5728 OpenVINO \u7248\u4e0a\u4f7f\u7528\uff0c\u665a\u4e0a\u7a81\u7136\u53d1\u73b0 ControlNet \u5f00\u4e86\u4f46\u662f\u6ca1\u6709\u751f\u6548\uff0c\u6838\u663e\u7ed8\u56fe\u662f\u6b63\u5e38\u7684\uff0c\u4f46\u662f\u52fe\u9009\u4e86 ControlNet \u548c\u6ca1\u52fe\u9009\u6ca1\u6709\u4efb\u4f55\u533a\u522b\uff0c\u6d4b\u8bd5\u4e86\u591a\u4e2a ControlNet \u6a21\u578b\uff0c\u90fd\u6ca1\u6709\u5bf9\u7ed8\u56fe\u4ea7\u751f\u5f71\u54cd\u3002\u6240\u4ee5\u8fd9\u4e2a\u7248\u672c\u9664\u4e86 WebUI \u539f\u7248\u7684\u4e1c\u897f\u57fa\u672c\u90fd\u6ca1\u5565\u73a9\u7684\uff0c\u81f3\u5c11\u4e0d\u4f7f\u7528 OpenVINO \u52a0\u901f\u7684\u65f6\u5019\uff0c\u7eaf CPU \u90fd\u80fd\u4f7f\u7528 ControlNet\u3002<br \/>\n\u603b\u7ed3\u5c31\u662f OpenVINO \u7248\u7528\u6838\u663e\u52a0\u901f\u6bd4\u7eaf CPU \u5feb\u5f88\u591a\uff0c\u4e00\u822c\u80fd\u6709\u5341\u51e0\u500d\uff0c\u5c0f\u56fe\u5dee\u5f02\u4e0d\u660e\u663e\uff0c\u5927\u56fe CPU \u8dd1\u4e00\u4e24\u4e2a\u5c0f\u65f6\u7684\uff0c\u6838\u663e\u51e0\u5206\u949f\u641e\u5b9a\uff0c\u6211\u8fd9\u4e2a\u8fd8\u662f i5 \u7b2c 8 \u4ee3\u4f4e\u538b\u7248 CPU\uff08\u8f7b\u8584\u672c\uff09\uff0c\u7f3a\u70b9\u5c31\u662f\u5185\u5b58\u6d88\u8017\u7ffb\u500d\u4e86\uff0c\u6211\u6539\u5230 36G \u5185\u5b58\uff0c\u6781\u9650\u4e5f\u53ea\u80fd\u8dd1 750&#215;1000 \u7684\u50cf\u7d20\u4e2a\u6570\uff0c\u7eaf CPU \u8dd1\uff0c\u539f\u5148\u7684 20G \u5185\u5b58\u90fd\u591f\u3002\u518d\u5c31\u662f\u4e0a\u9762\u63d0\u5230\u7684\uff0c\u5bf9\u7b2c\u4e09\u65b9\u63d2\u4ef6\u652f\u6301\u4e0d\u597d\uff0c\u8981\u4e48\u662f\u4e0d\u652f\u6301\u62a5\u9519\uff0c\u8981\u4e48\u5c31\u662f\u6ca1\u62a5\u9519\uff0c\u4f46\u662f\u63d2\u4ef6\u6ca1\u8d77\u4f5c\u7528\uff0c\u8981\u4e48\u5c31\u8fd8\u662f\u7528 CPU \u5728\u8dd1\u63d2\u4ef6\u3002\u5b98\u65b9\u7684\u7ef4\u62a4\u4e5f\u4e0d\u79ef\u6781\uff0cIssues \u76ee\u524d\u603b\u5171\u5c31 22 \u4e2a\u95ee\u9898\uff0c\u4f46\u662f\u90fd\u5b58\u5728\u6ca1\u56de\u590d\u7684\uff0c\u53ef\u80fd Intel \u4e5f\u4e0d\u600e\u4e48\u91cd\u89c6\u5427\uff0c\u7528\u6237\u91cf\u53ef\u80fd\u90fd\u4e0d\u9ad8\u3002\u7efc\u4e0a\u6682\u65f6\u4e0d\u60f3\u73a9\u4e86\uff0c\u7b49\u540e\u9762\u6362\u7535\u8111\u518d\u73a9\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"43_%E8%B5%84%E6%BA%90\"><\/span>4.3 \u8d44\u6e90<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"431_%E6%A8%A1%E5%9E%8B\"><\/span>4.3.1 \u6a21\u578b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u4e00\u822c\u4e0b\u8f7d\u6a21\u578b\u5c31\u662f\u4e0b\u9762\u4e24\u4e2a\u7f51\u7ad9<\/p>\n<ul>\n<li><a href=\"https:\/\/civitai.com\/\">https:\/\/civitai.com\/<\/a><\/li>\n<li><a href=\"https:\/\/civitai.com\/\">https:\/\/civitai.com\/<\/a><\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"432_%E6%8F%92%E4%BB%B6\"><\/span>4.3.2 \u63d2\u4ef6<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u63d2\u4ef6\u53ef\u4ee5\u5728 WebUI \u91cc\u5728\u7ebf\u4e0b\u8f7d\uff0c\u901a\u8fc7\u7d22\u5f15\u6216\u6307\u5b9a\u4ed3\u5e93\u94fe\u63a5<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704014969772.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 928px; --smush-placeholder-aspect-ratio: 928\/242;\" \/><\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704020539635.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 772px; --smush-placeholder-aspect-ratio: 772\/319;\" \/><br \/>\n\u4e5f\u53ef\u4ee5\u624b\u52a8\u4e0b\u8f7d\u4e4b\u540e\u653e\u5230\u63d2\u4ef6\u76ee\u5f55<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704015011539.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 639px; --smush-placeholder-aspect-ratio: 639\/392;\" \/><\/p>\n<p>\u5728 WebUI \u7d22\u5f15\u91cc\u7684\u63d2\u4ef6\u53ef\u80fd\u53ea\u662f\u5c0f\u90e8\u5206\uff0c\u66f4\u591a\u8fd8\u662f\u8981\u53bb GitHub \u627e\u3002<\/p>\n<p>\u4e0b\u9762\u5217\u4e3e\u4e00\u4e9b\u6211\u6298\u817e\u8fc7\u7684\u63d2\u4ef6\uff1a<\/p>\n<ul>\n<li>\n<p>ControlNET\uff1a\u53ef\u4ee5\u8f85\u52a9\u63a7\u5236\uff0c\u6bd4\u5982\u53ef\u4ee5\u901a\u8fc7\u9aa8\u67b6\u63a7\u5236\u751f\u6210\u4eba\u7269\u7684\u59ff\u52bf\uff0c\u5176\u5b83\u7684\u5982\u4e0b\u56fe<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1703949186959.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 843px; --smush-placeholder-aspect-ratio: 843\/197;\" \/><\/p>\n<\/li>\n<li>\n<p>Inpaint-Anything\uff1a\u6211\u89c9\u5f97\u6700\u5927\u7684\u4eae\u70b9\u662f\u53ef\u4ee5\u81ea\u52a8\u8499\u7248\uff0c\u8fd9\u4e2a\u4e1c\u897f\u53ef\u4ee5\u8fdb\u884c\u8fb9\u7f18\u8bc6\u522b\uff0c\u628a\u56fe\u50cf\u4e2d\u7684\u5143\u7d20\u5206\u5272\uff0c\u7136\u540e\u53ef\u4ee5\u76f4\u63a5\u9009\u62e9\u8bc6\u522b\u51fa\u7684\u5143\u7d20\u751f\u6210\u8499\u7248\uff0c\u7ed3\u5408\u5c40\u90e8\u7ed8\u5236\u5f88\u4e0d\u9519\u3002\u6bd4\u5982\u6362\u8863\u670d\u7b49\u7b49\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704012149596.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 999px; --smush-placeholder-aspect-ratio: 999\/692;\" \/><\/p>\n<\/li>\n<li>\n<p>Image browser\uff1a\u56fe\u7247\u6d4f\u89c8\u5668\uff0c\u65b9\u4fbf\u5728 WebUI \u7edf\u4e00\u7ba1\u7406\u751f\u6210\u7684\u56fe\u7247\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704012231482.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 999px; --smush-placeholder-aspect-ratio: 999\/550;\" \/><\/p>\n<\/li>\n<li>\n<p>Booru tag autocompletion prompting\uff1a\u63d0\u793a\u8bcd\u63d0\u793a\u8865\u5168\uff0c\u8f85\u52a9\u63d0\u793a\u8bcd\u8f93\u5165\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704013242225.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 306px; --smush-placeholder-aspect-ratio: 306\/297;\" \/><\/p>\n<\/li>\n<li>\n<p>WD 14 Tagger\uff1a\u7531\u56fe\u7247\u53cd\u63a8\u63d0\u793a\u8bcd\uff0c\u6548\u679c\u6bd4\u56fe\u751f\u56fe\u91cc\u81ea\u5e26\u7684\u66f4\u597d\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704013351378.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 999px; --smush-placeholder-aspect-ratio: 999\/590;\" \/><\/p>\n<\/li>\n<li>\n<p>Civitai Helper\uff1a\u53ef\u4ee5\u628a\u6a21\u578b Civitai \u94fe\u63a5\u653e\u8fdb\u53bb\uff0c\u76f4\u63a5\u4e0b\u8f7d\uff0c\u514d\u53bb\u624b\u52a8\u4e0b\u8f7d\u540e\u79fb\u52a8\u6587\u4ef6\u5230\u6a21\u578b\u76ee\u5f55\uff0c\u53e6\u5916\u652f\u6301\u540c\u6b65\u9884\u89c8\u56fe\u548c\u6a21\u578b\u4fe1\u606f\u7b49\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704293539774.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 900px; --smush-placeholder-aspect-ratio: 900\/274;\" \/><br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704020480106.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 999px; --smush-placeholder-aspect-ratio: 999\/467;\" \/><\/p>\n<\/li>\n<li>\n<p>multidiffusion-upscaler-for-automatic1111\uff1a\u5bf9\u4e8e\u72ec\u7acb\u663e\u5361\u7528\u6237\uff0c\u5982\u679c\u663e\u5b58\u6bd4\u8f83\u5c0f\u7684\uff0c\u8fd9\u4e2a\u63d2\u4ef6\u4f1a\u5341\u5206\u6709\u7528\uff0c\u53ef\u4ee5\u628a\u56fe\u7247\u62c6\u5206\u4e3a\u5f88\u591a\u5c0f\u5757\u5206\u522b\u7ed8\u5236\u518d\u62fc\u63a5\uff0c\u7528\u65f6\u95f4\u6362\u7a7a\u95f4\uff0c\u5c0f\u663e\u5b58\u4e5f\u80fd\u753b\u5927\u56fe\u3002\u81f3\u4e8e\u6838\u663e\uff0c\u6211\u5df2\u7ecf\u8bd5\u8fc7\u597d\u51e0\u6b21\u4e86\uff0c\u6bcf\u6b21\u5361\u4e00\u4e24\u4e2a\u5c0f\u65f6\uff0c\u6700\u540e\u5931\u8d25\uff0cOpenVINO \u7248\u95ee\u9898\u8fd8\u633a\u591a\u7684\uff0c\u8fd9\u4e2a\u63d2\u4ef6\u5bf9\u4e8e\u6838\u663e\u7528\u6237\u6ca1\u7528\u3002\u4e0d\u5982\u76f4\u63a5\u62ff CPU \u753b\uff0cCPU \u753b\u56fe\u786e\u5b9e\u6162\uff0c\u4f46\u662f\u6bd4\u7528\u6838\u663e\u5360\u7528\u7684\u5185\u5b58\u660e\u663e\u7684\u4f4e\uff0c\u665a\u4e0a\u7761\u89c9\u6302\u7740\u753b\u5927\u56fe\u4e5f\u8fd8\u884c\u3002<\/p>\n<\/li>\n<li>\n<p>ADetailer\uff1a\u53ef\u4ee5\u7528\u4e8e\u4fee\u590d\u8138\u3001\u624b\u5d29\u7684\u95ee\u9898\uff0c\u4ee5\u53ca\u589e\u52a0\u7ec6\u8282\uff0cADetailer \u4f5c\u7528\u65f6\u4e0d\u652f\u6301\u6838\u663e\uff0c\u4e0d\u8fc7\u597d\u5728\u8d77\u4f5c\u7528\u7684\u8138\u90e8\u3001\u624b\u90e8\u7b49\u90fd\u662f\u5c0f\u533a\u57df\uff0cCPU \u7ed8\u5236\u4e5f\u7528\u4e0d\u4e86\u592a\u4e45\u3002<br \/>\n\u6bd4\u5982\u4e0b\u9762\u5de6\u56fe\uff0c\u56e0\u4e3a\u5185\u5b58\u6709\u9650\u7684\u539f\u56e0\uff0c\u753b\u7684\u65f6\u5019\u548c Lora \u793a\u4f8b\u7684 2K \u5c3a\u5bf8\u5dee\u592a\u591a\uff0c\u8138\u90e8\u91c7\u6837\u4e0d\u591f\u5c31\u753b\u5d29\u4e86\uff0c\u53f3\u8fb9\u7528\u8fd9\u4e2a\u63d2\u4ef6\u4fee\u590d\u7684\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704123633052.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 784px; --smush-placeholder-aspect-ratio: 784\/287;\" \/><\/p>\n<\/li>\n<li>\n<p>Oldsix Pprompt\uff1a\u9009\u62e9\u4e2d\u6587\u63d0\u793a\u8bcd\u53ef\u4ee5\u6dfb\u52a0\u5bf9\u5e94\u7684\u82f1\u6587\u63d0\u793a\u8bcd\uff0c\u5de6\u952e\u63d0\u793a\u8bcd\uff0c\u53f3\u952e\u53cd\u5411\u63d0\u793a\u8bcd\uff0c\u4e5f\u652f\u6301\u81ea\u5b9a\u4e49\u4e2d\u6587\u7ffb\u8bd1\u82f1\u6587\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704181589023.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 999px; --smush-placeholder-aspect-ratio: 999\/367;\" \/><\/p>\n<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"%E9%83%A8%E7%BD%B2%E5%88%B0%E7%A7%BB%E5%8A%A8%E7%A1%AC%E7%9B%98\"><\/span>\u90e8\u7f72\u5230\u79fb\u52a8\u786c\u76d8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u4f7f\u7528\uff0c\u53ef\u4ee5\u505a\u4e00\u4e2a\u6574\u5408\u5305\u3002\u6bd4\u5982\u6211\u8fd9\u91cc\u628a SD \u90e8\u7f72\u5230\u79fb\u52a8\u786c\u76d8\u4e0a\uff0c\u53ea\u8981\u5e26\u7740\u786c\u76d8\uff0c\u6362\u53f0\u7535\u8111\u63d2\u4e0a\u4e5f\u80fd\u76f4\u63a5\u7528\u3002<\/p>\n<p>SD \u6709\u4e24\u4e2a\u5916\u90e8\u4f9d\u8d56\u9879 Python \u548c Git\uff0c\u53ea\u8981\u628a\u8fd9\u4e24\u4e2a\u548c SD \u653e\u5230\u4e00\u5806\uff0c\u6574\u4f53\u5c31\u80fd\u968f\u65f6\u79fb\u52a8\u4e86\uff0c\u4ee3\u7406\u8f6f\u4ef6\u4e5f\u53ef\u4ee5\u653e\u5230\u4e00\u8d77\u3002<\/p>\n<p>\u6211\u5728\u79fb\u52a8\u786c\u76d8\u4e0a\u521b\u5efa\u4e86\u4e00\u4e2a\u6587\u4ef6\u5939\u540d\u4e3a SD\uff0c\u7528\u4e8e\u5b58\u653e\u6574\u5408\u5305<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704201085161.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 647px; --smush-placeholder-aspect-ratio: 647\/450;\" \/><\/p>\n<p>\u5728\u5b89\u88c5 Python \u7684\u65f6\u5019\u53ef\u4ee5\u770b\u5230\u9ed8\u8ba4\u6216\u8005\u81ea\u884c\u9009\u62e9\u5b89\u88c5\u7684\u8def\u5f84\uff0c\u5b89\u88c5\u540e\uff0c\u524d\u5f80\u5bf9\u5e94\u8def\u5f84<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704201242897.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 639px; --smush-placeholder-aspect-ratio: 639\/655;\" \/><\/p>\n<p>\u628a Python \u6574\u4e2a\u6587\u4ef6\u5939\u590d\u5236\u5230\u79fb\u52a8\u786c\u76d8\u4e0a\u521b\u5efa\u7684\u6587\u4ef6\u5939\u91cc\u3002\u540c\u6837\u65b9\u5f0f\u627e\u5230 Git \u5b89\u88c5\u540e\u7684\u6587\u4ef6\u5939\uff0c\u4e5f\u590d\u5236\u5230\u79fb\u52a8\u786c\u76d8\u4e0a\u521b\u5efa\u7684\u6587\u4ef6\u5939\u91cc\u3002SD \u4e5f\u653e\u5230\u8fd9\u91cc\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704201534564.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 687px; --smush-placeholder-aspect-ratio: 687\/593;\" \/><br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704201563983.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 676px; --smush-placeholder-aspect-ratio: 676\/264;\" \/><\/p>\n<p>\u7136\u540e\u8fdb\u5165 SD \u76ee\u5f55\uff0c\u7f16\u8f91 webui-user.bat \u6587\u4ef6\uff08\u542f\u52a8\u811a\u672c\uff09<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704201671765.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 691px; --smush-placeholder-aspect-ratio: 691\/677;\" \/><\/p>\n<p>\u8fd9\u4e2a\u542f\u52a8\u811a\u672c\u672c\u8eab\u4e5f\u63d0\u4f9b\u4e86 Python \u548c Git \u7684\u8def\u5f84\u53d8\u91cf\uff0c\u628a python.exe \u548c git.exe \u7684\u8def\u5f84\u5199\u4e0a\u53bb\u5c31\u884c\uff0c\u201c..\\\u201d\u4ee3\u8868\u4e0a\u7ea7\u76ee\u5f55\uff0c\u7528\u76f8\u5bf9\u8def\u5f84\uff0c\u5373\u4f7f\u6362\u53f0\u7535\u8111\u79fb\u52a8\u786c\u76d8\u7684\u76d8\u7b26\u53d8\u4e86\uff0c\u4e5f\u4e0d\u7528\u4fee\u6539\u3002<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1704202149949.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 560px; --smush-placeholder-aspect-ratio: 560\/352;\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E4%BB%A3%E7%90%86\"><\/span>\u4ee3\u7406<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5982\u679c\u8bbe\u7f6e\u7cfb\u7edf\u4ee3\u7406\u5bf9 CMD \u4e0d\u751f\u6548\uff0c\u8fd8\u53ef\u4ee5\u7f16\u8f91 webui-user.bat \u589e\u52a0<\/p>\n<pre><code class=\"language-bash\">set http_proxy=http:\/\/\u4ee3\u7406\u5730\u5740:\u7aef\u53e3\nset https_proxy=http:\/\/\u4ee3\u7406\u5730\u5740:\u7aef\u53e3\nset no_proxy=localhost,127.0.0.1,::1<\/code><\/pre>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/12\/image-1746187898882.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 665px; --smush-placeholder-aspect-ratio: 665\/314;\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1 \u524d\u8a00 \u6211\u7b14\u8bb0\u672c\u7535\u8111\u7684\u72ec\u663e\u4e0a\u534a\u5e74\u7684\u65f6\u5019\u70e7\u6389\u4e86\uff0c\u6240\u4ee5\u53ea\u80fd\u7528 CPU\uff08\u6216\u6838\u663e\uff09\uff0c\u6298\u817e\u4e86\u4e00\u4e0b\u5348\u603b\u7b97\u7ed9\u914d\u7f6e\u51fa\u6765\u4e86\u3002\u6211 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":"","zakra_menu_item_active_color":"","zakra_menu_active_style":"","zakra_page_header":true,"_lmt_disableupdate":"no","_lmt_disable":"no","footnotes":""},"categories":[642,1,643,594],"tags":[821,826,824,823,825,820,686,827,831,830,746,822,828,829,833,832],"class_list":["post-12345","post","type-post","status-publish","format-standard","hentry","category-aigc","category-all","category-stable-diffusion","category-594","tag-cpu-","tag-git-","tag-intel-","tag-openvino","tag-python-","tag-stable-diffusion-webui","tag-windows-11","tag-827","tag-831","tag-830","tag-746","tag-822","tag-828","tag-829","tag-833","tag-832"],"modified_by":"IYATT-yx","_links":{"self":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/12345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12345"}],"version-history":[{"count":1,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/12345\/revisions"}],"predecessor-version":[{"id":19936,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/12345\/revisions\/19936"}],"wp:attachment":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}