Spaces:
Runtime error
Runtime error
|
Download diffusers/docs/source/en/api/models/cogview3plus_transformer2d.md from theSure/Omnieraser: direct link, hf CLI and curl.
- Browser
- Download file 1.33 kB
-
https://huggingface.co/spaces/theSure/Omnieraser/resolve/main/diffusers/docs/source/en/api/models/cogview3plus_transformer2d.md
- Command line
-
hf download hf://spaces/theSure/Omnieraser/diffusers/docs/source/en/api/models/cogview3plus_transformer2d.md
-
curl -L -o cogview3plus_transformer2d.md https://huggingface.co/spaces/theSure/Omnieraser/resolve/main/diffusers/docs/source/en/api/models/cogview3plus_transformer2d.md
1.33 kB
A newer version of the Gradio SDK is available: 6.30.0
CogView3PlusTransformer2DModel
A Diffusion Transformer model for 2D data from CogView3Plus was introduced in CogView3: Finer and Faster Text-to-Image Generation via Relay Diffusion by Tsinghua University & ZhipuAI.
The model can be loaded with the following code snippet.
from diffusers import CogView3PlusTransformer2DModel
transformer = CogView3PlusTransformer2DModel.from_pretrained("THUDM/CogView3Plus-3b", subfolder="transformer", torch_dtype=torch.bfloat16).to("cuda")
CogView3PlusTransformer2DModel
[[autodoc]] CogView3PlusTransformer2DModel
Transformer2DModelOutput
[[autodoc]] models.modeling_outputs.Transformer2DModelOutput