Text-to-Video
Safetensors
MLX
mflux
MiniMax H3
mlx-gen
apple-silicon
8-bit precision
mixed-q8-bf16
video-generation
image-to-video
audio-video-generation
synchronized-audio-video
Instructions to use AbstractFramework/minimax-h3-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use AbstractFramework/minimax-h3-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download AbstractFramework/minimax-h3-8bit --local-dir minimax-h3-8bit
- mflux
How to use AbstractFramework/minimax-h3-8bit with mflux:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
|
Download README.md from AbstractFramework/minimax-h3-8bit: direct link, hf CLI and curl.
- Browser
- Download file 8.87 kB
-
https://huggingface.co/AbstractFramework/minimax-h3-8bit/resolve/main/README.md
- Command line
-
hf download hf://AbstractFramework/minimax-h3-8bit/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/AbstractFramework/minimax-h3-8bit/resolve/main/README.md
8.87 kB
| base_model_relation: quantized | |
| license: other | |
| license_name: minimax-h3-community-license-agreement | |
| license_link: https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/main/LICENSE | |
| extra_gated_prompt: "This repository is a quantized derivative of MiniMaxAI/MiniMax-H3, distributed under the MiniMax H3 Community License Agreement. That license applies only within its Applicable Territory, which excludes the European Union, the United Kingdom, the Republic of Korea and the United States of America, and it includes use restrictions and an Acceptable Use Policy." | |
| extra_gated_fields: | |
| I have read and agree to the MiniMax H3 Community License Agreement and its Acceptable Use Policy: checkbox | |
| I will use this model and its outputs only within the Applicable Territory of that license: checkbox | |
| base_model: MiniMaxAI/MiniMax-H3 | |
| pipeline_tag: text-to-video | |
| library_name: mlx-gen | |
| tags: | |
| - mlx | |
| - mlx-gen | |
| - mflux | |
| - apple-silicon | |
| - 8-bit | |
| - mixed-q8-bf16 | |
| - minimax-h3 | |
| - video-generation | |
| - text-to-video | |
| - image-to-video | |
| - audio-video-generation | |
| - synchronized-audio-video | |
| # minimax-h3-8bit | |
| This repository contains MLX-Gen saved weights for `MiniMaxAI/MiniMax-H3`. The checkpoint is designed for local Apple Silicon inference with [`mlx-gen`](https://github.com/lpalbou/mlx-gen). | |
| It uses the mflux/MLX saved-weight layout. Quantized checkpoints include MLX quantization tensors. It is not a Diffusers or Transformers `from_pretrained()` checkpoint. | |
| ## Source Model | |
| Original model: [`MiniMaxAI/MiniMax-H3`](https://huggingface.co/MiniMaxAI/MiniMax-H3). | |
| ## License and Access | |
| This checkpoint is a quantized derivative (a Model Derivative) of `MiniMaxAI/MiniMax-H3` and is distributed under the [MiniMax H3 Community License Agreement](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/main/LICENSE). A copy of the agreement is included as `LICENSE`, with the required `NOTICE` file. The agreement governs; the points below are a reading aid, not legal advice. | |
| - **Territory.** The license applies only within its Applicable Territory: worldwide, excluding the European Union, the United Kingdom, the Republic of Korea and the United States of America. Using, reproducing or distributing the model, its derivatives or its outputs there is not covered by the agreement; MiniMax offers a separate licensing path for those territories. | |
| - **Use restrictions.** Section V and the Acceptable Use Policy (Exhibit A) apply to this checkpoint and to what it generates, including the rule against using the model or its outputs to improve another AI model and the duty to disclose machine-generated content. | |
| - **Commercial use.** Section IV requires displaying "MiniMax H3" in a commercial product that uses it, and prior written authorization from MiniMax above USD 20 million of yearly revenue. | |
| - **Redistribution.** Pass on the `LICENSE` and `NOTICE` files, state your own modifications, and bind recipients to the same restrictions. | |
| - **Modified files.** The weight files here are not the original release: they were converted to the MLX-Gen saved-weight layout: the Qwen3-VL conditioner is kept to the 50 decoder layers the model reads, and the video VAE is stored in BF16 where the release holds it in fp32, and quantized as described below. | |
| The Qwen3-VL-32B conditioner inside MiniMax-H3 is licensed under Apache 2.0. The lightx2v Turbo adapters are not part of this repository; `mlxgen download` fetches them from [`lightx2v/Minimax-h3-Turbo`](https://huggingface.co/lightx2v/Minimax-h3-Turbo) under their own terms. | |
| ## Quantization | |
| This is an MLX 8-bit checkpoint for MiniMax-H3 video generation with audio: the two large components are quantized, the small precision-critical parts are not. | |
| - q8 for the transformer attention and feed-forward linears, the text projection, the token refiner and the per-block AdaLN projections (`adaln_proj`). | |
| - q8 for the Qwen3-VL conditioner's 50 decoder layers and token embeddings. | |
| - As released: the conditioner's vision tower, which image-to-video depends on, the transformer's fp32 input and output heads, timestep MLP and final modulation (`norm_out`), and the fp32 audio VAE. | |
| - The video VAE is stored in the BF16 it runs at; the release holds it in fp32. | |
| See the [MLX-Gen quantization docs](https://github.com/lpalbou/mlx-gen/blob/main/docs/quantization.md) for the measurements behind this policy. | |
| Measured against the released 16-bit weights on three clips, its predicted video velocity differs from the 16-bit prediction 1.2 to 2.0 times as much as a 0.1% change of the prompt embedding does (audio: 1.3 to 3.0 times), and its clips keep the fine detail of the 16-bit clips (98 to 101%). Each 8-bit weight takes the nearest level of the grid that is stored, which lowers a layer's weight error by about a quarter against MLX's default choice at the same size; on whole clips that difference is within the variation between runs. | |
| ## Compatibility | |
| Requires `mlx-gen >= 0.40.0`: the memory figures and the `--stream-blocks` option on this card are those of that release. | |
| Generated with `mlx-gen 0.40.0`. | |
| Use the `mlxgen` command and Python import path for new MLX-Gen projects. | |
| ## Usage | |
| The package holds the base MiniMax-H3 weights and no adapter. `--base-model` selects the schedule at run time: | |
| | `--base-model` | Schedule | Default canvas | Steps | | |
| | --- | --- | --- | --- | | |
| | `minimax-h3-turbo-544p` | lightx2v 8-step Turbo adapter trained at 544p (recommended) | `960x544` | 8 | | |
| | `minimax-h3-turbo` | lightx2v 8-step Turbo adapter trained at 768p | `1344x768` | 8 | | |
| | omitted | Base model, no adapter | `1344x768` | 50 | | |
| Pass the same `--base-model` to `mlxgen download` so the matching Turbo adapter is cached; generation never downloads. Do not pass `--quantize` when loading this package. Add `--image-path keyframe.png` for first-frame image-to-video. Each run writes one MP4 with 24 fps video and a synchronized stereo AAC track. This repository is gated: accept the license terms on its Hugging Face page, then sign in with `hf auth login` before `mlxgen download`. | |
| Choose the package and the mode by the unified memory of the Mac. Each cell is the peak memory of a run and, where it was tested, the smallest Mac memory the run completed on: | |
| | Package | Disk | Default | `--low-ram` | `--stream-blocks --low-ram` | | |
| | --- | ---: | --- | --- | --- | | |
| | `AbstractFramework/minimax-h3-bf16` | 115.1 GiB | 54.4 GiB, ran on 96 GB | 44.0 GiB, ran on 64 GB | 11.7 GiB, ran on 32 GB | | |
| | `AbstractFramework/minimax-h3-8bit` (this package) | 64.3 GiB | 37.0 GiB, ran on 48 GB | 26.3 GiB, ran on 36 GB | 11.1 GiB, ran on 24 GB | | |
| | `AbstractFramework/minimax-h3-4bit` | 44.9 GiB | 32.5 GiB | 21.9 GiB, ran on 32 GB | not measured | | |
| Peak memory is the whole-process footprint of one `960x544`, 124-frame, 8-step clip, measured on an Apple M5 Max with 128 GB. The smaller sizes are emulations: the same weights at the same widths ran on that Mac with the difference in RAM locked away for the whole run, not on Macs of those sizes. `--low-ram` tightens the MLX cache to 1 GB and frees the transformer before the decode. `--stream-blocks` reads each transformer block from disk for the length of its call instead of holding the transformer in memory; every step then reads the blocks again, which added about 3% to a step on average from an internal SSD. The three modes produce the same clip. Close other memory-heavy applications on a machine at the low end of a range; longer clips and larger canvases need more. | |
| [MiniMax-H3 memory, speed and quantization](https://github.com/lpalbou/mlx-gen/blob/main/docs/minimax-h3-memory.md) explains what a run holds in memory, lists every tested machine size, and compares each width with the 16-bit weights. | |
| See the [MiniMax-H3 guide](https://github.com/lpalbou/mlx-gen/blob/main/docs/minimax-h3.md) for prompting, sizing, measured runtime and limits. | |
| ```bash | |
| python -m pip install -U mlx-gen | |
| mlxgen download --model AbstractFramework/minimax-h3-8bit --base-model minimax-h3-turbo-544p | |
| mlxgen generate \ | |
| --model AbstractFramework/minimax-h3-8bit \ | |
| --base-model minimax-h3-turbo-544p \ | |
| --prompt "A red fox trots through fresh powder snow in a birch forest at dawn. Halfway through the clip it stops, ears twitching toward the camera, then bounds forward." \ | |
| --soundscape "Soft crunch of paws in dry snow, a faint wind, two distant crow caws." \ | |
| --music "Sparse, gentle piano notes, slow tempo." \ | |
| --seed 42 \ | |
| --metadata \ | |
| --output fox.mp4 | |
| ``` | |
| On a Mac with less memory than the default mode needs, add `--low-ram`, and then `--stream-blocks`. | |
| ## Attribution | |
| MLX-Gen is based on [mflux](https://github.com/filipstrand/mflux) by Filip Strand and the original mflux contributors. This model card is generated by MLX-Gen so derived checkpoints keep that attribution visible. | |
| Quantized and contributed by [@lpalbou](https://huggingface.co/lpalbou). | |