5B FastWan is a very lightweight model, good for simple animation. It takes 3 minutes on my 3090ti to render 5 sec video at 640x480. (GIF quality here does not represent good MP4 quality)
Yes, that was an SDXL example I made in 2023 with Realities_Edge_XL4 with a resolution of 1920x1080 using prompt: "ethereal. angels play. clouds. mountain tops. closeup of angel." 34 steps, DPM++2M/Karras.
We all know high resolutions in widescreen formats will likely disfigure the image as the XL models try to overlap and fill canvas area that is outide of the default trained parameters.
I'm glad this question is being asked, again. Although I've seen it asked a number of times, with various posts including matrix grids of comparrison images, and the results are generally the same. As it's easy enough to run the top models using the same seed and prompt, using simple workflows along with a variety of sampler/scheduler combinations.
It's almost important enough to understand how the samplers are designed and what the schedulers are doing. Aside from all the math formulas behind the scenes, the models respond best when using a standard/default sampler like Euler/Simple.
SD models like Realistic_Vision51 are fast, and LMS/KL_optimal works well.
In my experience with some of the classic SDXL models (JuggernautXL, RealitiesEdgeXL, CopaxVividXL), I was convinced that DPM2M++ Karras was the best combination.
But then Flux came out and I found Euler/Normal to produce clean results. With other Flux variants, DPMpp2M_sde_Huen_GPU/bong_tangent also does a great job.
Hidream is nice, with Res_2s/Bong_Tangent.
Then with Qwen, i discovered the base model was too synthetic with DPMpp_2m/SGM_uniform. But the refined Model 'JibMix' offered more 'natural' textures. Plus the samplers like Huen, LMS, when used with Normal, KL_optimal, or Bongtangent induced more detail.
It's important to note that some samplers use multiple passes, like Heunpp2, or Res_2m, that essentially double the steps (increasing time). But this causes adverse effects while using tiled upscaling, with each quadrant being different.
Also, if you're doing Video with WAN, you'll want to stick with basic Euler/Simple in order for the model to produce consistent motion.
In summary, it's important to know if all your efforts are producing the best results. Is there a magic combination or tweak that would make the images more perfect? While the various models mature, the output clarity becomes better than before. Thus, I find myself seeing an image I generated months ago and wanting to 'refine' it with a new favorite Image-2-Image fancy workflow. Or I simply become curious what a new LoRA would do to an old photo. Chasing perfection never ends.
Yep, my System RAM cache trying to use high quality models with high resolutions would consume 36-40GB which was just enough to degrade performance. Fortunately this occured before RAM prices doubled last year. I use Quantized Q8 models and still tend to squeeze every last drop of memory.
VRAM is everything, it's the latent space. System RAM is a placeholder to quickly swap assets. Typically, more System 'CPU' RAM is available than dedicated 'GPU' VRAM. Stable Diffusion loads assets and models into System RAM and VRAM respectively. They stay resident for performance, with everything in VRAM at once being the fastest method.
Stable Diffusion can offload and cache various models to System RAM in order to maximize VRAM for essential stages of generation. Spilling into 'Shared GPU memory' should always be avoided, as it's just a portion of System RAM.
When running WAN workflows, using CleanVRAM nodes can purge unused VRAM between High and Low sampling stages. This allows larger, higher quality models to be used for each stage. But these models each remain 'stuck', cached in System RAM even after the entire workflow is complete. This method then requires more System RAM, and is what OP is regarding as 'holding onto RAM'.
Alternatively, using '--highvram' as a launch parameter, ComfyUI will prevent caching to System RAM but requires all models to remain in VRAM until VAE decoding is complete. Only then can a VRAM-purge node can be used. This method requires smaller models to be used, as the cumulitive size of the models in the workflow must all fit into VRAM.
In summary, clearing ComfyUI System RAM cache isn't as easy as clearing VRAM cache. Thus using the '--highvram' launch parameter will prevent System RAM cache and allow VRAM purge, but requires more VRAM. Using default ComfyUI startup parameters, purging VRAM between samplers is possible, saving VRAM, but requires more System RAM... which cannot be manually purged.
External tools have been described by others in this thread, such as MSI afterburner, which I've used to modify GPU parameters in order to control both power and fan speed: Afterburner
Without any of these, you're stuck with factory defaults which are balanced for performance, quality and safety.
Install ComfyUI Manager as a custom node:
https://github.com/Comfy-Org/ComfyUI-Manager#installation
Then you can access it with the icon at the top of the window:
https://preview.redd.it/ssmnlt1wsx4h1.png?width=1409&format=png&auto=webp&s=8b517c7284177bb66a3c01cd904f5eed5fb1c488
name checks out
64GB RAM.
https://preview.redd.it/ifqdhy0clylg1.png?width=576&format=png&auto=webp&s=b95ae2ece236476fd096d1d352c5108cb62b66c5
5B FastWan is a very lightweight model, good for simple animation. It takes 3 minutes on my 3090ti to render 5 sec video at 640x480. (GIF quality here does not represent good MP4 quality)
https://i.redd.it/ez6jyh74bnlg1.gif
"I did this, but i don't know what I did."
"I can't tell you how I did it, because it was done somewhere else."
"I used Flux, ComfyUI, and no LoRA, and learnt how to prompt"
GIF not downloaded
Imagine that butt with video.
GIF not downloaded
ComfyUI standalone installs quick and easy.
ComfyUI(portable) Windows - ComfyUI
Using Default workflow 'Templates' that come included with ComfyUI make it easy.
https://preview.redd.it/gj6af0592skg1.png?width=1558&format=png&auto=webp&s=b2b2bed8cafdcb314ee0382a529452df43dff025
Resolution out of spec.
512x512 is default.
Yes, that was an SDXL example I made in 2023 with Realities_Edge_XL4 with a resolution of 1920x1080 using prompt: "ethereal. angels play. clouds. mountain tops. closeup of angel." 34 steps, DPM++2M/Karras.
We all know high resolutions in widescreen formats will likely disfigure the image as the XL models try to overlap and fill canvas area that is outide of the default trained parameters.
GIF not downloaded
name checks out
https://preview.redd.it/15tdehl01mjg1.png?width=3644&format=png&auto=webp&s=2be2f5611d90354c6c1b5bb943a0e6559e477827
He encountered boot errors. Then PEBKAC occured from an ID10T error, based on a self-induced delete procedure.
Now he's facing pytorch version issues.
I recommend ComfyUI standalone installation: How to install ComfyUI in different systems | ComfyUI Wiki
I'm glad this question is being asked, again. Although I've seen it asked a number of times, with various posts including matrix grids of comparrison images, and the results are generally the same. As it's easy enough to run the top models using the same seed and prompt, using simple workflows along with a variety of sampler/scheduler combinations.
It's almost important enough to understand how the samplers are designed and what the schedulers are doing. Aside from all the math formulas behind the scenes, the models respond best when using a standard/default sampler like Euler/Simple.
SD models like Realistic_Vision51 are fast, and LMS/KL_optimal works well.
In my experience with some of the classic SDXL models (JuggernautXL, RealitiesEdgeXL, CopaxVividXL), I was convinced that DPM2M++ Karras was the best combination.
https://preview.redd.it/4sqxpgnfmfjg1.png?width=3840&format=png&auto=webp&s=a925fcbf11d2d11a8803516c490d9f749fc56da8
But then Flux came out and I found Euler/Normal to produce clean results. With other Flux variants, DPMpp2M_sde_Huen_GPU/bong_tangent also does a great job.
Hidream is nice, with Res_2s/Bong_Tangent.
Then with Qwen, i discovered the base model was too synthetic with DPMpp_2m/SGM_uniform. But the refined Model 'JibMix' offered more 'natural' textures. Plus the samplers like Huen, LMS, when used with Normal, KL_optimal, or Bongtangent induced more detail.
It's important to note that some samplers use multiple passes, like Heunpp2, or Res_2m, that essentially double the steps (increasing time). But this causes adverse effects while using tiled upscaling, with each quadrant being different.
Also, if you're doing Video with WAN, you'll want to stick with basic Euler/Simple in order for the model to produce consistent motion.
In summary, it's important to know if all your efforts are producing the best results. Is there a magic combination or tweak that would make the images more perfect? While the various models mature, the output clarity becomes better than before. Thus, I find myself seeing an image I generated months ago and wanting to 'refine' it with a new favorite Image-2-Image fancy workflow. Or I simply become curious what a new LoRA would do to an old photo. Chasing perfection never ends.
Satisfaction not guaranteed.
Not all who wander are lost.
LoRA, LoRA, LoRA!
you answered your own question using the word 'exact'.
Yep, my System RAM cache trying to use high quality models with high resolutions would consume 36-40GB which was just enough to degrade performance. Fortunately this occured before RAM prices doubled last year. I use Quantized Q8 models and still tend to squeeze every last drop of memory.
https://preview.redd.it/8pda12rpxvgg1.png?width=576&format=png&auto=webp&s=e4f218584f624178f5de1c58e67f14c0fd35d486
I run ComfyUI standalone on a 3090ti 24GB VRAM and 64GB System RAM.
I had issues with performance until I upgraded from 32GB of RAM to 64GB.
Now everything I throw at it works fine.
https://i.redd.it/09epkebx8vgg1.gif
Your REDDIT history shows you've been asking this same question for several months.
C'mon... really now?
you flunked 5th grade again, but "patience sometimes required".
VRAM is everything, it's the latent space. System RAM is a placeholder to quickly swap assets. Typically, more System 'CPU' RAM is available than dedicated 'GPU' VRAM. Stable Diffusion loads assets and models into System RAM and VRAM respectively. They stay resident for performance, with everything in VRAM at once being the fastest method.
Stable Diffusion can offload and cache various models to System RAM in order to maximize VRAM for essential stages of generation. Spilling into 'Shared GPU memory' should always be avoided, as it's just a portion of System RAM.
When running WAN workflows, using CleanVRAM nodes can purge unused VRAM between High and Low sampling stages. This allows larger, higher quality models to be used for each stage. But these models each remain 'stuck', cached in System RAM even after the entire workflow is complete. This method then requires more System RAM, and is what OP is regarding as 'holding onto RAM'.
Alternatively, using '--highvram' as a launch parameter, ComfyUI will prevent caching to System RAM but requires all models to remain in VRAM until VAE decoding is complete. Only then can a VRAM-purge node can be used. This method requires smaller models to be used, as the cumulitive size of the models in the workflow must all fit into VRAM.
In summary, clearing ComfyUI System RAM cache isn't as easy as clearing VRAM cache. Thus using the '--highvram' launch parameter will prevent System RAM cache and allow VRAM purge, but requires more VRAM. Using default ComfyUI startup parameters, purging VRAM between samplers is possible, saving VRAM, but requires more System RAM... which cannot be manually purged.
https://preview.redd.it/z32v4zflbfgg1.png?width=3381&format=png&auto=webp&s=3d0fdaa29926250731cda19edff357a35585403d
'--disable-pinned-memory' is for VRAM, not System RAM.
People aren't recognizing the difference, and are providing incorrect suggestions for VRAM.
ComfyUI RAM issues, without the ability to purge it as I've done in prior versions, is becoming a nightmare for long, extensive workflows.
I'm checking on a solution still, after weeks of headaches.
I've got 64GB of System RAM, so I'm not always having issues, but I don't like the way ComfyUI keeps RAM in use (cahced) after a workflow is complete.
A promotional price does not reflect the true cost of the product.
In a few weeks, you will be wrong forever.
Don't yank my chain.
There are both internal tools for controlling Stable Diffusion, and external tools which monitors GPU temperature. Ones I've used internally with Stable Diffusion will pause rendering when a temperature threshold is exceeded: GitHub - w-e-w/stable-diffusion-webui-GPU-temperature-protection: Pause image generation when GPU temperature exceeds threshold
External tools have been described by others in this thread, such as MSI afterburner, which I've used to modify GPU parameters in order to control both power and fan speed: Afterburner
Without any of these, you're stuck with factory defaults which are balanced for performance, quality and safety.
Fine print says otherwise...
https://preview.redd.it/pryxoowe1hfg1.png?width=829&format=png&auto=webp&s=7649afeba4fba63129268fb513ec653f4d584ad7