Instructions to use guoyww/animatediff-motion-adapter-sdxl-beta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use guoyww/animatediff-motion-adapter-sdxl-beta with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("guoyww/animatediff-motion-adapter-sdxl-beta", 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
cannot import name 'AnimateDiffSDXLPipeline' from 'diffusers'
#1
by discolata - opened
Whenever i try to import AnimateDiffSDXLPipeline I get an error. I have the diffuser version=0.27.2.
Do you might know why it is not working?
Thank you!
The AnimateDiffSDXLPipeline is not present in the diffusers library version 0.27.2, despite being available on their GitHub repository. It is unclear why this discrepancy exists between the released version and the GitHub codebase.
!pip install git+https://github.com/huggingface/diffusers.git
use this to install diffusers and it will resolve your issue with AnimateDiffSDXLPipeline