r/StableDiffusion • • 1d ago

News pi-H3: 2–4 Steps Without a VAE Decoder (model released)

https://github.com/Lakonik/ComfyUI-piFlow/blob/main/docs/piH3.md

Disclaimer: I am not associated with the project in any way.

An update on my earlier post: https://www.reddit.com/r/StableDiffusion/comments/1xt8tsf/pih3_24_steps_without_a_vae_decoder_will_be/

So as promised by the developers, the model weights and the codes and workflow for running it has been released. Please follow the instruction on how to set it up in ComfyUI: https://github.com/Lakonik/ComfyUI-piFlow/blob/main/docs/piH3.md

The announcement: https://hanshengchen.com/blog/pi-h3/

We announce pi-H3, the fastest version of MiniMax H3 [1] yet. pi-H3 generates video in just 2 or 4 sampling steps and directly predicts pixels at the final step, skipping the video VAE decoder. On a single B200 it produces 5-second HD videos in 3.8 seconds (sub real-time) and 15-second videos in 18.6 seconds, more than twice as fast as Sol-H3 [4].

pi-H3 is an open-source research project. The Hugging Face demo, the model weights and the inference code in LakonLab [2] are available now, with ComfyUI support through the ComfyUI-piFlow [3] extension. The training code will follow in LakonLab.

79 Upvotes

15 comments sorted by

6

u/Aaron_rowe81 1d ago

2-4 steps is wild, curious how much time the VAE decode adds back to the full run.

3

u/Apprehensive_Sky892 1d ago edited 1d ago

There are some benchmarks on the blog. It does shave off a bit of time.

Edit: You can find the breakdown on generation latency for MMH3 for VAEless DWD here under section 3 "Model latency breakdown": https://hanshengchen.com/blog/pi-h3/

1

u/Aaron_rowe81 1d ago

even a small cut should matter more at 2-4 steps, since the sampling part of the run is so short

2

u/Apprehensive_Sky892 1d ago

True, for short 5 sec video a good part of the overall time is actually taken up by the text-encoding and the VAE decoding.

1

u/Aaron_rowe81 14h ago

text encoding taking that much of a 5-second run is the bit i hadn't factored in

7

u/UnlikelyPotato 1d ago

From my experience: Quality seems shit vs taomate 3 step lora (with both running at 4 steps). Also seems to take more time. Has a lot of motion shimmering, and it seems like it doesn't keep track of fine details between frames. Haven't been able to get a good result that doesn't look obviously AI.

4

u/Apprehensive_Sky892 1d ago

Thanks. I'll have to run my own tests to decide if it is worth using.

These days I am using mostly Pika-Flex at 6 steps.

7

u/UnlikelyPotato 1d ago

So...biggest benefit is that you can crank the resolution up. This video of an alien...being caught doing awkward poses was done at 2MP native and "only" took 800 seconds on a CMP170HX. When scaled down, the videos look pretty decent. Seems like a solution to fix some of the effects might be to render, downscale, and then upscale.

1

u/Goghor 1d ago

Another user with CMP 170 HX, just like me.

1

u/LSI_CZE 19h ago

The P3 4 steps has decent picture quality but terrible sound, even at reference levels. I use the TaoMate and play entire feature-length movies on it.

2

u/qdr1en 1d ago

New turbo loras keep coming out every week, but none beats the very first one released imo, minimax_h3_fl2v_lightx2v_turbo_4step_v0.1_comfy (at 0.7 strength and 8 steps instead of 4).

My tests on this one led me to the same conclusion.

4

u/Apprehensive_Sky892 1d ago

Probably depends on the kind of prompts used. Personally I like Pika-Flex 6-steps. But TBH, the different is not all that big between most turbo-LoRAs at the same number of steps.

1

u/Lokoto123 1d ago edited 1d ago

Porting it to MLX right now, getting 720p for 5 secs at around 10 mins with a 75% small step and a full step, LOVE IT, makes running H3 on hardware from 2021 with 16GB unified ram actually possible and a good experience, will see how LORAs effect this but honestly great work and very impressive engineering, excited to see where decoding without a decoder goes next

1

u/Eastern_Rock7947 21h ago

Found it to be poor quality