Citation and evidence

pi-H3

Report a problem with this article

Edit article
More

Use this article

Raw MarkdownExplore connections

Improve this page

Revision historyDiscuss this article

Topics

AI ModelsAI ResearchDiffusion ModelsVideo Generation

Cite this article

pi-H3 is a set of adapters that accelerate MiniMax H3 video generation with synchronized audio. It provides separate models for two or four sampling steps, with variants that produce video pixels from the denoiser's final features through Decoding Without a Decoder (DWD). Other variants retain H3's video decoder. The adapters support text prompts and optional first-frame and last-frame conditioning.[1]

The project combines pi-Flow v2, a method for few-step knowledge distillation, with DWD. Its inference implementation is part of LakonLab, with an accompanying ComfyUI extension.[2]

Development and release

The credited researchers are Hansheng Chen, Shengqu Cai, Jiaming Song, Gordon Wetzstein, Xinchen Yan and Leonidas Guibas. The project lists Stanford University as the institutional affiliation, identifies part of Chen's contribution as work during an internship at Luma AI, and identifies Song's and Yan's contributions as work done while at Luma AI.[18]

DateRelease
November 10, 2026pi-H3 0.9 demonstration on Hugging Face
November 21, 2026pi-H3 1.0 model weights, inference code and ComfyUI support

Expanded article table

The announcement's displayed videos and performance measurements use version 0.9. The authors describe version 1.0 as improving fine-detail motion and coherence at two steps.[3] Separately, the ComfyUI extension's version 1.4.0 changelog records the addition of two-step and four-step pi-H3 workflows, both with and without DWD, on November 21.[10]

Adapter variants

The Hugging Face repository lists four principal adapter variants:[1]

AdapterSampling stepsVideo output
pi_h3_2step_dwd_adapter2DWD pixel prediction
pi_h3_4step_dwd_adapter4DWD pixel prediction
pi_h3_2step_adapter2Native H3 VAE decoding
pi_h3_4step_adapter4Native H3 VAE decoding

Expanded article table

The model card recommends the DWD variants and supplies INT8 ConvRot versions of those adapters specifically for ComfyUI. All four adapters support the same text, first-frame and last-frame conditioning options.[1]

The ComfyUI distribution supplies separate DWD and conventional decoding workflows. Both use the H3 first-last-frame-to-video-and-audio model, called FL2VA. The workflow also requires a base diffusion model, text encoder, video VAE and audio VAE, so the adapter file alone is insufficient to run generation.[9]

Generation method

Few-step distillation

pi-H3 uses pi-Flow v2 for data-free distillation into two-step and four-step generators.[2] The example loads a step-specific adapter and uses separate Euler flow schedulers for video and audio.[7]

The step count refers to sampling evaluations of the generative model. It does not count prompt processing, conditioning-image encoding, pixel readout, audio decoding or video-file encoding. Those operations remain visible in the supplied pipeline and example script.[7][8]

Direct pixel readout

A conventional latent diffusion model produces compressed representations that a variational autoencoder decoder turns into frames. DWD keeps the denoising head for latent sampling, while a separate output pathway reads the diffusion transformer's final features to produce pixels.[4]

DWD trains the pixel pathway with pixel-quality objectives and constrains denoising to remain close to a frozen reference. Its preliminary H3 experiment uses decoder distillation, targeting the reference model's final output after native decoding.[4]

H3 poses a particularly large output problem for a simple linear head. One token can represent four frames of a 32 by 32 spatial patch in three color channels, or 12,288 pixel values, whereas the transformer's hidden width is 5,376. The DWD paper therefore identifies a lightweight refiner as useful for H3.[4]

The released DWD configuration selects a SolH3DWDHead and disables the separate linear pixel head.[6] The implementation first expands denoiser features into smaller spatial tokens, processes them with a refiner, and projects the result into RGB frames. By default, this head uses eight of the final Sol-H3-VAE transformer blocks. Its attention combines shifted local windows with global tokens; separate projections handle the first frame of a block and the subsequent four-frame groups.[5]

This feature-based readout explains the scope of the decoder-free description. The pipeline removes the standalone stage that decodes generated video latents through the native H3 VAE. It still computes a pixel output head and refiner. It also retains video VAE encoding for conditioning frames and an audio VAE decoding step for the sound track.[8] The current refiner is consequently more substantial than the plain linear head used in several other DWD experiments.[5][6]

Released configuration

The two-step DWD adapter's configuration identifies a 50-layer H3 transformer with a hidden width of 5,376. The relevant output settings are:[6]

