Who it is forA hobbyist or small studio with a consumer GPU of about 8 GB who cannot use the 80 GB default path.
The problemThe default inference path needs an 80 GB GPU, which puts MiniMax-H3 out of reach on consumer hardware.
The outcome5 s videos with native stereo audio, made in under 7 GiB of GPU memory with the --low-vram path.
What you need first
- A CUDA GPU: 80 GB for the default path, 8 GB and up with --low-vram
- Python 3.12 with conda and PyTorch for CUDA 12.6
- About 170 GB of free disk space for the MiniMax-H3 base components
- A Hugging Face account that has accepted the MiniMax H3 Community License
Steps
- Complete the environment and checkpoint setup from the README, including the MiniMax-H3 download and the lora_critic checkpoint.
- Pick a prompt and write it to a text file, one prompt per line, for example
prompts/dmad_sweater.txt. - Run
python inference.py --model-dir models/MiniMax-H3 --lora ckpt/minimax_h3/dmad_minimax_h3_4step_lora_critic.safetensors --prompt-file prompts/dmad_sweater.txt --seed 42 --low-vram 8 --num-frames 124 --output-dir outputs/low_vram. (inferred, check the README) - Check the output folder for the MP4 files and the settings.json record.
Prompt for your agent
In the Yzmblog/DMAD repo, run inference.py with --low-vram 8 and the lora_critic checkpoint on the prompt file <prompt_file>, writing to outputs/<name>. Expected output: 5 s MP4 clips with audio in the output folder. Verify that the run finished without an out-of-memory error and that settings.json lists the low-vram setting.
Caveat. The README states the 8 GB path is bit-identical to larger-GPU runs for 5 s videos, but the run still depends on a large host disk for the model files and the first run is slow.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Yzmblog/DMAD and "Make 5 s audio-video clips on an 8 GB consumer GPU"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer