Instructions to use H3-Tiny/MiniMax-H3-Tiny-17B-FewStep-Ref2VA-v0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use H3-Tiny/MiniMax-H3-Tiny-17B-FewStep-Ref2VA-v0.1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("H3-Tiny/MiniMax-H3-Tiny-17B-FewStep-Ref2VA-v0.1", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
MiniMax-H3-Tiny-17B-FewStep-Ref2VA-v0.1
Part of H3-Tiny: structured pruning of the MiniMax-H3 Ref2VA transformer (33B โ 17B โ 14B) for joint video + audio generation from text and reference images.
๐งฉ Using ComfyUI? Get the single-file version of this checkpoint from MiniMax-H3-Tiny-ComfyUI (it also needs our ComfyUI nodes).
| Parameters | 17.08B (transformer) |
| Workflow | Ref2VA (reference images to video + audio) |
| Made by | MiniMax-H3-Tiny-17B-Pruned-Ref2VA, then few-step distillation. |
| Sampling steps | 6 by default (4 or more) |
Sample with 6 steps by default; --steps 4 is faster and --steps 8 gives more detail.
This repository holds the transformer only (diffusers layout: config.json + sharded safetensors). The text encoder,
VAEs and processors come from the official MiniMax H3 checkpoint in diffusers format.
Usage
git clone https://github.com/fuyi25/MiniMax-H3-Tiny && cd MiniMax-H3-Tiny && pip install -e .
hf download H3-Tiny/MiniMax-H3-Tiny-17B-FewStep-Ref2VA-v0.1 --local-dir ckpt/H3-Tiny-17B-FewStep-Ref2VA-v0.1
python scripts/infer.py --weights ckpt/H3-Tiny-17B-FewStep-Ref2VA-v0.1 --base-model /models/MiniMax-H3 \
--prompt "<Picture 1> ..." --references ref1.png --num-frames 124 --out outputs/
from h3tiny.pipeline import load_pipeline
pipe = load_pipeline("ckpt/H3-Tiny-17B-FewStep-Ref2VA-v0.1", "/models/MiniMax-H3", device="cuda")
See the GitHub README for prompts, offloading, attention backends and the pruning scripts.
Contact
Questions and bug reports: GitHub issues or the Community tab here. For anything else, email Haoshuai Fu at fohoo@outlook.com.
License
These weights are Model Derivatives of MiniMax H3 and are distributed under the MiniMax H3 Community License Agreement; see NOTICE. Use of the weights must follow that agreement, including its territorial scope and acceptable-use policy.
H3-Tiny is an independent project and is not affiliated with or endorsed by MiniMax.
- Downloads last month
- 1,097
Model tree for H3-Tiny/MiniMax-H3-Tiny-17B-FewStep-Ref2VA-v0.1
Base model
MiniMaxAI/MiniMax-H3