Instructions to use LibreYOLO/LibrePRX512-dc-ae with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LibreYOLO
How to use LibreYOLO/LibrePRX512-dc-ae with LibreYOLO:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Diffusers
How to use LibreYOLO/LibrePRX512-dc-ae with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("LibreYOLO/LibrePRX512-dc-ae", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
LibrePRX512-dc-ae
PRX, Photoroom's 1.3B text-to-image transformer trained from scratch, with a T5Gemma 2B text encoder and the 32x DC-AE autoencoder. Native resolution 512; base model, meant for fine-tuning. Mirrored for LibreYOLO.
from libreyolo import LibreGen
model = LibreGen("prx-512-dc-ae") # downloads this repo
model("a red fox sleeping in fresh snow").save("fox.png")
libreyolo generate prompt="a red fox" model=prx-512-dc-ae
Install libreyolo[gen].
This is a mirror, not a new model
The weights are Photoroom's. Nothing was retrained, converted or re-encoded;
every file is byte-identical to upstream and keeps upstream's diffusers
pipeline layout, so diffusers loads this folder as it is.
- Upstream repository:
Photoroom/prx-512-t2i-dc-ae - Upstream revision:
3db6a639a9782f6e05f952b75c4943c3875b19c8 - Announcement: We're open-sourcing our text-to-image model and the process behind it
| File | SHA-256 |
|---|---|
text_encoder/model-00001-of-00003.safetensors |
e7a37fef2b11c87a9a2a43c26fcd7199c1d1b203ef11e10863a56611c8fdb57f |
text_encoder/model-00002-of-00003.safetensors |
49da6c85ed4ff10f7f1afaa5a37a0b292fdb58aa855916ef584d697155a9bf58 |
text_encoder/model-00003-of-00003.safetensors |
1a6361ba65805092625aa4e2b3b8d42b810ab836682ddc8277088c9a251b4084 |
transformer/diffusion_pytorch_model.safetensors |
70c87246fbd571b2eb78f3bcfe75fbac73de3a3c9795928eff71c28dead8a110 |
vae/diffusion_pytorch_model.safetensors |
dfd991d1b54ffabf22745c5885589d8f2a7bc59930d95d92bd741c4fc64454bb |
License
The PRX weights are Apache-2.0, as published by Photoroom. The bundled T5Gemma 2B text encoder is provided under and subject to the Gemma Terms of Use, and you may not use it for the restricted uses in the Gemma Prohibited Use Policy. The DC-AE autoencoder comes from mit-han-lab/dc-ae-f32c32-sana-1.1-diffusers (MIT); upstream's NOTICE names the FLUX.1 VAE for every checkpoint. See LICENSE and NOTICE.
- Downloads last month
- -
Model tree for LibreYOLO/LibrePRX512-dc-ae
Base model
Photoroom/prx-512-t2i-dc-ae