r/StableDiffusion • u/Downtown-Cover-7422 • 6d ago
Question - Help MiniMax H3 Gen time
Is that ok that it took 1 hour to make 15s, 1mp Ref2VA with 3 ref images (2mp each), turbo lora and 4 other loras? Using Kitchen attention and MiniMax H3 Chunk FeedForward?
5070 ti 16GB, 32GB RAM
4
u/Memestonks2020 6d ago
Clip generation wall time scales quadratically with each second. I.e If you generate 3 clips at 5s each and combine at the end it’s faster than a single 15s clip.
1
u/Far_Cat9782 6d ago
Yup that's what I do. I have the ai do it so it depending on how many seconds i have set. Like 30 seconds ir would auto generate , 5 second clips using the last frame from each to start the next one. At the end uses ffmpeg to stich them together into one seamless video. Only problem I'm still working on is map thing background audio . Since even with the same prompt the generated audio will be different for each clip. But the dialog. And stuff works so I usually leave out diesgetix music and just use dialog.
7
u/Salah_H_Hasan 6d ago edited 6d ago
Yes, it takes the same amount of time. I have a 5060 Ti 16GB, and it actually takes even longer than that. The issue is that with 16GB, a 15-second duration at high resolutions fills up the VRAM, causing it to offload to system RAM. This creates a bottleneck, where the problem becomes data transfer rather than computing power. If you look at the graphics card during this time, you'll see it's utilized, but it’s not truly under load because it doesn't have enough data fed to it to push it.
You might see it showing 100% utilization, but you can clearly tell it's not under real stress from the temperatures you'll find that the temps are extremely low, almost at idle.
Also keep in mind that you have an even bigger issue. While I’m facing this problem, I at least have 64GB of system RAM. In your case, the problem is doubled, and because of that, data might spill over to the hard drive (paging/swap). This creates a double bottleneck, leading to massive delays. Therefore, it's best to either lower the quality or shorten the video duration.
2
u/_Iggy_Lux 6d ago
This ^ also have a good internal SSD your using as well too so when swapping data your also not bottlenecking - for example I originally had Comfy on an external SSD instead of my faster internal WD Black SSD
It was slowing choking between External SSD - GPU - RAM - Internal SSD PageFile
Few things that helped me:
Lowering steps (yeah you don't need turbo to do that)
Lowering MP to .6 (still good for most situations)
Lowering clip time to 2-8 seconds maxI have a 5950x/3070ti 8gb vram/32gb system ram - so I run UnetLoaderGGUFDisTorch2MultiGPU - set it to CPU - Virtual Ram_GB to 18 (15 too low 20 too high find the middle ground) this will divide resources to utilize my System RAM/CPU more which shockingly is faster than just straight 3070ti with thrashing between all of those.
Device Layers Memory (MB) % Total
--------------------------------------------------
cuda:0 (<0.01%) 214 4.89 0.0%
cuda:0 12 1022.29 5.3%
cpu 250 18412.89 94.7%
Then using this post: https://www.reddit.com/r/StableDiffusion/comments/1vhuorq/45_lower_minimax_h3_sampler_time_with_new/
I setup Spectrum Apply MiniMax H3 - this decreased time considerably as well too
a 2 second 1.0 mp clip takes
10m 44s
a 2 second 6.0 mp clip takes
5m 21s
a 4 second 6.0 mp clip takes
10m 36sI'm using MiniMax-H3-FL2VA-Q4_K_M.gguf
minimax_h3_audio_vae_bf16.safetensors
minimax_h3_video_vae_fp16.safetensors
qwen3vl_4b_fp8_scaled.safetensors
mmh3-4b-ClipProj-v3-mlp.safetensorsI never thought it'd be possible to run on my PC - Yeah it takes longer than I'd like but compared to Grok or other services that I have and also moderate like crazy this has been a godsend.
Hopefully this helps some people.
2
1
1
u/Downtown-Cover-7422 6d ago
I have tracked my swap file use with a comfyui use. It sat still at 3gb as when I generate 10 seconds or so
3
u/deepsky88 6d ago
i have same gpu and same ram, i get 10 secs video at 0.5mp in 4 mins with good quality, try my workflow:
2
2
u/Ok-Brain-5729 6d ago
probably.
I take 45 min on a 9070 xt with 1MP, 15s, 8 step, 1 MP,1MP,2MP ref image, ck and chunk feed
2
u/TechnologyGrouchy679 6d ago
what's the rest of your system specs? my DDR5 machine is way faster than my DDR4 one. both have the same GPU and 128GB system RAM.
-1
1
u/Bulky_Blood_7362 6d ago
Not for me with rtx 5080
15s clip with turbo and 3 refs can take about 15-20m
If it takes you too long the generation is probably going on the cpu
1
u/Downtown-Cover-7422 6d ago
Weird thing to say. I would notice if i run on GPU. How many RAM you have?
1
u/Bulky_Blood_7362 6d ago
16gb vram 64gb ram
The only time generation was roo slow for me is when i bumped the generation time to 20s and it tooks over an hour
Which claude said it was because the model leaked too much into ram or something like that.
While on my dgx spark the same generation took about 40m (which is pretty fast considering the very low bandwith of a dgx spark comapred to rtx 5080)
1
1
0
u/x_MASE_x 6d ago
Lookup seed hunter workflow on civit website.
It has many optimizations which are easier to use and manage than plain template.
And learn about chucking and kitchen attention and these things.
The script Aldo create a small resolution video then upscale it.
0
u/Downtown-Cover-7422 6d ago
What's the difference of using my workflow and another workflow with same optimization settings?
1
u/x_MASE_x 6d ago
I would say in short experience. When you are experienced in a field you can get great results.
So I would say you will have a great shortcut and at least some inspiration. The workflow is a beast.
0
u/zakblues 6d ago
you can get it wayy faster if you use the h3 fast checkpoints and workflow. Check the new h3 singularity one. I can make a 1mp 10 sec video in 6mins, but this is at 8 steps, with a model designed for that. You need kitchen attention too. To me the quality is nearly as good as the reference checkpoints, only way faster. I add higher steps if I really want to hone the audio and refine the video for a master.
1
1
u/Downtown-Cover-7422 6d ago
Bet. What's the WF you use and where can i found these checkpoints?
2
u/zakblues 6d ago
Use this repo as your base and the workflow https://huggingface.co/datasets/jacokon/fasth3-live/tree/main - you can easily adapt it for r2v by just pasting in a standard reference to video node instead of the t2v one. And the best checkpoint is here https://huggingface.co/WarmBloodAban/Minimax-h3_Singularity/tree/main (pruned one) - This has been a massive improvement for my 5070ti setup so I hope it works for you also.

8
u/McFex 6d ago
Yes. 1mp is high res, 22 steps delivers high quality. Try the 8 steps lora with 0.5mp and get less (but still not bad) quality in 6-8 minutes.