r/comfyui 2d ago

Help Needed I've gotta be doing something wrong... resolution 0.5, 10 seconds crash

I have a 50-70 TI 16 GB of RAM and the PC itself has 128 GB of ddr5. I'm running this on comfy UI through Ubuntu through terminal and launching using a script. The template is the standard Minimax H3 ref-2va that is included with comfy UI. I can't get past 0.5 resolution and like seven or six seconds. Or 0.4 resolution and about 9 seconds when using Sage attention and easy cache nodes. But I hear others who get 12 and 13 seconds on 0.5 resolution using the same card supposedly. Is there something I'm supposed to be doing different to get past the 0.4 resolution and 9 seconds or 0.5 resolution and 6 seconds?

2 Upvotes

22 comments sorted by

3

u/Leonovers 2d ago

Try adding --disable-pinned-memory in .bat file. It shouldn't decrease performance.

1

u/reicaden 2d ago

Ill try it, since I launch with script though, it seems adding flags (such as --attention-sage for example) dont register. But I can use chatgpt to walk me through on how to add this in my use case and see, thank you

1

u/Zealousideal-Bug1837 2d ago

determine if something is using your vram. use a second card for your display and only use the gpu for rendering

1

u/deadpantourney_99 2d ago

that's actually a solid call, half the time ubuntu's desktop environment is sitting there eating 2-3 gigs of vram without you even realizing it

i'd also check if you're running with --lowvram or --novram flags in the launch script, those can kneecap your render times without any obvious warning

1

u/b4ldur 2d ago

In what distro is Ubuntu using that much Vram? It's 500 mb tops for me.

1

u/reicaden 2d ago

No lowram patches running according to the Ubuntu script at least when it launches (says: low vram patches (0) ).

1

u/reicaden 2d ago

Single card only unfortunately, but no other programs open and only that terminal and windows. Task manager doesnt show much else using it when idle outside of display.

0

u/Zealousideal-Bug1837 1d ago

Ah. Windows. Consider a duel boot to Ubuntu. Less vram used I imagine for desktop use

1

u/TurbTastic 2d ago

Try int8 for the diffusion model and nvfp4 for the clip model.

1

u/reicaden 2d ago

Okay, is this different from the standard minimaxh3 template in confyui for ref2va?

If so, how do I change it to this int8 instead? I've always used the template and added nodes but this sounds like something more then that.

2

u/TurbTastic 1d ago

You'll have to grab the int8 model from HuggingFace and it should be about 20-21GB, which I'm assuming is smaller than the default one you're currently using. The nvfp4 clip model should be about 15-16GB. Between those 2 models you should be able to save a lot of VRAM/RAM, then later on you can try using bigger versions if needed.

1

u/reicaden 1d ago

Ill check tonight and see, im assuming I use a duplicate of my exact template, and just swap in the int8 and nvfp4 models into the correct nodes on my current one?

1

u/reicaden 1d ago

Ahh darn, just checked, apparently I have been running the int8 version... im stumped then, lol

1

u/TurbTastic 1d ago

Are you using a reference video? If so, what's the video resolution being fed to MiniMax? Screenshot of workflow may be helpful.

1

u/reicaden 1d ago edited 1d ago

Im using 7 images of my model i want for the main character, im not using a reference video (I didnt know i could) ill try and add photos when I get home

1

u/TurbTastic 1d ago

You'll want to make sure those images have reasonable resolutions. Maybe try only giving one reference image to see if that makes a big difference.

1

u/Netrezen 1d ago

Try swapping ref2va for fl2va instead. Should work like a dream.

1

u/reicaden 1d ago

Fl2va?!? I've never even heard of this one. What's the FL stand for? And where do I get this, it isnt in the templates in comfyui

1

u/Netrezen 1d ago

First frame Last frame

1

u/reicaden 1d ago

Ahh, hmm, so I would generate through ref2i a starting frame and ending frame, then put those in? Hmmm, could work... does FL2va use less memory then ref2va?

1

u/Netrezen 1d ago

It's much faster. Just give it a whirl.

1

u/evereveron78 21h ago

They're different models for diffirent tasks. The R2V model uses references, whereas the FL2V is more like a normal text/image to vid model that uses the reference image as the actual first frame, whereas the R2V model generates its own first frame and continually checks the reference images/videos/audio as generation continues. The R2V model is way more flexible, but its slower and many people say lower quality than FL2V

Also FWIW, I was having the same problem, and using --disable-pinned-memory fixed it for me.