Configuration fieldReleased valueRole
Transformer classMiniMaxH3Transformer3DModelH3 video-and-audio backbone
Visual latent channels24Input representation for video latents
Audio input channels32Input representation for audio latents
Ordinary pixel patch4 x 32 x 32Frames, height and width represented by an output token
First-frame pixel patch1 x 32 x 32Separate treatment of a block's first frame
First-frame period5Period used by the pixel head's latent-frame layout
Pixel refinerSolH3DWDHeadOutput pathway from denoiser features
Separate linear pixel headDisabledThe selected refiner produces the pixels

Expanded article table

The published Diffusers example uses these sampler settings for the corresponding adapters:[7]

SettingTwo-step adapterFour-step adapter
Maximum raw timestep0.930.96
Video timestep shift12.012.0
Audio timestep shift3.03.0
Final-step size scale0.60.6

Expanded article table

The same example generates 243 frames at 1344 x 768 and exports them at 24 frames per second. It uses FP8 weight-and-activation quantization for frozen linear layers while excluding specified output and normalization layers. The final pixel tensor also receives an affine RGB conversion before file encoding.[7]

Reported performance

B200 measurements

Version 0.9 timings use one NVIDIA B200, part of the Blackwell family, at 1344 x 768, 24 frames per second, with stereo audio:[3]

Nominal output durationTwo-step pi-H3Four-step pi-H3
5 seconds3.813 seconds7.304 seconds
10 seconds9.161 seconds17.562 seconds
15 seconds18.581 seconds36.407 seconds

Expanded article table

These are medians of seven requests, including text encoding, sampling, pixel output, RGB conversion and audio decoding. They exclude model loading, compilation, warm-up and MP4 encoding. Thus faster-than-playback generation applies to the listed two-step five-second and ten-second workloads; the other entries take longer than their output duration.[3]

For comparison, the Sol-H3 paper reports 9.475, 24.309 and 44.958 seconds for its four-step, single-GB200 five-second, ten-second and fifteen-second workloads. Those figures use the same resolution and frame rate, with text encoding and video/audio decoding included. Sol-H3 reports medians of five calls after two warm-up calls.[14] The comparison spans different GPUs and execution configurations.[3][14]

Consumer GPU measurements

The official ComfyUI documentation gives a separate set of two-step DWD measurements on an unlocked RTX 3090 with CUDA 13, INT8 ConvRot quantization and Sol sparse attention. The models were already loaded and the prompt was already encoded.[9]

Resolution5-second video10-second video15-second video
864 x 48015.5 seconds37.3 seconds69.2 seconds
1344 x 76838.5 seconds97.6 seconds186.1 seconds

Expanded article table

The under-40-second 768p result applies to the five-second workload under these warm, prompt-encoded conditions.[9]

Inference software and availability

The official Python path uses LakonLab with Hugging Face Diffusers. LakonLab 0.3.0's changelog lists PyTorch 2.9 or later, Diffusers 0.40.0 and Transformers 5.16.1 as requirements.[17] The repository describes testing on Linux and offers PyTorch integration, optional CUDA extensions and alternative attention backends.[18]

The pi-H3 Gradio app chooses compatible attention backends according to the installed packages and GPU. Sol sparse attention is optional; dense attention provides a fallback. FlashAttention 3, SageAttention and PyTorch's native scaled dot-product attention serve different supported paths. Ahead-of-time compilation is available, but compiled packages and exported attention bundles depend on the GPU and software environment.[2]

The application can place its text encoder on a second GPU. A CPU-offload option also keeps the encoder off the GPU when it is not being used.[2] Its duration control rounds requests to H3's frame layout: the inspected app selects 124-345 frames, approximately 5.2-14.4 seconds at 24 frames per second. That particular interface range is narrower than the nominal five-to-fifteen-second workloads used elsewhere in the project.[19]

ComfyUI-piFlow requires ComfyUI 0.45.0 or later. Its released workflows support switching between the two-step and four-step adapters.[9][10] Training code and dedicated training configurations are listed as a later release in the pi-H3 documentation.[2]

Relationship to other models and methods

MiniMax H3 is the pretrained parent model. MiniMax describes a broader multimodal system with reference and editing tasks and output up to 2K resolution.[13] The supplied pi-H3 pipeline documents text and first/last-frame video-and-audio workflows. Those implementations establish its supported conditioning paths separately from the parent's wider specification.[8][13]

The original pi-Flow paper describes a student that predicts a network-free policy, from which intermediate flow velocities can be calculated without additional neural-network evaluations. Its imitation-distillation objective matches the teacher along the student's trajectory.[11] pi-H3 identifies its distillation method as pi-Flow v2.[1] The released H3 example uses an Euler scheduler, so the original paper's policy and substep procedure should not be assumed to describe that implementation in full.[7][11]

AsymFlow is another research project in LakonLab. It restricts noise prediction to a low-rank subspace while allowing full-dimensional data prediction, and can adapt a latent image model into a pixel-space generator.[12] DWD instead retains latent denoising and adds a separate final pixel readout.[4] Sharing a repository does not make pi-H3 an AsymFlow checkpoint or transfer AsymFlow's image benchmark results to pi-H3.[1][12]

