Downloads · 30 days
0
lucid-dl/dit-xlarge-2
dit-xlarge-2 is a unconditional image generation model from lucid-dl. Use it for the unconditional image generation task on the model card, and read the license before you ship it in a product. It is set up for lucid. The card lists the license as cc-by-nc-4.0.
Downloads · 30 days
0
Access
Public
Updated Aug 29, 2026
Repo size
5.4 GB
Likes
0
Public
Click a slice to open those files.
.safetensors5.4 GB · 100%
From the Hugging Face model README
Lucid port of https://huggingface.co/facebook/DiT-XL-2-256,
converted to Lucid-native safetensors.
| Tag | fid | Params | GFLOPs | Size | Source |
|---|---|---|---|---|---|
IMAGENET1K_256 (default) | 2.27 | 674.8M | — | 2574.32 MB | facebook/DiT-XL-2-256 |
IMAGENET1K_512 | 3.04 | 674.8M | — | 2574.32 MB | facebook/DiT-XL-2-512 |
import lucid.models as models
from lucid.models.weights import DiTXLarge2Weights
# default tag
model = models.dit_xlarge_2(pretrained=True)
# explicit tag (enum or string)
model = models.dit_xlarge_2(weights=DiTXLarge2Weights.IMAGENET1K_256)
model = models.dit_xlarge_2(pretrained="IMAGENET1K_256")
# preprocessing travels with the weights
weights = DiTXLarge2Weights.IMAGENET1K_256
preprocess = weights.transforms()
out = model(preprocess(image)[None])
# A latent diffusion backbone predicts noise, not labels.
eps = out[:, : model.config.in_channels] # (B, C, H, W)
Converted from https://huggingface.co/facebook/DiT-XL-2-256 via
python -m tools.convert_weights dit_xlarge_2 --tag IMAGENET1K_256.
Key mapping + numerical parity verified against the source.
cc-by-nc-4.0 — inherited from the original weights.
@inproceedings{peebles2023scalable,
title={Scalable Diffusion Models with Transformers},
author={Peebles, William and Xie, Saining},
booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
pages={4195--4205},
year={2023}
}