Instructions to use barelymining/ComfyUI-MiniMax-H3-FastVideo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use barelymining/ComfyUI-MiniMax-H3-FastVideo with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("MiniMaxAI/MiniMax-H3,FastVideo/FastVideo-FastH3-4-step-Preview-v1-VSA-DataFree", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("barelymining/ComfyUI-MiniMax-H3-FastVideo") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Update README.md
Browse files
README.md
CHANGED
|
@@ -59,8 +59,6 @@ Converted from FastVideo's [VSA-DataFree checkpoint](https://huggingface.co/Fast
|
|
| 59 |
- Projecting `adaln_proj.linear.lora_A` from full BF16 space (`[96768, 2688]`) into the pruned model's 8-dim compressed space via least-squares fit against the base's `adaln_t_table` (residual ≈ 0 — mathematically lossless)
|
| 60 |
- Extracting `to_gate_compress.set_weight` tensors into a separate file for runtime injection
|
| 61 |
|
| 62 |
-
Conversion script (`convert_fastvideo_vsa_to_comfy.py`) is in the [node repo](https://github.com/barelymining/ComfyUI-MiniMax-H3-FastVideo) if you want to re-run it yourself.
|
| 63 |
-
|
| 64 |
## Attribution
|
| 65 |
|
| 66 |
- Original weights: [FastVideo/FastVideo-FastH3-4-step-Preview-v1-VSA-DataFree](https://huggingface.co/FastVideo/FastVideo-FastH3-4-step-Preview-v1-VSA-DataFree)
|
|
|
|
| 59 |
- Projecting `adaln_proj.linear.lora_A` from full BF16 space (`[96768, 2688]`) into the pruned model's 8-dim compressed space via least-squares fit against the base's `adaln_t_table` (residual ≈ 0 — mathematically lossless)
|
| 60 |
- Extracting `to_gate_compress.set_weight` tensors into a separate file for runtime injection
|
| 61 |
|
|
|
|
|
|
|
| 62 |
## Attribution
|
| 63 |
|
| 64 |
- Original weights: [FastVideo/FastVideo-FastH3-4-step-Preview-v1-VSA-DataFree](https://huggingface.co/FastVideo/FastVideo-FastH3-4-step-Preview-v1-VSA-DataFree)
|