Licensing

The pi-H3 adapters are distributed as Model Derivatives under the MiniMax H3 Community License Agreement. The repository's license includes territorial exclusions for the European Union, United Kingdom, Republic of Korea and United States, and requires separate prior written authorization for commercial products and services generating more than US$20 million in annual revenue.[15]

LakonLab's code is licensed under Apache 2.0.[16] ComfyUI-piFlow also identifies its code as Apache 2.0 and states that models used in its workflows retain their respective licenses.[10] The software license therefore differs from the agreement governing the adapter weights.[15][16]

Continue reading

More to read

Topics:AI ModelsAI ResearchDiffusion ModelsVideo Generation

References

  1. ^1 ^2 ^3 ^4 ^5Lakonik. pi-H3 model card. Hugging Face. Accessed November 22, 2026.
  2. ^1 ^2 ^3 ^4 ^5Hansheng Chen and collaborators. pi-H3 implementation documentation. LakonLab. Accessed November 22, 2026.
  3. ^1 ^2 ^3 ^4Hansheng Chen, Shengqu Cai, Jiaming Song, Gordon Wetzstein, Xinchen Yan and Leonidas Guibas. pi-H3: Video Generation in 2-4 Steps Without a VAE Decoder. November 10, 2026, updated with the November 21 release.
  4. ^1 ^2 ^3 ^4Hansheng Chen, Shengqu Cai, Jan Ackermann, Rayhan Zirvi, Gordon Wetzstein, Xinchen Yan and Leonidas Guibas. Decoding Without a Decoder: Direct Pixel Prediction from Diffusion Transformers. arXiv:2611.22287, November 17, 2026. Sections 3 and B.5.
  5. ^1 ^2Lakonik. SolH3DWDHead implementation. LakonLab. Accessed November 22, 2026.
  6. ^1 ^2 ^3Lakonik. Two-step DWD adapter configuration. Hugging Face. Accessed November 22, 2026.
  7. ^1 ^2 ^3 ^4 ^5Lakonik. pi-H3 Diffusers inference example. LakonLab. Accessed November 22, 2026.
  8. ^1 ^2 ^3Lakonik. MiniMax H3 pipeline implementation. LakonLab. Accessed November 22, 2026.
  9. ^1 ^2 ^3 ^4Lakonik. pi-H3 ComfyUI workflows and benchmarks. Accessed November 22, 2026.
  10. ^1 ^2 ^3Lakonik. ComfyUI-piFlow README and changelog. Version 1.4.0, November 21, 2026.
  11. ^1 ^2Hansheng Chen, Kai Zhang, Hao Tan, Leonidas Guibas, Gordon Wetzstein and Sai Bi. pi-Flow: Policy-Based Few-Step Generation via Imitation Distillation. arXiv:2510.14974, first submitted October 16, 2025; revised February 19, 2026. ICLR 2026.
  12. ^1 ^2Hansheng Chen, Jan Ackermann, Minseo Kim, Gordon Wetzstein and Leonidas Guibas. Asymmetric Flow Models. arXiv:2605.12964, first submitted May 13, 2026; revised October 29, 2026. NeurIPS 2026.
  13. ^1 ^2MiniMax. MiniMax H3: An Open Model Breaking the Boundaries Between Tasks and Modalities. July 31, 2026.
  14. ^1 ^2Yitong Li and collaborators. Sol-H3: Recursive Self-Improvement for MiniMax-H3 Inference Acceleration on Sol-Engine across Cloud and Edge. arXiv:2609.35110, September 28, 2026. Section 6.2 and Table 1.
  15. ^1 ^2Lakonik. License for pi-H3, reproducing the MiniMax H3 Community License Agreement. License dated August 2, 2026; accessed November 22, 2026.
  16. ^1 ^2Hansheng Chen. LakonLab license. Apache License 2.0. Accessed November 22, 2026.
  17. ^Lakonik. LakonLab changelog. Version 0.3.0, November 20, 2026.
  18. ^1 ^2Lakonik. LakonLab README. Accessed November 22, 2026.
  19. ^Lakonik. pi-H3 Gradio application. Accessed November 22, 2026.

Improve this article

Add missing citations, update stale details, or write a clearer explanation. Anyone can edit: changes go live when you publish, and every edit is checked by an editor.

1 revision · v1 · 2,021 words · full history

Fact-checks are independent of edits: a reviewer re-verifies the article against its sources and stamps the date. How we verify

Research and drafting on this wiki are AI-assisted, under named human editorial standards. How AI is used here

Cite this page: AI Wiki. "pi-H3." aiwiki.ai, updated 22 Nov 2026. CC BY 4.0. https://aiwiki.ai/wiki/pi_h3

Edit article

What links here