Instructions to use YiYiXu/a2-distilled-diffusers-testing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use YiYiXu/a2-distilled-diffusers-testing with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("YiYiXu/a2-distilled-diffusers-testing", 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
| { | |
| "_class_name": "WanAnimate2Transformer3DModel", | |
| "_diffusers_version": "0.40.0.dev0", | |
| "cross_attn_norm": true, | |
| "dim": 5120, | |
| "eps": 1e-06, | |
| "ffn_dim": 13824, | |
| "freq_dim": 256, | |
| "in_dim": 36, | |
| "num_heads": 40, | |
| "num_layers": 40, | |
| "out_dim": 16, | |
| "patch_size": [ | |
| 1, | |
| 2, | |
| 2 | |
| ], | |
| "refer_offset_h": 0, | |
| "refer_offset_t": 1, | |
| "refer_offset_w": -1, | |
| "refer_stride": 1, | |
| "text_dim": 4096, | |
| "text_len": 512, | |
| "use_img_emb": true | |
| } | |