Instructions to use alibaba-pai/EasyAnimateV5.1-12b-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use alibaba-pai/EasyAnimateV5.1-12b-zh with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("alibaba-pai/EasyAnimateV5.1-12b-zh", 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
Add Diffusers metadata and improve model card discovery
#1
by nielsr HF Staff - opened
Hi! I'm Niels from the Hugging Face team. I noticed this model is now compatible with the diffusers library.
This PR updates the model card metadata to include library_name: diffusers and pipeline_tag: text-to-video. This enables the "v" icon on the Hub and provides users with automated code snippets. I've also ensured the model is linked to its research paper and official GitHub repository to improve documentation and discoverability.