Instructions to use zai-org/CogVideoX-5b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use zai-org/CogVideoX-5b with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("zai-org/CogVideoX-5b", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload VAE in fp32 (#23)
zR +1: a-r-r-o-w
Verified signature- Upload VAE in fp32 (8fb199d2afcf7a11a061dfa444bbe111946ce806) - Update vae/config.json (e9a47b4ae6021ab0a42de014f78e453192aebf2e) Co-authored-by: Aryan V S <a-r-r-o-w@users.noreply.huggingface.co>8fc5b28
-
init
Ubuntu4e56534