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
-
ao typo
Verified signatureminor fix46fa060 -
Add quantization examples using torchao and quanto (#2)
zR +1: a-r-r-o-w
Verified signature- Add quantization examples using torchao and quanto (af6c70af3ff1bdfb8bbfaeee17aff970c52a0eb0) - Update README.md (b431862528b050b3f0493a28b8d4a5130113c6ec) - Update README.md (cfce540899efa9f283b23162d121355267c47683) Co-authored-by: Aryan V S <a-r-r-o-w@users.noreply.huggingface.co>eb62d3d
-
Update transformers version (#1)
zR +1: lysandre Verified signature- Update transformers version (4b86495ffb7c44a649485c146b51c97e9737dd5b) Co-authored-by: Lysandre <lysandre@users.noreply.huggingface.co>f854f4b -
for release
zRc08ffac
-
test release
zR0105673
-
update
zR17ab7f9
-
test
zR99eaacc -
test
zRa190ef4 -
zh path
zR33b90ca -
init
Ubuntu4e56534
-
initial commit
zRVerified signature17e792a