THUDM / CogView3-Plus-3B

huggingface.co
Total runs: 82
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: October 12 2024
text-to-image

Introduction of CogView3-Plus-3B

Model Details of CogView3-Plus-3B

CogView3-Plus-3B

📄 中文阅读 | 🤗 Hugging Face Space | 🌐 Github | 📜 arxiv

📍 Visit Qingyan and API Platform to experience larger-scale commercial video generation models.

Inference Requirements and Model Overview

This model is the DiT version of CogView3, a text-to-image generation model, supporting image generation from 512 to 2048px.

  • Resolution: Width and height must meet the range from 512px to 2048px and must be divisible by 32.
  • Inference Speed: 1s / step (tested on A100)
  • Precision: BF16 / FP32 (FP16 is not supported, as it leads to overflow causing black images)
Memory Consumption

We tested memory consumption at several common resolutions on A100 devices, batchsize=1, BF16 , as shown in the table below:

分辨率 enable_model_cpu_offload OFF enable_model_cpu_offload ON
512 * 512 19GB 11GB
720 * 480 20GB 11GB
1024 * 1024 23GB 11GB
1280 * 720 24GB 11GB
2048 * 2048 25GB 11GB
Quick Start

First, ensure the diffusers library is installed from source .

pip install git+https://github.com/huggingface/diffusers.git

Then, run the following code:

from diffusers import CogView3PlusPipeline
import torch

pipe = CogView3PlusPipeline.from_pretrained("THUDM/CogView3-Plus-3B", torch_dtype=torch.float16).to("cuda")

# Enable it to reduce GPU memory usage
pipe.enable_model_cpu_offload()
pipe.vae.enable_slicing()
pipe.vae.enable_tiling()

prompt = "A vibrant cherry red sports car sits proudly under the gleaming sun, its polished exterior smooth and flawless, casting a mirror-like reflection. The car features a low, aerodynamic body, angular headlights that gaze forward like predatory eyes, and a set of black, high-gloss racing rims that contrast starkly with the red. A subtle hint of chrome embellishes the grille and exhaust, while the tinted windows suggest a luxurious and private interior. The scene conveys a sense of speed and elegance, the car appearing as if it's about to burst into a sprint along a coastal road, with the ocean's azure waves crashing in the background."
image = pipe(
    prompt=prompt,
    guidance_scale=7.0,
    num_images_per_prompt=1,
    num_inference_steps=50,
    width=1024,
    height=1024,
).images[0]

image.save("cogview3.png")

For more content and to download the original SAT weights, please visit our GitHub .

Citation

🌟 If you find our work helpful, feel free to cite our paper and leave a star:

@article{zheng2024cogview3,
  title={Cogview3: Finer and faster text-to-image generation via relay diffusion},
  author={Zheng, Wendi and Teng, Jiayan and Yang, Zhuoyi and Wang, Weihan and Chen, Jidong and Gu, Xiaotao and Dong, Yuxiao and Ding, Ming and Tang, Jie},
  journal={arXiv preprint arXiv:2403.05121},
  year={2024}
}
Model License

This Model is released under the Apache 2.0 License .

Runs of THUDM CogView3-Plus-3B on huggingface.co

82
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About CogView3-Plus-3B huggingface.co Model

More CogView3-Plus-3B license Visit here:

https://choosealicense.com/licenses/apache-2.0

CogView3-Plus-3B huggingface.co

CogView3-Plus-3B huggingface.co is an AI model on huggingface.co that provides CogView3-Plus-3B's model effect (), which can be used instantly with this THUDM CogView3-Plus-3B model. huggingface.co supports a free trial of the CogView3-Plus-3B model, and also provides paid use of the CogView3-Plus-3B. Support call CogView3-Plus-3B model through api, including Node.js, Python, http.

CogView3-Plus-3B huggingface.co Url

https://huggingface.co/THUDM/CogView3-Plus-3B

THUDM CogView3-Plus-3B online free

CogView3-Plus-3B huggingface.co is an online trial and call api platform, which integrates CogView3-Plus-3B's modeling effects, including api services, and provides a free online trial of CogView3-Plus-3B, you can try CogView3-Plus-3B online for free by clicking the link below.

THUDM CogView3-Plus-3B online free url in huggingface.co:

