LongCat Video Avatar 1.5 Q4 Dmd Merged
Part of the LongCat-Video-Avatar 1.5 — MLX collection.
Source du modèle
- Type
- Other
- Taille du fichier
- 242 MB–5,00 GB
- Modèle de base
- mlx-community/LongCat-Video-Avatar-1.5-bf16-dmd-merged
- Version
- vRevision 5d5b5d6
- Mis à jour
- 27 sept. 2026
- Téléchargements
- 0
- Source
- Hugging Face
Extrait de la source
Part of the LongCat-Video-Avatar 1.5 — MLX collection.
Sources
1 source
Sources
1 sourceVérifié 30 août
Artefacts du modèle
8 artefacts
Artefacts du modèle
8 artefactsaudio_encoder/model.safetensors
safetensors · 1,19 GB · SHA-256 98c4d9383b36…49f4 · Hugging Face
Téléchargerdit/diffusion_pytorch_model-00001-of-00003.safetensors
safetensors · 5,00 GB · SHA-256 cc3097b4bd13…deea · Hugging Face
Téléchargerdit/diffusion_pytorch_model-00002-of-00003.safetensors
safetensors · 5,00 GB · SHA-256 8998e1195fcc…7218 · Hugging Face
Téléchargerdit/diffusion_pytorch_model-00003-of-00003.safetensors
safetensors · 1,28 GB · SHA-256 91b48ab3a5ca…b1f7 · Hugging Face
Téléchargertext_encoder/model-00001-of-00003.safetensors
safetensors · 4,99 GB · SHA-256 1fd77f642f83…523a · Hugging Face
Téléchargertext_encoder/model-00002-of-00003.safetensors
safetensors · 4,97 GB · SHA-256 931572113c23…e777 · Hugging Face
Téléchargertext_encoder/model-00003-of-00003.safetensors
safetensors · 640 MB · SHA-256 c4b520e7d61e…869b · Hugging Face
Téléchargervae/diffusion_pytorch_model.safetensors
safetensors · 242 MB · SHA-256 8a176c483e04…fa07 · Hugging Face
TéléchargerExtraits de sources
2 extraits
Extraits de sources
2 extraits--- license: mit library_name: mlx pipeline_tag: text-to-video tags: - mlx - apple-silicon - video-generation - audio-driven-video - longcat - distilled - quantized - 4-bit base_model: - mlx-community/LongCat-Video-Avatar-1.5-bf16-dmd-merged language: - en - zh --- Part of the [LongCat-Video-Avatar 1.5 — MLX](https://huggingface.co/collections/mlx-community/longcat-video-avatar-15-mlx-6a185d1af4a43074d882e375) collection. # LongCat-Video-Avatar-1.5-q4-dmd-merged (MLX) 4-bit quantized variant of [mlx-community/LongCat-Video-Avatar-1.5-bf16-dmd-merged](https://huggingface.co/mlx-community/LongCat-Video-Avatar-1.5-bf16-dmd-merged). Same model, same DMD pre-merge, same 8-step inference path — just with the DiT Linears quantized to 4-bit via `mlx.nn.quantize` for smaller-RAM Macs. | | | |---|---| | **DiT** | 4-bit quantized (`group_size=64`, skip `final_layer.linear` + embedders + AdaLN) | | **DiT shards** | ~11 GB (3 shards) | | **umT5 / Whisper / VAE** | bf16 (unchanged from the bf16-dmd-merged variant) | | **Total disk** | ~24 GB | | **Min unified memory** | ~24 GB | | **Inference** | 8-step DMD distilled (unchanged) | | **License** | MIT | ## Performance Measured on Apple M5 Max (128 GB unified memory), 256 × 432 × 29 frames, 8-step DMD sampling: | 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 | q4 is bandwidth-bound (matches bf16 throughput); q8 currently runs slower on M5's quantized matmul kernels but uses ~half the DiT disk vs bf16. Pick the variant by RAM budget, not speed. ## Loading The runtime pipeline (`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. ```bash hf download mlx-community/LongCat-Video-Avatar-1.5-q4-dmd-merged \ --local-dir ./weights .venv/bin/python scripts/run_inference.py \ --weights ./weights/.. \ --variant q4-merged \ --num-frames 93 \ --out output.mp4 ``` ## Source Quantized from the bf16-dmd-merged variant via [`recipes/convert_longcat_avatar.py`](https://github.com/xocialize/longcat-avatar-mlx/blob/main/recipes/convert_longcat_avatar.py). Run with `--variant q4-merged --out <dir>` to reproduce from Mei...
Source context: 0 downloads · 2 likes · Pipeline text-to-video · Library mlx · Repo mlx-community/LongCat-Video-Avatar-1.5-q4-dmd-merged
