Instructions to use lightx2v/Minimax-h3-Turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lightx2v/Minimax-h3-Turbo 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("lightx2v/Minimax-h3-Turbo", 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_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors: ValueError: buffer length (193303 bytes) after offset (0 bytes) must be a multiple of element size (2)
#19
by light-and-ray - opened
Hello, thanks for releasing the 4 steps version of v1.0!
In ComfyUI I'm getting this error in Load LoRA node:
ValueError: buffer length (193303 bytes) after offset (0 bytes) must be a multiple of element size (2)
Hi! This looks like an incomplete or corrupted download, not a format issue.
Expected file size: 1,956,192,992 bytes
SHA-256: c396a9a06f58399e9df9754b18299818d84a2ddd371724ba48fe4a41221437dc
Please verify the local file and re-download it if the size or hash differs.
Thanks. I re-downloaded, and now it works
light-and-ray changed discussion status to closed