Instructions to use zai-org/CogView4-6B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use zai-org/CogView4-6B 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/CogView4-6B", 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
- Local Apps
- Draw Things
- DiffusionBee
Commit History
remove 2048*2048 63a52b7
Yuxuan Zhang commited on
update fdddd50
Yuxuan Zhang commited on
update tabel 6405360
Yuxuan Zhang commited on
update tabel 7c9c17e
Yuxuan Zhang commited on
update 71306a5
Yuxuan Zhang commited on
“12” fb6f572
Ubuntu commited on
initial commit 76bed6b verified
zR commited on