Run this model with HF Jobs
Run diffusers/motion-adapter-test on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/diffusers/motion-adapter-test. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/diffusers/motion-adapter-test on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use diffusers/motion-adapter-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/motion-adapter-test with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers/motion-adapter-test", 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
Download config.json from diffusers/motion-adapter-test: direct link, hf CLI and curl.
- Browser
- Download file 423 Bytes
-
https://huggingface.co/diffusers/motion-adapter-test/resolve/main/config.json
- Command line
-
hf download hf://diffusers/motion-adapter-test/config.json
-
curl -L -o config.json https://huggingface.co/diffusers/motion-adapter-test/resolve/main/config.json
423 Bytes
| { | |
| "_class_name": "MotionAdapter", | |
| "_diffusers_version": "0.22.0.dev0", | |
| "block_out_channels": [ | |
| 320, | |
| 640, | |
| 1280, | |
| 1280 | |
| ], | |
| "motion_activation_fn": "geglu", | |
| "motion_attention_bias": false, | |
| "motion_cross_attention_dim": null, | |
| "motion_layers_per_block": 2, | |
| "motion_max_seq_length": 32, | |
| "motion_mid_block_layers_per_block": 1, | |
| "motion_norm_num_groups": 32, | |
| "motion_num_attention_heads": 8 | |
| } | |