This project hasn't been updated in a long time, so it no longer appears on the homepage, categories, or search results — the data is preserved and this page still works normally.
Back to Trending
Modeltext-to-image
PixArt-alpha

PixArt-alpha/PixArt-Sigma-XL-2-512-MS

        🐱 PixArt-Σ Model Card !row01(asset/4Kimage.jpg) Model !pipeline(asset/model.png) PixArt-Σ(https://arxiv.org/abs/2403.04692) consists of pure transformer blocks for latent diffusion: It can directly generate 1024px, 2K an...

13likes
0downloads
0views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: PixArt-Σ

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: arxiv:2309.05019

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: arxiv:2310.00426

#1 Repository Của Tháng

       

🐱 PixArt-Σ Model Card

row01

Model

pipeline

PixArt-Σ consists of pure transformer blocks for latent diffusion: It can directly generate 1024px, 2K and 4K images from text prompts within a single sampling process.

Source code is available at https://github.com/PixArt-alpha/PixArt-sigma.

Model Description

Model Sources

For research purposes, we recommend our generative-models Github repository (https://github.com/PixArt-alpha/PixArt-sigma), which is more suitable for both training and inference and for which most advanced diffusion sampler like SA-Solver will be added over time. Hugging Face provides free PixArt-Σ inference.

🧨 Diffusers

[!IMPORTANT]
Make sure to upgrade diffusers to >= 0.28.0:

pip install -U diffusers --upgrade

In addition make sure to install transformers, safetensors, sentencepiece, and accelerate:

pip install transformers accelerate safetensors sentencepiece

For diffusers<0.28.0, check this script for help.

To just use the base model, you can run:

import torch
from diffusers import Transformer2DModel, PixArtSigmaPipeline

device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
weight_dtype = torch.float16

pipe = PixArtSigmaPipeline.from_pretrained(
    "PixArt-alpha/PixArt-Sigma-XL-2-1024-MS", 
    torch_dtype=weight_dtype,
    use_safetensors=True,
)
pipe.to(device)

# Enable memory optimizations.
# pipe.enable_model_cpu_offload()

prompt = "A small cactus with a happy face in the Sahara desert."
image = pipe(prompt).images[0]
image.save("./catcus.png")

When using torch >= 2.0, you can improve the inference speed by 20-30% with torch.compile. Simple wrap the unet with torch compile before running the pipeline:

pipe.transformer = torch.compile(pipe.transformer, mode="reduce-overhead", fullgraph=True)

If you are limited by GPU VRAM, you can enable cpu offloading by calling pipe.enable_model_cpu_offload instead of .to("cuda"):

- pipe.to("cuda")
+ pipe.enable_model_cpu_offload()

For more information on how to use PixArt-Σ with diffusers, please have a look at the PixArt-Σ Docs.

Uses

Direct Use

The model is intended for research purposes only. Possible research areas and tasks include

  • Generation of artworks and use in design and other artistic processes.

  • Applications in educational or creative tools.

  • Research on generative models.

  • Safe deployment of models which have the potential to generate harmful content.

  • Probing and understanding the limitations and biases of generative models.

Excluded uses are described below.

Out-of-Scope Use

The model was not trained to be factual or true representations of people or events, and therefore using the model to generate such content is out-of-scope for the abilities of this model.

Limitations and Bias

Limitations

  • The model does not achieve perfect photorealism
  • The model cannot render legible text
  • The model struggles with more difficult tasks which involve compositionality, such as rendering an image corresponding to “A red cube on top of a blue sphere”
  • fingers, .etc in general may not be generated properly.
  • The autoencoding part of the model is lossy.

Bias

While the capabilities of image generation models are impressive, they can also reinforce or exacerbate social biases.

Similar Projects

Discover other similar projects and AI models.

Modeltext-to-image
stabilityai/stable-diffusion-xl-base-1.0

SD-XL 1.0-base Model Card !row01(01.png) Model !pipeline(pipeline.png) SDXL(https://arxiv.org/abs/2307.01952) consists of an ensemble of experts(https://arxiv.org/abs/2211.01324) pipeline for latent diffusion: In a first step, the base model is used...

♥0
4.2M
Oct 30, 2023
Modeltext-to-image
CompVis/stable-diffusion-v1-4

Stable Diffusion v1-4 Model Card Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input. For more information about how Stable Diffusion functions, please have a look at 🤗's Stab...

♥0
483.6k
Aug 23, 2023
Modeltext-to-image
black-forest-labs/FLUX.1-dev

!FLUX.1 dev Grid(./devgrid.jpg) FLUX.1 dev is a 12 billion parameter rectified flow transformer capable of generating images from text descriptions. For more information, please read our blog post(https://blackforestlabs.ai/announcing-black-forest-la...

♥0
622.3k
Jun 27, 2025
Modeltext-to-image
black-forest-labs/FLUX.1-schnell

!FLUX.1 schnell Grid(./schnellgrid.jpeg) FLUX.1 schnell is a 12 billion parameter rectified flow transformer capable of generating images from text descriptions. For more information, please read our blog post(https://blackforestlabs.ai/announcing-bl...

♥0
495.1k
Aug 16, 2024
Modeltext-to-image
Tongyi-MAI/Z-Image-Turbo

⚡️- ImageAn Efficient Image Generation Foundation Model with Single-Stream Diffusion Transformer !Official Site(https://img.shields.io/badge/Official%20Site-333399.svg?logo=homepage)(https://tongyi-mai.github.io/Z-Image-blog/)&160; !GitHub(https://im...

♥0
707.5k
Jan 30, 2026
Modeltext-to-image
ByteDance/SDXL-Lightning

SDXL-Lightning !Intro Image(sdxllightningsamples.jpg) SDXL-Lightning is a lightning-fast text-to-image generation model. It can generate high-quality 1024px images in a few steps. For more information, please refer to our research paper: SDXL-Lightn...

♥0
156.7k
Apr 3, 2024
Modeltext-to-image
abenzerps/Qwen-Image-2.1-Uncensored-Quantized

!🤗 Model Requests(https://img.shields.io/badge/%F0%9F%A4%97ModelRequests-SubmitHere-f59e0b?style=for-the-badge&labelColor=1f2937)(https://abenzerps.com/request-a-model/) Qwen-Image-2.1 Uncensored Quantized GGUF, Safetensors, and MLX quantized format...

♥0
2.2M
Oct 12, 2026
Modeltext-to-image
abenzerps/Qwen-Image-2.1-Uncensored-GGUF

!IMPORTANT The uncensored GGUFs are now available! If you encounter any issues or would like to share your generated images, feel free to post them in the Community section. Qwen-Image-2.1 Uncensored GGUF GGUF quantizations of Qwen/Qwen-Image-2.1(ht...

♥0
2.2M
Oct 12, 2026
Modeltext-to-image
abenzerps/Qwen-Image-2.1-GGUF

!IMPORTANT Notice: A fully uncensored version is currently in development and will be added to this repository soon. Qwen-Image-2.1 GGUF GGUF quantizations of Qwen/Qwen-Image-2.1(https://huggingface.co/Qwen/Qwen-Image-2.1) for local image generation...

♥0
2.2M
Oct 12, 2026