{"id":38063,"date":"2025-06-29T09:25:34","date_gmt":"2025-06-29T01:25:34","guid":{"rendered":"https:\/\/www.1ai.net\/?p=38063"},"modified":"2025-06-22T13:28:21","modified_gmt":"2025-06-22T05:28:21","slug":"%e4%b8%80%e6%ad%a5%e4%b8%80%e6%ad%a5%e6%95%99%e4%bd%a0%e6%9c%ac%e5%9c%b0%e9%83%a8%e7%bd%b2comfyui%ef%bc%8c%e5%9c%a8%e8%87%aa%e5%b7%b1%e7%94%b5%e8%84%91%e4%b8%8a%e4%bd%bf%e7%94%a8ai%e7%bb%98%e7%94%bb","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/38063.html","title":{"rendered":"Step by step guide to deploy comfyUI locally and use AI drawing tools on your own computer"},"content":{"rendered":"<p>I. Preface<\/p>\n<p>Want to deploy locally<a href=\"https:\/\/www.1ai.net\/en\/tag\/comfyui\" title=\"_Other Organiser\" target=\"_blank\" >ComfyUI<\/a>In theory, it is possible to run ComfyUI with a CPU without a graphics card.<\/p>\n<p>But running is running, and running AI purely on the CPU is very, very, very slow.<\/p>\n<p>So if you're going to run comyUI with a CPU, it's just a figure of speech that opens up, with no arbitrary practical significance.<\/p>\n<p>Regarding graphics card requirements, the configuration to run ComfyUI is a bit lower than stableDiffusion, a minimum 3G graphics card will be able to run it.<\/p>\n<p>If you want to run comfyUI smoothly, you need at least 8G graphics card.<\/p>\n<p>If you also want to run flux models, a video card of at least 12G is recommended.<\/p>\n<p>The most important thing to remember is to always use an nvidia graphics card.<\/p>\n<p>II. Installation requirements<\/p>\n<p>1, AMD graphics card can install comfyUI?<\/p>\n<p>The link below is the official page for comfyUI<\/p>\n<p>https:\/\/github.com\/comfyanonymous\/comfyui<\/p>\n<p>As you can see at the bottom of the page, AMD graphics cards that want to run comfyUI can only do so on a Linux installation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38068\" title=\"fea0fc72j00sy8sd3000ud000j5007dm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/fea0fc72j00sy8sd3000ud000j5007dm.jpg\" alt=\"fea0fc72j00sy8sd3000ud000j5007dm\" width=\"689\" height=\"265\" \/><\/p>\n<p>2\u3001Can Apple computer install comfyUI?<\/p>\n<p>It is possible to install comfyUI on Apple computers, but it is also slower than it should be.<\/p>\n<p>In particular, there will be a lot of plugins that won't work.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38064\" title=\"e58b2378j00sy8sd3001dd000j4008dm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/e58b2378j00sy8sd3001dd000j4008dm.jpg\" alt=\"e58b2378j00sy8sd3001dd000j4008dm\" width=\"688\" height=\"301\" \/><\/p>\n<p>So, to play comfyUI, only nvidia graphics cards are recommended, although AMD graphics cards and Apple computers can play it, but they are not recommended.<\/p>\n<p>III. Installation of integration packages<\/p>\n<p>1\u3001Download the integration package<\/p>\n<p>Currently there are two mainstream installation methods for comfyUI: one is to download the official integration package from comfyUI's official website, and the other is to use Autumn Leaf's integration package.<\/p>\n<p>(1) Official Integration Pack:<\/p>\n<p>https:\/\/github.com\/comfyanonymous\/ComfyUI\/releases\/latest\/download\/ComfyUI_windows_portable_nvidia.7z<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38066\" title=\"7115a6f1j00sy8sd40023d000lr00g6m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/7115a6f1j00sy8sd40023d000lr00g6m.jpg\" alt=\"7115a6f1j00sy8sd40023d000lr00g6m\" width=\"783\" height=\"582\" \/><\/p>\n<p>(2) Autumn Leaves Integration Pack Address:<\/p>\n<p>https:\/\/pan.quark.cn\/s\/64b808baa960<\/p>\n<p>Decryption code: bilibili-Akiba aaaki<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38067\" title=\"1863949ej00sy8sd40012d000t400bzm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/1863949ej00sy8sd40012d000t400bzm.jpg\" alt=\"1863949ej00sy8sd40012d000t400bzm\" width=\"1048\" height=\"431\" \/><\/p>\n<p>2. Unpack the integration package<\/p>\n<p>Whether you're using the official integration pack, or the Autumn Leaves integration pack, be sure to put it in a pure Chinese path with no Chinese or special symbols after unzipping.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38065\" title=\"990fb0f1j00sy8sd3001fd000kw0094m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/990fb0f1j00sy8sd3001fd000kw0094m.jpg\" alt=\"990fb0f1j00sy8sd3001fd000kw0094m\" width=\"752\" height=\"328\" \/><\/p>\n<p>IV. How to use the integration package<\/p>\n<p>1\u3001Official integration package<\/p>\n<p>double-click the running document with the word \u201ccpu\u201d after depression is run by cpu and by gpu with the word \u201cgpu\u201d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38069\" title=\"1a053b96j00sy8sd3000td000hw008tm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/1a053b96j00sy8sd3000td000hw008tm.jpg\" alt=\"1a053b96j00sy8sd3000td000hw008tm\" width=\"644\" height=\"317\" \/><\/p>\n<p>After clicking Run, a black command line window will pop up. comfyUI should not be closed the entire time it is working.<\/p>\n<p>Note here: the process of installing and deploying and the later node installations require that you turn on scientific internet access.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38071\" title=\"90759f64j00sy8sd4000od000r700e8m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/90759f64j00sy8sd4000od000r700e8m.jpg\" alt=\"90759f64j00sy8sd4000od000r700e8m\" width=\"979\" height=\"512\" \/><\/p>\n<p>After the startup is finished, don't close the command line and open the following address in your browser to open the comfyUI working interface.<\/p>\n<p>The interface that opens is a comfyUI basic Vincentian diagram workflow, which reports an error when run because we haven't downloaded the model.<\/p>\n<p>http:\/\/127.0.0.1:8188\/<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38072\" title=\"ca9a6278j00sy8sd4003ed000u000j0m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/ca9a6278j00sy8sd4003ed000u000j0m.jpg\" alt=\"ca9a6278j00sy8sd4003ed000u000j0m\" width=\"1080\" height=\"684\" \/><\/p>\n<p>2. Autumn Leaves Integration Pack<\/p>\n<p>The Autumn Leaves Integration Pack does a little better than the official integration pack in terms of ease of use, it not only integrates comfyUI into the launcher, but also integrates environments and commonly used nodes, etc., which saves us from having to download and install them one by one.<\/p>\n<p>So, we'll be working with the Autumn Leaves Integration Pack from now on.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38070\" title=\"52cac305j00sy8sd400bwd000u000irm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/52cac305j00sy8sd400bwd000u000irm.jpg\" alt=\"52cac305j00sy8sd400bwd000u000irm\" width=\"1080\" height=\"675\" \/><\/p>\n<p>(1) Versioning<\/p>\n<p>comfyUI is updated very quickly, and with the Autumn Leaves Integration Pack, we can easily switch to the latest version.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38073\" title=\"0a641215j00sy8sd4006zd000u000irm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/0a641215j00sy8sd4006zd000u000irm.jpg\" alt=\"0a641215j00sy8sd4006zd000u000irm\" width=\"1080\" height=\"675\" \/><\/p>\n<p>(2) Plug-in management<\/p>\n<p>Many commonly used plug-ins have been integrated in the Autumn Leaves Integration Pack, and we can easily download and manage plug-ins through the integration pack.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38074\" title=\"c82b4f89j00sy8sd400dbd000u000irm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/c82b4f89j00sy8sd400dbd000u000irm.jpg\" alt=\"c82b4f89j00sy8sd400dbd000u000irm\" width=\"1080\" height=\"675\" \/><\/p>\n<p>(3) Chinese language interface<\/p>\n<p>Click \"Start\" to run comfyUI.<\/p>\n<p>The newly opened comfyUI is in English and can be found with the set button at the lower left corner to change the language to Chinese\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38076\" title=\"e89d5b0aj00sy8sd4004ld000u000jem\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/e89d5b0aj00sy8sd4004ld000u000jem.jpg\" alt=\"e89d5b0aj00sy8sd4004ld000u000jem\" width=\"1080\" height=\"698\" \/><\/p>\n<p>(4) Shared SD model<\/p>\n<p>The comfyUI that you just installed does not contain the model, if you installed SD before, you can call the model from SD directly.<\/p>\n<p>Come to the \"comfyUI\" folder, find \"extra_model_paths.yaml.example\", delete the extension and change it to \"extra_model_paths.yaml\", then this folder is officially valid. model_paths.yaml\", and the folder is now official.<\/p>\n<p>There are also changes to be made to the contents of the file below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38077\" title=\"93a1419fj00sy8sd3001gd000is00g8m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/93a1419fj00sy8sd3001gd000is00g8m.jpg\" alt=\"93a1419fj00sy8sd3001gd000is00g8m\" width=\"676\" height=\"584\" \/><\/p>\n<p>Open the \"extra_model_paths.yaml\" file with notepad, and replace the content in the red box with your SD installation path, so that comfyUI can share the big models, VAE, lora and other models installed in your SD.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38078\" title=\"a3556df5j00sy8sd40012d000qg00h7m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/a3556df5j00sy8sd40012d000qg00h7m.jpg\" alt=\"a3556df5j00sy8sd40012d000qg00h7m\" width=\"952\" height=\"619\" \/><\/p>\n<p>The path to the controlnet model should be mentioned separately here, and the settings in the file should be changed as below in order to share the model in the SD folder properly.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38075\" title=\"66f8f769j00sy8sd40014d000k400gzm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/66f8f769j00sy8sd40014d000k400gzm.jpg\" alt=\"66f8f769j00sy8sd40014d000k400gzm\" width=\"724\" height=\"611\" \/><\/p>\n<p>After setting, save the \"extra_model_paths.yaml\" file and restart comfyUI.<\/p>\n<p>At this point click Run again and we are ready to create AI paintings.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38079\" title=\"da65da92j00sy8sd4004xd000u000bnm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/da65da92j00sy8sd4004xd000u000bnm.jpg\" alt=\"da65da92j00sy8sd4004xd000u000bnm\" width=\"1080\" height=\"419\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>I. Foreword: The local deployment of ComfyUI, theoretically without a graphic card, can also run ComfyUI with CPU. But running back, running back with the CPU is very, very slow, so if you're going to run back with the CPU, that's the one that can be opened, it doesn't matter. With regard to the card requirements, the configuration of running ComfyUI is lower than that of stable Diffusion, so that the minimum 3G graphic card can run. If you want to run the cofyUI, you need at least 8G or more. If you want to run a flex model, recommend at least 12G or more. The most important thing is to use nvidia's graphic cards. II. Installation requirements 1<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149,144],"tags":[504,1989,4749],"collection":[],"class_list":["post-38063","post","type-post","status-publish","format-standard","hentry","category-jiaocheng","category-baike","tag-ai","tag-comfyui"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/38063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/comments?post=38063"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/38063\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=38063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=38063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=38063"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=38063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}