Instructions to use hf-internal-testing/tiny-wan-animate-transformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hf-internal-testing/tiny-wan-animate-transformer with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hf-internal-testing/tiny-wan-animate-transformer", 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 model
Browse files- config.json +2 -2
- diffusion_pytorch_model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "WanAnimateTransformer3DModel",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"added_kv_proj_dim": 5120,
|
| 5 |
"attention_head_dim": 128,
|
| 6 |
"cross_attn_norm": true,
|
|
@@ -11,7 +11,7 @@
|
|
| 11 |
"freq_dim": 256,
|
| 12 |
"image_dim": 1280,
|
| 13 |
"in_channels": 36,
|
| 14 |
-
"inject_face_latents_blocks":
|
| 15 |
"latent_channels": 16,
|
| 16 |
"motion_dim": 20,
|
| 17 |
"motion_encoder_batch_size": 8,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "WanAnimateTransformer3DModel",
|
| 3 |
+
"_diffusers_version": "0.38.0.dev0",
|
| 4 |
"added_kv_proj_dim": 5120,
|
| 5 |
"attention_head_dim": 128,
|
| 6 |
"cross_attn_norm": true,
|
|
|
|
| 11 |
"freq_dim": 256,
|
| 12 |
"image_dim": 1280,
|
| 13 |
"in_channels": 36,
|
| 14 |
+
"inject_face_latents_blocks": 2,
|
| 15 |
"latent_channels": 16,
|
| 16 |
"motion_dim": 20,
|
| 17 |
"motion_encoder_batch_size": 8,
|
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:d304f778677f1f9f9b2c0af4d36866963fc0905c560b1fe138e93ca942fdb131
|
| 3 |
+
size 4779244584
|