r/StableDiffusion • • 1d ago

Animation - Video Decide then Render + Long video H3

New research https://github.com/duanhuiran/Decide-then-Render that all steps aren't needed with flux and qwen and I wanted to see how it turns out with H3.

My usual workflow is 6 steps at 960x544 then upscale and 2 more steps at 1920x1088 with LMS.

What I found is that I can skip the last 2 steps of the 6 steps and just let the refiner take over from there.

Run the first 4 of the 6 low-res steps and take the clean estimate, upscale 2× with the LMS latent upscaler, then refine for 2 steps at full res. In sigma terms: base at 1 → .973 → .923 → .8 → x0, then upscale, then refine at .8583 → .5333 → 0.

The sections are chained together with a 5 frame overlap, rendered on an RTX Pro 6000 on Runpod. You do have to render these one at a time because you need the last frames.

All render times, inputs, and prompts and full 60fps are here:
https://studio.no.dev/share/nh7563dv5qshgwghs18csq38358k95kt

Also did a different song but the background vocals + lipsync aren't great.
https://studio.no.dev/share/nh740mv2vmdft28834haf4vwd58k9mzh

Thank you u/roychodraws for clown girl for examples I've learned a lot from you.

0 Upvotes

40 comments sorted by

View all comments

Show parent comment

1

u/Rehablyte 1d ago

I don't save any latents because I might not always be rendering on the same machine. the way I have runpod and studio setup is that I can round robin jobs between multiple machines so I'm just saving end frames.

correct I'm doing 6 + 2 (well now 4 + 2 since that seems to work just as nicely).

for tiling I mostly ported over `MiniMaxH3VideoVAE` node

claude: `The VAE decode is tiled. It decodes 256 px tiles with at least 64 px of overlap, and runs time in chunks of 5 latent frames, so its memory use stays bounded at any resolution. The diffusion passes aren't tiled. In our tests on a 32 GB budget, the base pass used 24-30 GB, and the 1088x1920 refine and decode peaked at 34-37 GB. So it doesn't fit on a 5090 yet, and lower-res or shorter clips are the way in for now. We haven't run it on a real 5090.`

1

u/roychodraws 1d ago edited 1d ago

not tiling the decode, tiling the sampling. consider using the decode to disk vae or a code equivalent in here so you don't have to tile at all.

https://github.com/NikoDemon80/ComfyUI-H3-Motion-Context

Yeah, this is interesting but i would love it much more if it fit on a card that cost less than 12,000 dollars lol

i can't imagine tiling the sampling would work with this and i don't see how the average person could make use of it yet without tiling. it's super cool tho.

1

u/roychodraws 1d ago

also what you're doing is pretty similar to this.

https://github.com/StanLukuvka/ComfyUI-SPEED-Sampler

might check it out.

1

u/Rehablyte 23h ago

Oh yea the original speed paper is what started all this LOL

1

u/Rehablyte 23h ago

I just went crazy and ported it over to MLX for Z-Image-Turbo then started doing it on other models then MLX got a CUDA backend so I could do it on runpod