DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to make 5 s audio-video clips on an 8 GB consumer GPU with DMAD

Use the --low-vram path to run the DMAD students on an 8 GB GPU by streaming weights from the checkpoint files.

Short answer: Complete the environment and checkpoint setup from the README, including the MiniMax-H3 download and the lora_critic checkpoint; then pick a prompt and write it to a text file, one prompt per line, for example prompts/dmad_sweater.txt. All steps.

  • Content
  • Advanced
  • 3 hours
  • From the README
  • Any agent

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

  1. Complete the environment and checkpoint setup from the README, including the MiniMax-H3 download and the lora_critic checkpoint.
  2. Pick a prompt and write it to a text file, one prompt per line, for example prompts/dmad_sweater.txt.
  3. 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)
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer