Instructions to use zai-org/CogVideoX1.5-5B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use zai-org/CogVideoX1.5-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/CogVideoX1.5-5B", 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
- Xet hash:
- af78036b5f767a0bd01c93a183a6c9c76d4085b1b56f99bdd12c7b06a80c2dc2
- Size of remote file:
- 5 GB
- SHA256:
- 7309a33cd1780b20e3d84b2e14585d7a64ccea45079aecc86c507e381e00ed14
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.