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 Settings
- Draw Things
- DiffusionBee
Commit History
-
Update README.md
Verified signatureInclude torchc677ded -
remove 2048*2048
Yuxuan Zhang63a52b7
-
update
Yuxuan Zhangfdddd50 -
update tabel
Yuxuan Zhang6405360 -
update tabel
Yuxuan Zhang7c9c17e -
update
Yuxuan Zhang71306a5
-
“12”
Ubuntufb6f572 -
initial commit
zRVerified signature76bed6b