Instructions to use SabiQG/minimax-h3-fp8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SabiQG/minimax-h3-fp8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SabiQG/minimax-h3-fp8", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
MiniMax-H3 β fp8 weights
fp8_e4m3fn copies of the MiniMax-H3 DiT and Qwen3-VL text encoder, in
diffusers layout, produced with per-layer casting: fp8 storage, bf16 compute,
with norms, embeddings and modulation layers deliberately left at full
precision. fp8_restore/*.safetensors holds exactly those tensors, because
the diffusers modular loader has no load-as-stored mode and must be asked for
fp8 wholesale; fp8_cast.json records which components were cast and with
which skip list.
This repo is an overlay, not a full model: it carries only what does not exist upstream. Combine it with MiniMaxAI/MiniMax-H3 β the bf16 DiT, the VAEs, the index, scheduler/tokenizer/processor β into one directory:
from huggingface_hub import snapshot_download
root = "models/h3-diffusers"
snapshot_download("MiniMaxAI/MiniMax-H3", local_dir=root, allow_patterns=[
"modular_model_index.json", "*.json", "transformer/*", "vae/*", "audio_vae/*",
"scheduler/*", "audio_scheduler/*", "processor/*", "tokenizer/*",
], ignore_patterns=["text_encoder/*", "transformer_ref/*", "FL2VA/*", "Ref2VA/*", "docs/*"])
snapshot_download("SabiQG/minimax-h3-fp8", local_dir=root)
Weights derive from MiniMaxAI/MiniMax-H3 and remain under its license β read it before using them.
This FP8 build was created to help power some of the generative video pipelines used by Aificient Studio.
- Downloads last month
- -
Model tree for SabiQG/minimax-h3-fp8
Base model
MiniMaxAI/MiniMax-H3