Downloads · 30 days
0
MCG-NJU/PixNerd-XXL-P16-T2I
PixNerd-XXL-P16-T2I is a text-to-image model from MCG-NJU. Use it when you need an image from a text prompt. It is set up for transformers. The card lists the license as apache-2.0.
<div style="text-align: center;" <a href="https://huggingface.co/papers/2507.23268"<img src="https://img.shields.io/badge/arXiv-2507.23268-b31b1b.svg" alt="arXiv"</a <a href="https://huggingface.co/spaces/MCG-NJU/PixN…
Downloads · 30 days
0
Access
Public
Updated Aug 5, 2025
Repo size
4.7 GB
Likes
12
Public
Click a slice to open those files.
.ckpt4.7 GB · 100%
From the Hugging Face model README

The current success of diffusion transformers heavily depends on the compressed latent space shaped by the pre-trained variational autoencoder (VAE). However, this two-stage training paradigm inevitably introduces accumulated errors and decoding artifacts. To address these problems, we propose PixNerd: Pixel Neural Field Diffusion, a single-scale, single-stage, efficient, end-to-end solution for image generation.
PixNerd is a powerful and efficient pixel-space diffusion transformer that directly operates without a VAE. It employs a neural field to model patch-wise decoding, improving high-frequency modeling.

Deeply sorry for this mistake, the single-step inference time of SiT-L/2 and Baseline-L is missing a zero (0.097s vs 0.0097s). The single-step inference time of PixNerd and Baseline is close.

| Dataset | Model | Params | GenEval | DPG | HuggingFace |
|---|---|---|---|---|---|
| Text-to-Image | PixNerd-XXL/16 | 1.2B | 0.73 | 80.9 | 🤗 |
We provide online demos for PixNerd-XXL/16 (text-to-image) on HuggingFace Spaces.
HF spaces: https://huggingface.co/spaces/MCG-NJU/PixNerd
To host the local gradio demo, run the following command:
# for text-to-image applications
python app.py --config configs_t2i/inference_heavydecoder.yaml --ckpt_path=XXX.ckpt
For C2i (ImageNet), we use ADM evaluation suite to report FID.
First, install the necessary dependencies:
pip install -r requirements.txt
To run inference:
python main.py predict -c configs_c2i/pix256std1_repa_pixnerd_xl.yaml --ckpt_path=XXX.ckpt
# or specify the GPU(s) to use:
CUDA_VISIBLE_DEVICES=0,1, python main.py predict -c configs_c2i/pix256std1_repa_pixnerd_xl.yaml --ckpt_path=XXX.ckpt
For training:
python main.py fit -c configs_c2i/pix256std1_repa_pixnerd_xl.yaml
For T2i, we use GenEval and DPG to collect metrics.
@article{2507.23268,
Author = {Shuai Wang and Ziteng Gao and Chenhui Zhu and Weilin Huang and Limin Wang},
Title = {PixNerd: Pixel Neural Field Diffusion},
Year = {2025},
Eprint = {arXiv:2507.23268},
}