{"id":55814,"date":"2026-08-28T10:43:12","date_gmt":"2026-08-28T02:43:12","guid":{"rendered":"https:\/\/www.1ai.net\/?p=55814"},"modified":"2026-08-11T15:12:25","modified_gmt":"2026-08-11T07:12:25","slug":"comfyui-%e4%bb%8e%e5%ae%89%e8%a3%85%e5%85%a5%e9%97%a8%e5%88%b0%e7%b2%be%e9%80%9a%ef%bc%8c%e5%b7%a5%e4%bd%9c%e6%b5%81%e5%a4%8d%e7%94%a8-%e4%ba%91%e7%ab%af%e8%b7%91%ef%bc%88%e6%9c%ac%e5%9c%b0%e6%98%be","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/55814.html","title":{"rendered":"ComfyUI from installation to master, re-use for work + cloud run (local graphic cards are not enough to come out)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55832\" title=\"68bc142cj00tjlfsu00m3d000os00e4p\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2026\/08\/68bc142cj00tjlfsu00m3d000os00e4p.jpg\" alt=\"68bc142cj00tjlfsu00m3d000os00e4p\" width=\"892\" height=\"508\" \/><\/p>\n<p>In the previous 18 articles, I told you about the machines, the Ventura, the TowerNet, LoRA, and a list of downgrades for you. As soon as the article came out, the first person in the comment section said:<\/p>\n<p>\"It's not the memory that creates the explosion. What's the use of your list? I'm sorry<\/p>\n<p>I had a moment because he was right. It's my first time <a href=\"https:\/\/www.1ai.net\/en\/tag\/comfyui\" title=\"_Other Organiser\" target=\"_blank\" >ComfyUI<\/a> Runchart video, a five-second little piece, ran to half the whole software card. Cut to the task manager<strong>32G, MEMORY FULL. THE SYSTEM KILLED THE PROCESS<\/strong>I don't know. At first I thought it was a graphic card<strong>IT'S RAM, NOT VRAM\u3002<\/strong><\/p>\n<p>So this one is about the memory of video production. And just in time, ComfyUI is\u00a0<strong>v0.29<\/strong>\u00a0It quietly changed one place and filled most of the pit\u3002<\/p>\n<p><strong>I. Video decoding. Why eat memory like this<\/strong><\/p>\n<p>YOU GENERATE A VIDEO, AND THE LAST STEP IS: VAE DECODES THE SUBSPACE INTO ONE FRAME, THEN THESE FRAMES<strong>encoding as mp4 into hard drive<\/strong>.<\/p>\n<p>The old version is stupid: it starts with the<strong>Every frame<\/strong>ALL ARE STORED IN THE SYSTEM (RAM), AND ONCE ALL THE FRAMES ARE IN PLACE, ANOTHER ENCODED DISK. THE PROBLEM IS ON THIS \"CORRESPONDING\" -- THE MINUTE THE MEMORY IS BLOWN UP AS SOON AS THE FRAME NUMBERS X RESOLUTION GO UP\u3002<\/p>\n<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>take<\/td>\n<td>Memory pressure (estimate, unrun)<\/td>\n<td>clarification<\/td>\n<\/tr>\n<tr>\n<td>5 SECONDS . 480P<\/td>\n<td>Small<\/td>\n<td>Less frame, less pressure<\/td>\n<\/tr>\n<tr>\n<td>10 SEC 720P<\/td>\n<td>Significant increase<\/td>\n<td>Frame x resolution takes off, memory goes up<\/td>\n<\/tr>\n<tr>\n<td>Video input (Turson video reference)<\/td>\n<td>Same memory<\/td>\n<td>The decoded reference video will also buffer the entire frame<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>And it's not just the \"out of video\" step. You use it<strong>Video input<\/strong>The decoded reference video also buffers all frames into the memory, with the same size\u3002<\/p>\n<p><strong>ii. v0.29 changed: video flow code<\/strong><\/p>\n<p>ComfyUI\u00a0<strong>v. 0.29.0<\/strong>2026-07-29 published) In the chapter of Performance &amp; Stability, this section has been specially adapted. Official PR describes it as:<\/p>\n<p>Video transport (PR #14813)<\/p>\n<p>It's just a translation:<strong>The video transcoder was converted to a fluid treatment - each frame is no longer buffered into memory\u3002<\/strong>It's called \"Salvaging All Frames and Writing Discs\", it's now \"Generating One Frame, Writing One Frame, Release One Frame\" and the memory always leaves only a small amount of frame currently being processed. Long video, high resolution benefits the most, as memory occupancy no longer surges with frames\u3002<\/p>\n<p>along with v0.29, there are two other things related to memory\/ resource that deserve to be mentioned:<\/p>\n<p>1.\u00a0<strong>BACKSTAGE MEMORY LIMIT DEFAULT REFERS TO 128GB<\/strong>(PR #15068) The upper limit of the CofyUI backstage occupancy system is raised, and large memory machines are less likely to be crushed by it\u3002<br \/>\n2.\u00a0<strong>Comfy Kitchen More Int8 Optimise<\/strong>(PR #14980): Int8 quantifying this road earlier (v 0.27 enters the main line), v0.29 is continuing to grind<strong>It's not new<\/strong>\u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002 \u3002<\/p>\n<p><strong>Integrity:<\/strong>IT'S CALLED \"VIDEO FLOW-CLASSED MEMORY\" WHICH I SAW AS A MECHANISM IMPROVEMENT FROM THE OFFICIAL PR DESCRIPTION<strong>We're not running on the card<\/strong>Super-long video was compared back and forth, with no public figures for the specific drop. But in principle, long video, high-resolution scenes benefit most; you can feel it when you upgrade\u3002<\/p>\n<p><strong>iii. Easy to mix: This is saving memory, not saving memory<\/strong><\/p>\n<p>Part 18 <a href=\"https:\/\/www.1ai.net\/en\/55813.html\/\">What about ComfyUI, from installation to mastery? A list of downgrades by priority<\/a> IT'S VRAM, IT'S MEMORY. THEY'RE NOT THE SAME:<\/p>\n<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>Symptom<\/td>\n<td>Gene<\/td>\n<td>Which one<\/td>\n<\/tr>\n<tr>\n<td>CUDA out of memory<\/td>\n<td>MODEL \/ VAE CANNOT LOAD VISIBLE<\/td>\n<td>List of downgrades<\/td>\n<\/tr>\n<tr>\n<td>Process systematically killed \/ card killed<\/td>\n<td>Frame buffer full memory<\/td>\n<td>title (iv. 0.29.2)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Video generation is a double-pressure \"Standing + Memory\" scene. A lot of people just show up, and they fall, and it's the half of the memory\u3002<\/p>\n<p>clean loop: upgrade to v.29.2 and run a long video (do it now)<\/p>\n<p>Let's get to the point. This one's real. After you've got another video, \"Doesn't fail under a long video,\" you'll be able to confirm that the current code actually works\u3002<\/p>\n<p><strong>Preconditions<\/strong>: You've been running videos to generate workflows (Van, HunyuanVideo, or trinking nodes). Dropped: Basic Textile Chain (Page 05) + Video-related Node (Load Video \/ VAE Encode \/ Decode + Video Encoding Node)\u3002<br \/>\n<strong>Target<\/strong>: Raise ComfyUI to v.29.2 and rerun a video of \"intentionally lengthening\" with a more stable memory occupancy and no further collapse\u3002<\/p>\n<p>Step (sight, don't jump):<br \/>\n1.\u00a0<strong>Update ComfyUI<\/strong>: Desktop Dot \"Check Update\" upgrade; Git release restarts after ComfyUI directory guit pull\u3002<br \/>\n2.\u00a0<strong>Confirm Version<\/strong>: Menu Help \u2192 About, see version number V0.29.2 (2026-07-31 latest stable version)\u3002<br \/>\n3.\u00a0<strong>Rerun Video Workstream<\/strong>, THIS TIME INTENTIONALLY PULLS OUT MEMORY PRESSURE FOR A LONG TIME OR AT A RESOLUTION (5 SECONDS \u219210 SECONDS, OR 480 P \u2192720P)\u3002<br \/>\n4.\u00a0<strong>Look at the memory curve<\/strong>: With the task manager on, the old version will increase steeply at the end of the generation, and the new version should be much more flat and no longer flush\u3002<\/p>\n<p><strong>Checkpoint<\/strong><br \/>\n1 About displays v.29.2; long video runs and dies<br \/>\n2 Common error = an updated plugin with an error \"Node Not Found\" plugin needs to be reloaded \/ updated (updated in Manager); or an additional 18 downgrade list is not visible enough<br \/>\n3 still collapses, either memory or display double pressure, to see part 18 in the half; memory still closes to start-up parameters \u2013cache-none<br \/>\n4 Video came out but the resolution\/ step question is not a transcode\u3002<\/p>\n<p>Job (chosen): The same video, one before and after the upgrade, tells me what the difference is in the memory peak -- I'm curious to know how much you can save\u3002<\/p>\n<p><strong>iv. Parameter speed sheets (video memory relevant, copying)<\/strong><\/p>\n<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>take<\/td>\n<td>Recommendations<\/td>\n<td>Remark<\/td>\n<\/tr>\n<tr>\n<td>SHORT CLIP (&lt;5 SECONDS 480P)<\/td>\n<td>It doesn't make any difference<\/td>\n<td>Less frame, less pressure<\/td>\n<\/tr>\n<tr>\n<td>Long Snippet (&gt;10 seconds)<\/td>\n<td>i have to go to v.29.2<\/td>\n<td>Fluid transcode yields the most<\/td>\n<\/tr>\n<tr>\n<td>HIGH RESOLUTION (720 P+)<\/td>\n<td>ig v0.29.2 + 18 visible decline<\/td>\n<td>Memory + Visible Double Pressure<\/td>\n<\/tr>\n<tr>\n<td>Video input (Turson video reference)<\/td>\n<td>l v.29.2<\/td>\n<td>It's also good to decode<\/td>\n<\/tr>\n<tr>\n<td>Memory remains tight (extreme environment)<\/td>\n<td>add -cache-none<\/td>\n<td>Uncut intermediate results, save memory exchange speed<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>v. Contrast of start-up parameters (RAM, copying)<\/strong><\/p>\n<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>parameter<\/td>\n<td>corresponds English -ity, -ism, -ization<\/td>\n<td>For what<\/td>\n<\/tr>\n<tr>\n<td>(default)<\/td>\n<td>v0.29 streaming code is open<\/td>\n<td>up to v. 0.29.2<\/td>\n<\/tr>\n<tr>\n<td>\u2013cache-none<\/td>\n<td>No Cache Node Results<\/td>\n<td>The memory is on the bottom<\/td>\n<\/tr>\n<tr>\n<td>\u2013reserve-vram 1.5<\/td>\n<td>Save System Visibility<\/td>\n<td>When double pressure is visible \/ memory (see under 18)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>One sentence:<strong>only upgrades to v. 0.29.2, transcode automatic flow; until memory limits add \u2013cache-none\u3002<\/strong><\/p>\n<p><strong>VI. 4060 \/ 8G SPECIALIZED &amp; I STEPPED ON THE PIT<\/strong><\/p>\n<p>4060 THIS CARD, VISIBLE 8G, MEMORY USUALLY 16~32G. VIDEO GENERATION IS THE DOUBLE PRESSURE OF THE \"DIGNO REPOSITORY MODEL + MEMORY CACHE FRAME\": TO SEE PART 18 FOR THE HALF, THE HALF FOR THE MEMORY\u3002<\/p>\n<p><strong>Trail experience:<\/strong>I ran a 10-second graphic video, only adjusted the visual parameters, the memory was undone, and the frame buffer was 32G full, the system killed the process. Then I went up v. 0.29, and the resolution dropped from 1080 P to 720 P, and the same thing went through. So..<strong>Video blast memory, first version, then resolution<\/strong>Don't die on display\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>In the previous 18 articles, I told you about the machines, the Ventura, the TowerNet, LoRA, and a list of downgrades for you. And as soon as the article came out, the first person in the comment section said, \"What's the use of video-generated RAM? I was a little bit surprised because he was right. For the first time in my life, I used ComfyUI to make a video, a five-second little clip, to run half the whole software card. Cut to the task manager -- 32G memory is full, the system kills the process. I thought it was a graphic card that didn't work, and it was a half-day display of parameters in line 18 that came back: RAM, not VRA<\/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":[1989,6276,4749],"collection":[],"class_list":["post-55814","post","type-post","status-publish","format-standard","hentry","category-jiaocheng","category-baike","tag-comfyui"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/55814","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=55814"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/55814\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=55814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=55814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=55814"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=55814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}