Instructions to use mlx-community/Phantom-Wan-1.3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/Phantom-Wan-1.3B with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir Phantom-Wan-1.3B mlx-community/Phantom-Wan-1.3B
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
| { | |
| "model": "Phantom-Wan-1.3B", | |
| "framework": "mlx", | |
| "task": "subject-to-video", | |
| "dtype": "bfloat16", | |
| "dim": 1536, | |
| "num_layers": 30, | |
| "num_heads": 12, | |
| "in_dim": 16, | |
| "patch_size": [ | |
| 1, | |
| 2, | |
| 2 | |
| ], | |
| "cross_attention_dim": 4096, | |
| "vae_z_dim": 16, | |
| "vae_stride": [ | |
| 4, | |
| 8, | |
| 8 | |
| ], | |
| "quantization_4bit": { | |
| "group_size": 64, | |
| "bits": 4, | |
| "skip": [ | |
| "patch_embedding_proj", | |
| "text_embedding", | |
| "time_embedding", | |
| "time_projection", | |
| "head" | |
| ], | |
| "cosine_vs_bf16": 0.99633 | |
| }, | |
| "sample": { | |
| "shift": 5.0, | |
| "steps": 50, | |
| "guide_img": 5.0, | |
| "guide_text": 7.5, | |
| "fps": 16 | |
| } | |
| } |