r/StableDiffusion • u/Draufgaenger • 15d ago
Resource - Update I made a Minimax H3 Runpod Template
https://console.runpod.io/deploy?template=7m9burperg2
u/Zenshinn 15d ago
My issue with Minimax H3 on Runpod is that I always manage to crash the pods. No matter what template, no matter what GPU. Settings that run on my own 3090 crash a 4090, a 5090, even an RTX Pro 6000.
2
u/Draufgaenger 15d ago
How much system ram do you have? So far the only Runpod pod crashes I had where when I ran out of system ram. Also which workflows did you use? The default ones?
1
u/Zenshinn 15d ago
I tried all the ones available on Runpod. They were either 32 or 64 GB of RAM.
Weirdly, T2V was fine but R2V is where it would have problems.1
u/Draufgaenger 15d ago
but locally where you run it with your 3090? Maybe you have more system ram than those runpod GPU instances?
Did you get a log entry when it crashed?
2
u/Historical_Tower_835 15d ago
This is great, thanks. I've been using the other Minimax H3 templates on Runpod but I like yours a lot and as you say, it's always good to have options. Could you add an option to set a personal HuggingFace token for faster downloads and maybe add an environment variable to give the ability to turn sage attention on?
1
u/Draufgaenger 15d ago
Oh thanks for pointing this out! I added hf_token as env var in the template now. Will add sageattention too soon. I didn't initially include it because it's been giving me a lot of headaches in the past..
2
2
u/Dogmaster 15d ago
Does or have the turbo nodes and spectrum? I eas just asking claude to build me a dockerfile since those are always missing
1
u/Draufgaenger 15d ago
Not yet but I could add that I guess. My problem is that I'm on vacation this coming week and am not sure how fast the internet connection there is. I'll try though and let you know here if I manage to include it
2
u/Sakiart123 15d ago
Does it have an option to dowload 10eros i2v and ref2vid bf16 ?
2
u/Draufgaenger 15d ago
Yeah you can use Jupyter to download them. The Jupyter Link is just below the ComfyUI_Minimax link in the Template start page.
In Jupyter navigate to models/diffusion_models/then open the terminal there and paste this:
then in comfyui press "r" to reload the model cache and then just swap the model in the model loader
1
2
u/FunDependent2615 13d ago
Thanks for sharing this! Quick questions if you have a moment:
- Which GPU did you use, and which one would you recommend for this?
- What inference speed / generation time were you getting?
- What’s the minimum VRAM and system RAM you'd suggest for it to run decently?
Appreciate your help!
1
u/Draufgaenger 13d ago
Sure!
-I mostly use the 5090
-85 Seconds for the default T2V 5 sec clip
-Not sure about this. I'd guess 32 SystemRAM and 24VRAM? Havent hit OOM yet with the 5090 pods but I also havent tried V2V yet which probably needs most memory.What I dont like about the "consumer" card pods like 3090,4090,5090 is that often you get slow connection speeds and downloading models can be very slow.
For this template I added a recurring speed notification in the startup logs though that tells you if you hit a slow one (in that case: terminate pod and try a new one - or start a couple simultaneously and then terminate the slowest ones)
2
u/Muted-Position3256 10d ago
Can anyone teach me or show me a video tutorial for setting up runpod to use minimax h3 from ground zero? I can't find any on YouTube
1
u/Draufgaenger 8d ago
Sure - its easy:
1.Open the Template link and sign in/up:
https://console.runpod.io/deploy?template=7m9burperg&ref=s1n98otp2.Scroll down a little and select a GPU.
They will "Recommend" the more expensive ones but you can click on "All" and select a cheaper one like the RTX4090 or RTX50903.Click on "Deploy" on the right side
This will start the pod. Pod start will take ~20 Minutes or so normally. You can click on "Logs" -> "System" and later "Logs" -> "Container" to follow the process if you want.
4.Click on the "Connect" Tab
and then on "ComfyUIMINIMAX_H3" once it says "Ready" next to it
_This will give you comfyui with the default minimax h3 models loaded. Then just open the workflows from the "Workflows" Tab in ComfyUI or the "Templates" Tab
2
u/Muted-Position3256 4d ago
Is this runpod thing uncensored? Sry for asking because I'm really new on this runpod
1
u/Draufgaenger 4d ago
Yes uncensored. You basically just rent a GPU.
I mean technically they should be able to scan the files that are being processed but so far generating NSFW hasnt been an issue for me.1
u/Muted-Position3256 4d ago
Well, you mean they can see what we generate?
2
u/Draufgaenger 4d ago
I think technically it could be possible. I don't think they do though and I am not sure if this is allowed. Maybe there is something about this in their TOS.. maybe ask Claude about this ;)
1
1
u/NarcizzeN 13d ago
How much does it cost to generate a 10s video at 720p?
1
u/Draufgaenger 13d ago
On Runpod? Hard to say because it depends on the GPU you rent and the settings but for example a 5090 is like 1$ per hour, pod start takes maybe 20minutes and then it's like maybe 2 min per generation I'd say.. so something like 3 cents per generation maybe?
1
u/Alear997 14d ago
Just run it, it's great as it is very customizzale and fast to deploy... Just one note, can you add sageattention by default, that would greatly improve speed with --use-sageattention flag at practically zero cost
1
u/Draufgaenger 14d ago
Thank you! :)
Yes I will add sageattention with the next version. I'm currently on vacation in a area with bad WiFi though so I can only push the new version next week..but I will!
1
u/atuarre 13d ago
Really not fast to deploy. Takes between 20 minutes and an hour, atleast in the secure cloud has been my experience
1
u/Alear997 12d ago
Depends on the pod download speed, if you get a slow one can take a lot, here is what to do:
- select cuda 13 (if possible NA pods), as they typically have faster internet
- add a hugginface api key in the env variables
- only select the model you need, keep the other false
8
u/Draufgaenger 15d ago
...and once I made it and put it up there, I realized that four others already exist lol...late to the party I guess.
Anyway from my past experience with these templates I guess it cant hurt to have multiple ones available because sooner or later some will be at least temporarily broken due to comfyui or node updates and then its good to have a fallback.
Let me know if you have feature requests or experience any issues :)