Instructions to use PrunaAI/P-Flux-2-Klein-4B-DWD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Pruna AI
How to use PrunaAI/P-Flux-2-Klein-4B-DWD with Pruna AI:
from pruna import PrunaModel model = PrunaModel.from_pretrained("PrunaAI/P-Flux-2-Klein-4B-DWD") - Notebooks
- Google Colab
- Kaggle
Download CITATION.cff from PrunaAI/P-Flux-2-Klein-4B-DWD: direct link, hf CLI and curl.
- Browser
- Download file 1.79 kB
-
https://huggingface.co/PrunaAI/P-Flux-2-Klein-4B-DWD/resolve/main/CITATION.cff
- Command line
-
hf download hf://PrunaAI/P-Flux-2-Klein-4B-DWD/CITATION.cff
-
curl -L -o CITATION.cff https://huggingface.co/PrunaAI/P-Flux-2-Klein-4B-DWD/resolve/main/CITATION.cff
1.79 kB
| cff-version: 1.2.0 | |
| message: "If you use this software, please cite the DWD paper (the method) and this software." | |
| title: "P-Flux-2-Klein-4B-DWD: Decoding Without a Decoder for FLUX.2 [klein] 4B" | |
| type: software | |
| authors: | |
| - name: "Pruna AI" | |
| license: Apache-2.0 | |
| url: "https://huggingface.co/PrunaAI/P-Flux-2-Klein-4B-DWD" | |
| repository-code: "https://huggingface.co/PrunaAI/P-Flux-2-Klein-4B-DWD" | |
| version: 0.1.0 | |
| keywords: | |
| - diffusion | |
| - text-to-image | |
| - flux2 | |
| - decoder-free | |
| preferred-citation: | |
| type: article | |
| title: "Decoding Without a Decoder: Direct Pixel Prediction from Diffusion Transformers" | |
| authors: | |
| - family-names: Chen | |
| given-names: Hansheng | |
| - family-names: Cai | |
| given-names: Shengqu | |
| - family-names: Ackermann | |
| given-names: Jan | |
| - family-names: Zirvi | |
| given-names: Rayhan | |
| - family-names: Wetzstein | |
| given-names: Gordon | |
| - family-names: Yan | |
| given-names: Xinchen | |
| - family-names: Guibas | |
| given-names: Leonidas | |
| year: 2026 | |
| journal: "arXiv preprint arXiv:2611.22287" | |
| url: "https://arxiv.org/abs/2611.22287" | |
| identifiers: | |
| - type: other | |
| value: "arXiv:2611.22287" | |
| references: | |
| - type: article | |
| title: "Decoding Without a Decoder: Direct Pixel Prediction from Diffusion Transformers" | |
| authors: | |
| - family-names: Chen | |
| given-names: Hansheng | |
| - family-names: Cai | |
| given-names: Shengqu | |
| - family-names: Ackermann | |
| given-names: Jan | |
| - family-names: Zirvi | |
| given-names: Rayhan | |
| - family-names: Wetzstein | |
| given-names: Gordon | |
| - family-names: Yan | |
| given-names: Xinchen | |
| - family-names: Guibas | |
| given-names: Leonidas | |
| year: 2026 | |
| journal: "arXiv preprint arXiv:2611.22287" | |
| url: "https://arxiv.org/abs/2611.22287" | |