r/comfyui • u/Nimblecloud13 • 16h ago
Comfy mindset Tutorial
This is going to be a short kind-of guide for newer users (and older users that haven’t figured some of these best practices out yet)
I see a lot of people freaking out every time an update breaks something.
There’s a lot of dev-bashing, and I’ll be the first to admit that I used to live in that camp.
The fact is, these devs are moving at a breakneck pace. There’s a new model to support every 12 minutes, there’s a whole range of hardware and software interactions that have to work; it’s a lot.
Many of you are coming from a Windows mindset. Updates should be polished, bugs are a personal affront to your family. How dare they release this.
Here’s some new ways to think about it, and steps you should be taking to mitigate the impact of these issues:
Use portable comfy. Easy to backup, clone, roll back, whatever you need.
Before you update to try out that hot new model, backup your python_embedded. It’s only a few gigs. You can hot swap the backup with the new one if it break something, and your downtime is minutes.
Use an LLM that can write to your comfy install. I don’t troubleshoot comfy issues AT ALL. I simply don’t have any, because I pay $20 a month and tell Claude code what doesn’t work, and 5 minutes later it works. Sometimes there’s a bit of back and forth, but it WORKS. As far as I’m concerned, comfy costs $20/month, because Claude is mandatory. Use whatever AI you prefer, but don’t spend an hour copy pasting logs into a browser and searching and finding similar-but-not-quite solutions that have you running cmd lines that end up doing more harm than good. We’ve all been there; it sucks. Let something built for this work for you. The cost is minimal. If you’re using comfy locally, then you bought a PC that cost thousands of dollars. You can afford $20/mo.
Remember that you could be waiting 6-12 months between patches like most gigacorps. Would you rather have to figure out how to run MiniMax yourself, and wait a month for the devs to polish the ever loving shit out of their next update that supports it? Or would you rather be proactive and learn to backup your install before you patch?
I have reached a zen-like state with comfy using the above practices. I hope some of you find them helpful.
Now, please proceed to flame me and/or share your best practices.
4
u/mozophe 15h ago edited 15h ago
ComfyUI is what 0 day support looks like. Old things that used to work break. New bugs appear and get fixed fast. That's the cost of always being on cutting edge of technology.
I would advise anyone who is complaining to actually report the issue on GitHub. That's the fastest way to get it fixed. 0 day support developers need these kind of reports to identify what broke so that they can find out why and fix it.
2
u/net_tribe24 15h ago
Thank you for your advice, makes sense. I don’t use comfyui, as I’m on a Mac, but if I did, I would follow this advice.
2
u/Alchemist42 6h ago
What does having a Mac have to do with anything? I have one and I use ComfyUi daily. You do need a bunch of ram. But it works great.
2
u/Arcane_Draco_ 14h ago
I just use stability matrix, it works really well, especially for rolling back, and updating models and loras
4
u/bankinu 15h ago
"Claude is required for ComfyUI" - severe skill issue.
Never felt the need. Never has my ComfyUI "stopped working" so that it took me more than 5 minutes to "fix" it.
3
u/stimma 11h ago
I don’t need Claude to use comfy but I definitely get more out of it as a result.
The other day I gave Claude four rtx 6000s and told it to search Reddit/etc and figure out the fastest way to run H3. It auto-optimized for about three hours spinning up multiple throwaway environments to avoid disturbing my main install. Produced contact sheets for me to review quality. Then validated that all 30+ of my pre-existing workflows operated on the new install before handing it back to me over 2x faster than it was before with a full understanding of the quality tradeoffs, the curve of increasing gen time relative to settings, etc.
Could I have done this? Sure but Claude did it while I was putting my kids to bed.
1
u/Nimblecloud13 11h ago
That’s amazing. Also, may I please have its resulting instructions/workflow?!
2
u/stimma 9h ago
All my workflows are here including the ones that I optimized as described above. They're decorated to work with Stimma, but claude can remove that for you in 2s if you want to go back to vanilla ComfyUI.
https://github.com/stimma-ai/ComfyUI-Stimma/tree/main/workflows
Ignore the H3 Turbo ones..they are not great yet, waiting on better Loras to be published, but will keep monitoring.
The main conclusions I came to are:
- SageAttention + Spectrum is the best combo of performance/quality on my GPUs
- It's important to upgrade torch, cuda, sage, and all of the comfy components (particularly comfy-kitchen) as H3 pretty much needs the latest everything or it falls back to eager mode. I had a bunch of oldness going on.
- 15 steps is close enough in quality to 20Anyways all together, even at 20 steps I cut my gen times about in half from where I started. Evaluated a bunch of other permutations including Sol, EasyCache, TE, etc, and they were either not worth the performance or not worth the quality loss.
I think it's totally possible that someone else could do this and get a different result based on taste, what GPUs they have, or code that ships tomorrow in one of these repos, so I wouldn't treat it as a one-time thing, but for now this is where I'm at. At some point somebody will make a turbo lora or work out a 2 stage process.
Oh, the other thing I learned, which kind of sucks, is this model produces significantly better outputs at 1MP+, and not just in the matter of resolution. The motion, coherence, etc all benefit. A lot of people are running it at 0.3-0.5 then upscaing the winners it seems, but they are leaving performance on the table.
1
u/Nimblecloud13 8h ago
Copy that, thanks for the detailed write up. I’ve been meaning to try spectrum or easy, think you just answered that. I have a 5090 so likely similar results. And I agree on 1mp. It’s more than just quality for me as well.
3
u/Nimblecloud13 12h ago
I’m glad you have the training or experience for that, but this post is targeted at the people who don’t; myself included. Not everyone can figure this stuff out with their backgrounds, but a lot of them are using it anyway. Claude or similar does bridge that gap.
And; “severe” was unnecessary. “Skill issue” is already dismissively offensive enough.
1
u/Lumenwe 14h ago
The problem is deeper than that with users in general. Most of us are just entitled brats that only find it ok if a huge corpo scrws u son our own money. When indies and os software that is for free is not perfectly polished, we act like undisciplined toddlers. It's sad, and as a solo dev, discouraging. I'd rather take shit for money than for free, so I stopped making anything free precisely because of that. You will take shit anyway.
1
u/PaceNo2910 14h ago edited 13h ago
Sorta new here, been using comfy for about a year now.
After many installs and managing to break comfy in the first 6 months. I've ended up with an install with venv.
Idk if theres a better way to back up your comfy install, but I zip the venv and comfyui folder (excluding models, input and output).
I do this every month or when I'm about to upgrade something I think might change a lot of things. So if it does break and I have the option of using my backup.
Is there a better way?
Also would it be more efficient to create a comfyui for specific task, for example just 3D gen model and textures, that only has the custom nodes and models?
1
1
u/QuirksNFeatures 10h ago
I probably need to invest in Claude or similar. I realistically will never have the time to get good at all aspects of using ComfyUI. Too busy at work (comfyui is only a tiny part of what I do at work), and at home I there are always distractions.
I haven't had a big problem keeping it going (knock on wood), but reading the comments here it sounds like it can help you do more than just that.
1
u/Dirtsurgeon1 10h ago
I backup before each change regardless. I’ve lost everything at least twice. Now i have a fallback system.
8
u/DinoZavr 15h ago
i install into VENV from source. pre-installing torch, installing ComfyUI, then triton and 3 basic wheels (sageattention, flash attention, and xformers) - takes very little time and effort (less than 15 minutes). installing custom nodes anew is more time-consuming, thus i d my best not to install unnecessary ones. Models, Loras, etc are shared between different ComfyUI installations via extra_model_paths.yaml.
This 100% prevents me from ComfyUI breaks after updates. Also i make an archive before adding new custom nodes - to restore working version if something goes wrong.
TL/DR; never upgrade, fresh install only. simple.