https://huggingface.co/THUDM/CogView3-Plus-3B

CogView3-Plus-3B install

CogView3-Plus-3B is an open source model from GitHub that offers a free installation service, and any user can find CogView3-Plus-3B on GitHub to install. At the same time, huggingface.co provides the effect of CogView3-Plus-3B install, users can directly use CogView3-Plus-3B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

CogView3-Plus-3B install url in huggingface.co:

https://huggingface.co/THUDM/CogView3-Plus-3B

Url of CogView3-Plus-3B

CogView3-Plus-3B huggingface.co Url

Provider of CogView3-Plus-3B huggingface.co

THUDM
ORGANIZATIONS

Other API from THUDM

huggingface.co

Total runs: 659.2K
Run Growth: 0
Growth Rate: 0.00%
Updated:December 05 2024
huggingface.co

Total runs: 611.5K
Run Growth: 0
Growth Rate: 0.00%
Updated:August 04 2024
huggingface.co

Total runs: 243.1K
Run Growth: 0
Growth Rate: 0.00%
Updated:March 11 2025
huggingface.co

Total runs: 95.0K
Run Growth: 0
Growth Rate: 0.00%
Updated:March 13 2025
huggingface.co

Total runs: 69.6K
Run Growth: 0
Growth Rate: 0.00%
Updated:November 23 2024
huggingface.co

Total runs: 28.0K
Run Growth: 0
Growth Rate: 0.00%
Updated:March 03 2025
huggingface.co

Total runs: 23.6K
Run Growth: 0
Growth Rate: 0.00%
Updated:November 23 2024
huggingface.co

Total runs: 15.8K
Run Growth: 0
Growth Rate: 0.00%
Updated:April 14 2025
huggingface.co

Total runs: 6.5K
Run Growth: 0
Growth Rate: 0.00%
Updated:December 19 2023
huggingface.co

Total runs: 6.0K
Run Growth: 0
Growth Rate: 0.00%
Updated:October 25 2024
huggingface.co

Total runs: 4.8K
Run Growth: 0
Growth Rate: 0.00%
Updated:April 22 2025
huggingface.co

Total runs: 3.3K
Run Growth: 0
Growth Rate: 0.00%
Updated:January 02 2025
huggingface.co

Total runs: 2.8K
Run Growth: 0
Growth Rate: 0.00%
Updated:August 04 2024
huggingface.co

Total runs: 993
Run Growth: 0
Growth Rate: 0.00%
Updated:October 20 2023
huggingface.co

Total runs: 928
Run Growth: 0
Growth Rate: 0.00%
Updated:October 20 2023
huggingface.co

Total runs: 853
Run Growth: 0
Growth Rate: 0.00%
Updated:January 27 2025
huggingface.co

Total runs: 607
Run Growth: 0
Growth Rate: 0.00%
Updated:January 02 2025
huggingface.co

Total runs: 299
Run Growth: 0
Growth Rate: 0.00%
Updated:March 02 2023
huggingface.co

Total runs: 188
Run Growth: 0
Growth Rate: 0.00%
Updated:August 04 2024
huggingface.co

Total runs: 167
Run Growth: 0
Growth Rate: 0.00%
Updated:October 20 2023
huggingface.co

Total runs: 119
Run Growth: 0
Growth Rate: 0.00%
Updated:December 10 2024
huggingface.co

Total runs: 75
Run Growth: 0
Growth Rate: 0.00%
Updated:November 20 2023
huggingface.co

Total runs: 62
Run Growth: 0
Growth Rate: 0.00%
Updated:July 09 2025
huggingface.co

Total runs: 43
Run Growth: 0
Growth Rate: 0.00%
Updated:July 09 2025
huggingface.co

Total runs: 43
Run Growth: 0
Growth Rate: 0.00%
Updated:July 24 2023
huggingface.co

Total runs: 28
Run Growth: 0
Growth Rate: 0.00%
Updated:July 09 2025
huggingface.co

Total runs: 25
Run Growth: 0
Growth Rate: 0.00%
Updated:March 02 2023
huggingface.co

Total runs: 14
Run Growth: 0
Growth Rate: 0.00%
Updated:July 24 2023
huggingface.co

Total runs: 12
Run Growth: 0
Growth Rate: 0.00%
Updated:July 22 2024