Instructions to use H3-Tiny/MiniMax-H3-Tiny-14B-OKD-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-14B-OKD-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-14B-OKD-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-14B-OKD-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.
| Parameters | 13.99B (transformer) |
| Workflow | Ref2VA (reference images to video + audio) |
| Made by | MiniMax-H3-Tiny-17B-Pruned-Ref2VA with every block FFN narrowed from 14336 to 9792 channels, then recovered by OKD (distillation from the 33B teacher). |
| Sampling steps | 50 |
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-14B-OKD-Ref2VA-v0.1 --local-dir ckpt/H3-Tiny-14B-OKD-Ref2VA-v0.1
python scripts/infer.py --weights ckpt/H3-Tiny-14B-OKD-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-14B-OKD-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
- 676
Model tree for H3-Tiny/MiniMax-H3-Tiny-14B-OKD-Ref2VA-v0.1
Base model
MiniMaxAI/MiniMax-H3