minimax_h3_qwen3_vl ¶
Native Qwen3-VL conditioner used by MiniMax H3.
Classes¶
fastvideo.models.encoders.minimax_h3_qwen3_vl.MiniMaxH3Qwen3VLConditioner ¶
MiniMaxH3Qwen3VLConditioner(config: MiniMaxH3Qwen3VLConfig)
Bases: TextEncoder[Tensor]
H3 conditioner returning the unnormalized layer-50 hidden tensor.
Source code in fastvideo/models/encoders/minimax_h3_qwen3_vl.py
Methods:¶
fastvideo.models.encoders.minimax_h3_qwen3_vl.MiniMaxH3Qwen3VLConditioner.prepare_layerwise_offload ¶
Stream language layers for text-only CUDA inference, retaining embeddings on CPU.
Source code in fastvideo/models/encoders/minimax_h3_qwen3_vl.py
fastvideo.models.encoders.minimax_h3_qwen3_vl.MiniMaxH3Qwen3VLTextRotaryEmbedding ¶
MiniMaxH3Qwen3VLTextRotaryEmbedding(config: MiniMaxH3Qwen3VLConfig)
Bases: Module
Shared Qwen3-VL interleaved temporal/height/width rotary embedding.
Source code in fastvideo/models/encoders/minimax_h3_qwen3_vl.py
fastvideo.models.encoders.minimax_h3_qwen3_vl.MiniMaxH3SerializedFP8Config ¶
Bases: QuantizationConfig
Serialized 128x128 block-FP8 contract for the H3 text encoder.
Source code in fastvideo/models/encoders/minimax_h3_checkpoint_fp8.py
fastvideo.models.encoders.minimax_h3_qwen3_vl.MiniMaxH3SerializedNVFP4Config ¶
MiniMaxH3SerializedNVFP4Config(bf16_projections: tuple[str, ...] = (), pre_quant_scale: bool = False)
Bases: QuantizationConfig
Serialized 16-group NVFP4 contract for the H3 text encoder.
The group size and scale layout are fixed by the loader's parameter shapes, so the only state is which projection kinds the checkpoint kept in bf16.