Instructions to use MIN-Lab/minWM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use MIN-Lab/minWM with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("MIN-Lab/minWM", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Delete output_bidir_training/checkpoint-3000/transformer/config.json with huggingface_hub
Browse files
output_bidir_training/checkpoint-3000/transformer/config.json
DELETED
|
@@ -1,44 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"patch_size": [
|
| 3 |
-
1,
|
| 4 |
-
1,
|
| 5 |
-
1
|
| 6 |
-
],
|
| 7 |
-
"in_channels": 32,
|
| 8 |
-
"concat_condition": true,
|
| 9 |
-
"out_channels": 32,
|
| 10 |
-
"hidden_size": 2048,
|
| 11 |
-
"heads_num": 16,
|
| 12 |
-
"mlp_width_ratio": 4,
|
| 13 |
-
"mlp_act_type": "gelu_tanh",
|
| 14 |
-
"mm_double_blocks_depth": 54,
|
| 15 |
-
"mm_single_blocks_depth": 0,
|
| 16 |
-
"rope_dim_list": [
|
| 17 |
-
16,
|
| 18 |
-
56,
|
| 19 |
-
56
|
| 20 |
-
],
|
| 21 |
-
"qkv_bias": true,
|
| 22 |
-
"qk_norm": true,
|
| 23 |
-
"qk_norm_type": "rms",
|
| 24 |
-
"guidance_embed": false,
|
| 25 |
-
"use_meanflow": false,
|
| 26 |
-
"text_projection": "single_refiner",
|
| 27 |
-
"use_attention_mask": true,
|
| 28 |
-
"text_states_dim": 3584,
|
| 29 |
-
"text_states_dim_2": null,
|
| 30 |
-
"text_pool_type": null,
|
| 31 |
-
"rope_theta": 256,
|
| 32 |
-
"attn_mode": "flash",
|
| 33 |
-
"attn_param": null,
|
| 34 |
-
"glyph_byT5_v2": true,
|
| 35 |
-
"vision_projection": "linear",
|
| 36 |
-
"vision_states_dim": 1152,
|
| 37 |
-
"is_reshape_temporal_channels": false,
|
| 38 |
-
"use_cond_type_embedding": true,
|
| 39 |
-
"ideal_resolution": "480p",
|
| 40 |
-
"ideal_task": "i2v",
|
| 41 |
-
"_class_name": "ARHunyuanVideo_1_5_DiffusionTransformer",
|
| 42 |
-
"_diffusers_version": "0.35.0",
|
| 43 |
-
"_name_or_path": "/mnt/vepfs/base2/zhouzihan/.cache/huggingface/hub/models--tencent--HunyuanVideo-1.5/snapshots/9b49404b3f5df2a8f0b31df27a0c7ab872e7b038/transformer/480p_i2v"
|
| 44 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|