Instructions to use rickylin20260522/Wan2.2-TI2V-5B-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use rickylin20260522/Wan2.2-TI2V-5B-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir Wan2.2-TI2V-5B-mlx rickylin20260522/Wan2.2-TI2V-5B-mlx
- Wan2.2
How to use rickylin20260522/Wan2.2-TI2V-5B-mlx with Wan2.2:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
Create config.json
Browse files- config.json +48 -0
config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "ti2v",
|
| 3 |
+
"model_version": "2.2",
|
| 4 |
+
"patch_size": [
|
| 5 |
+
1,
|
| 6 |
+
2,
|
| 7 |
+
2
|
| 8 |
+
],
|
| 9 |
+
"text_len": 512,
|
| 10 |
+
"in_dim": 48,
|
| 11 |
+
"dim": 3072,
|
| 12 |
+
"ffn_dim": 14336,
|
| 13 |
+
"freq_dim": 256,
|
| 14 |
+
"text_dim": 4096,
|
| 15 |
+
"out_dim": 48,
|
| 16 |
+
"num_heads": 24,
|
| 17 |
+
"num_layers": 30,
|
| 18 |
+
"window_size": [
|
| 19 |
+
-1,
|
| 20 |
+
-1
|
| 21 |
+
],
|
| 22 |
+
"qk_norm": true,
|
| 23 |
+
"cross_attn_norm": true,
|
| 24 |
+
"eps": 1e-06,
|
| 25 |
+
"vae_stride": [
|
| 26 |
+
4,
|
| 27 |
+
16,
|
| 28 |
+
16
|
| 29 |
+
],
|
| 30 |
+
"vae_z_dim": 48,
|
| 31 |
+
"dual_model": false,
|
| 32 |
+
"boundary": 0.0,
|
| 33 |
+
"sample_shift": 5.0,
|
| 34 |
+
"sample_steps": 40,
|
| 35 |
+
"sample_guide_scale": 5.0,
|
| 36 |
+
"num_train_timesteps": 1000,
|
| 37 |
+
"sample_fps": 24,
|
| 38 |
+
"frame_num": 81,
|
| 39 |
+
"sample_neg_prompt": "\u8272\u8c03\u8273\u4e3d\uff0c\u8fc7\u66dd\uff0c\u9759\u6001\uff0c\u7ec6\u8282\u6a21\u7cca\u4e0d\u6e05\uff0c\u5b57\u5e55\uff0c\u98ce\u683c\uff0c\u4f5c\u54c1\uff0c\u753b\u4f5c\uff0c\u753b\u9762\uff0c\u9759\u6b62\uff0c\u6574\u4f53\u53d1\u7070\uff0c\u6700\u5dee\u8d28\u91cf\uff0c\u4f4e\u8d28\u91cf\uff0cJPEG\u538b\u7f29\u6b8b\u7559\uff0c\u4e11\u964b\u7684\uff0c\u6b8b\u7f3a\u7684\uff0c\u591a\u4f59\u7684\u624b\u6307\uff0c\u753b\u5f97\u4e0d\u597d\u7684\u624b\u90e8\uff0c\u753b\u5f97\u4e0d\u597d\u7684\u8138\u90e8\uff0c\u7578\u5f62\u7684\uff0c\u6bc1\u5bb9\u7684\uff0c\u5f62\u6001\u7578\u5f62\u7684\u80a2\u4f53\uff0c\u624b\u6307\u878d\u5408\uff0c\u9759\u6b62\u4e0d\u52a8\u7684\u753b\u9762\uff0c\u6742\u4e71\u7684\u80cc\u666f\uff0c\u4e09\u6761\u817f\uff0c\u80cc\u666f\u4eba\u5f88\u591a\uff0c\u5012\u7740\u8d70",
|
| 40 |
+
"max_area": 901120,
|
| 41 |
+
"t5_vocab_size": 256384,
|
| 42 |
+
"t5_dim": 4096,
|
| 43 |
+
"t5_dim_attn": 4096,
|
| 44 |
+
"t5_dim_ffn": 10240,
|
| 45 |
+
"t5_num_heads": 64,
|
| 46 |
+
"t5_num_layers": 24,
|
| 47 |
+
"t5_num_buckets": 32
|
| 48 |
+
}
|