minimax_h3_taeh3 ¶
Optional, approximate MiniMax H3 tiny decoder, executed entirely in MLX.
Architecture and temporal mapping adapted from madebyollin/taehv at 62f7591f59dfbb4c3c02b7a621d180a9eeaba26c (MIT, Ollin Boer Bohan). See fastvideo/third_party/taehv/LICENSE. Weights remain in the upstream format. This decoder consumes normalized diffusion latents; it does not use the full H3 VAE's latent mean/std or pixel denormalization.
Classes¶
fastvideo.mlx_runtime.minimax_h3_taeh3.MLXTAEH3Decoder ¶
Decode H3 NTCHW latents with bounded temporal feature memory.
Chunks carry the last input of every MemBlock into the next chunk. Chunking limits activation memory without resetting the causal state. The full H3 VAE remains the quality reference, not a numerical oracle for this independently trained tiny decoder.
Source code in fastvideo/mlx_runtime/minimax_h3_taeh3.py
Methods:¶
fastvideo.mlx_runtime.minimax_h3_taeh3.MLXTAEH3Decoder.decode_ntchw ¶
Return NTCHW RGB in [0, 1] for H3's valid 5*k-3 latent lengths.
Source code in fastvideo/mlx_runtime/minimax_h3_taeh3.py
Functions:¶
fastvideo.mlx_runtime.minimax_h3_taeh3.decode_latents_taeh3_mlx ¶
decode_latents_taeh3_mlx(latents: ndarray, *, checkpoint_path: str | Path | None = None, dtype: str = 'fp32', chunk_size: int = 5) -> ndarray
Decode normalized NCTHW diffusion latents into NTHWC float RGB.
Source code in fastvideo/mlx_runtime/minimax_h3_taeh3.py
fastvideo.mlx_runtime.minimax_h3_taeh3.ensure_taeh3_checkpoint ¶
Fetch only pinned weights, atomically; never download executable code.
Explicit local safetensors paths may contain custom trained weights. Managed cache entries must match the upstream SHA-256 digest.