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
test 8d6ea3f
zR commited on
update gpu memory cost d2b1ebe
zR commited on
change qingying page d16a569
zR commited on
ao typo (#3) 35871ed verified
for release c08ffac
zR commited on
test release 0105673
zR commited on
update 17ab7f9
zR commited on
test 99eaacc
zR commited on
test a190ef4
zR commited on
zh path 33b90ca
zR commited on
init 4e56534
Ubuntu commited on
initial commit 17e792a verified
zR commited on