Instructions to use xcx123456/syn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use xcx123456/syn with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("xcx123456/syn", torch_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 +4 -6
- diffusion_pytorch_model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
{
|
| 2 |
-
"_class_name": "
|
| 3 |
"_diffusers_version": "0.37.0.dev0",
|
| 4 |
-
"_name_or_path": "/home/notebook/data/group/gyj/code/wan2.1_camctrl/train_out/resample5600_history/checkpoint-2800",
|
| 5 |
"added_kv_proj_dim": null,
|
| 6 |
"attention_head_dim": 128,
|
| 7 |
"cross_attn_norm": true,
|
|
@@ -11,8 +10,8 @@
|
|
| 11 |
"freq_dim": 256,
|
| 12 |
"hidden_channels": 36,
|
| 13 |
"in_channels": 6,
|
| 14 |
-
"num_attention_heads":
|
| 15 |
-
"num_layers":
|
| 16 |
"out_proj_dim": 5120,
|
| 17 |
"patch_size": [
|
| 18 |
1,
|
|
@@ -21,6 +20,5 @@
|
|
| 21 |
],
|
| 22 |
"qk_norm": "rms_norm_across_heads",
|
| 23 |
"rope_max_seq_len": 1024,
|
| 24 |
-
"text_dim": 4096
|
| 25 |
-
"vae_channels": 16
|
| 26 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_class_name": "WanControlnet",
|
| 3 |
"_diffusers_version": "0.37.0.dev0",
|
|
|
|
| 4 |
"added_kv_proj_dim": null,
|
| 5 |
"attention_head_dim": 128,
|
| 6 |
"cross_attn_norm": true,
|
|
|
|
| 10 |
"freq_dim": 256,
|
| 11 |
"hidden_channels": 36,
|
| 12 |
"in_channels": 6,
|
| 13 |
+
"num_attention_heads": 16,
|
| 14 |
+
"num_layers": 8,
|
| 15 |
"out_proj_dim": 5120,
|
| 16 |
"patch_size": [
|
| 17 |
1,
|
|
|
|
| 20 |
],
|
| 21 |
"qk_norm": "rms_norm_across_heads",
|
| 22 |
"rope_max_seq_len": 1024,
|
| 23 |
+
"text_dim": 4096
|
|
|
|
| 24 |
}
|
diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de2b95409cde0ce05bffa2f99df96c3b047529c14e4034ae55fffc71639da187
|
| 3 |
+
size 1111405800
|