Instructions to use YuryyyLee/world-renderer-controlnet-only-dn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use YuryyyLee/world-renderer-controlnet-only-dn with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("YuryyyLee/world-renderer-controlnet-only-dn", 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
Upload folder using huggingface_hub
Browse files- config.json +36 -0
- diffusion_pytorch_model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "WanControlnetUnion",
|
| 3 |
+
"_diffusers_version": "0.36.0",
|
| 4 |
+
"_name_or_path": "Wan-AI/Wan2.2-TI2V-5B-Diffusers",
|
| 5 |
+
"added_kv_proj_dim": null,
|
| 6 |
+
"attention_head_dim": 128,
|
| 7 |
+
"conditioning_embedding_out_channels": [
|
| 8 |
+
16,
|
| 9 |
+
32,
|
| 10 |
+
96,
|
| 11 |
+
256
|
| 12 |
+
],
|
| 13 |
+
"control_input_channels": 48,
|
| 14 |
+
"cross_attn_norm": true,
|
| 15 |
+
"eps": 1e-06,
|
| 16 |
+
"ffn_dim": 14336,
|
| 17 |
+
"freq_dim": 256,
|
| 18 |
+
"image_dim": null,
|
| 19 |
+
"in_channels": 48,
|
| 20 |
+
"num_attention_heads": 24,
|
| 21 |
+
"num_control_type": 2,
|
| 22 |
+
"num_layers": 15,
|
| 23 |
+
"num_trans_channel": 320,
|
| 24 |
+
"num_trans_head": 8,
|
| 25 |
+
"num_trans_layer": 1,
|
| 26 |
+
"out_channels": 48,
|
| 27 |
+
"patch_size": [
|
| 28 |
+
1,
|
| 29 |
+
2,
|
| 30 |
+
2
|
| 31 |
+
],
|
| 32 |
+
"pos_embed_seq_len": null,
|
| 33 |
+
"qk_norm": "rms_norm_across_heads",
|
| 34 |
+
"rope_max_seq_len": 1024,
|
| 35 |
+
"text_dim": 4096
|
| 36 |
+
}
|
diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:149dbeed578179d730e68b95e950d7a5ecf05d52f84bbdeaebb5131a5820fa7e
|
| 3 |
+
size 5632376672
|