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:
- c264f9094bdcb1acd5e37eb0000e330c423c7922d4be3a9051a865d42a366f5d
- Size of remote file:
- 4.87 GB
- SHA256:
- d278bf7cb4de9957cb67d8a92dc9273f88186f0c90e0f2a3de13882217d9a95c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.