Views
No views yet
mlx.nn.quantize for smaller-RAM Macs.| DiT | 8-bit quantized (group_size=64, skip final_layer.linear + embedders + AdaLN) |
| DiT shards | ~18 GB (4 shards) |
| umT5 / Whisper / VAE | bf16 (unchanged from the bf16-dmd-merged variant) |
| Total disk | ~31 GB |
| Min unified memory | ~32 GB |
| Inference | 8-step DMD distilled (unchanged) |
| License | MIT |
| Variant | Wall clock | ms/frame |
|---|---|---|
| bf16-dmd-merged | ~105 s | ~3.6 s |
| q4-dmd-merged | ~102 s | ~3.5 s |
| q8-dmd-merged | ~151 s | ~5.2 s |
longcat_video_avatar.pipeline_mlx.LongCatAvatarPipeline)
auto-detects the quantization block in dit/config.json and applies
mlx.nn.quantize before loading the quantized weights. No user-facing API
change vs. the bf16 variant.1hf download mlx-community/LongCat-Video-Avatar-1.5-q8-dmd-merged \
2 --local-dir ./weights
3.venv/bin/python scripts/run_inference.py \
4 --weights ./weights/.. \
5 --variant q8-merged \
6 --num-frames 93 \
7 --out output.mp4recipes/convert_longcat_avatar.py.
Run with --variant q8-merged --out <dir> to reproduce from Meituan's
PT sources.