Repository navigation
Error while generating videos with MiniMax-H3 #1508
Replies: 1 comment 5 replies
|
Make sure you don't have other processes using GPU memory while you're running heavy ai models. H3 is very demanding. If it's not just an obvious something else taking it, you can change: That tells the comfy backend to try to preserve at least 2 gigs of vram for other things. Set it higher if needed. You may benefit from having Depending on sysram availability you might also need to widen your OS page file. For reference: the text encoder needs ~30 gigs of memory, the H3 diffusion model needs ~20 gigs, actually running it is going to eat another 10+ gigs (actual amount varies with input and resolution and duration). |
Uh oh!
There was an error while loading. Please reload this page.
Everytime I try to generate a video with MiniMax-H3 I get the error below:
ComfyUI execution error: Allocation on device 0 would exceed allowed memory. (out of memory)
Currently allocated : 25.97 GiB
Requested : 1.18 GiB
Device limit : 15.92 GiB
Free (according to CUDA): 0 bytes
PyTorch limit (set by user-supplied memory fraction)
: 17179869184.00 GiB
This error means you ran out of memory on your GPU.
TIPS: If the workflow worked before you might have accidentally set the batch_size to a large number.
(End of Error, to continue my question)
Also I sometimes generate some videos but they are 5 seconds max, do you guys know what I could be doing wrong or is this related to a problem with SwarmUI itself?
All reactions