Text-to-Image
Pruna AI
English
qwen
qwen-image
image-generation
image-editing
decoder-free
vae-free
dwd
Instructions to use PrunaAI/P-Q-Image-2.1-DWD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Pruna AI
How to use PrunaAI/P-Q-Image-2.1-DWD with Pruna AI:
from pruna import PrunaModel model = PrunaModel.from_pretrained("PrunaAI/P-Q-Image-2.1-DWD") - Notebooks
- Google Colab
- Kaggle
Download config.json from PrunaAI/P-Q-Image-2.1-DWD: direct link, hf CLI and curl.
- Browser
- Download file 662 Bytes
-
https://huggingface.co/PrunaAI/P-Q-Image-2.1-DWD/resolve/main/config.json
- Command line
-
hf download hf://PrunaAI/P-Q-Image-2.1-DWD/config.json
-
curl -L -o config.json https://huggingface.co/PrunaAI/P-Q-Image-2.1-DWD/resolve/main/config.json
662 Bytes
| { | |
| "format": "pq-image-dwd-tail", | |
| "format_version": 1, | |
| "library": "pq_image_dwd", | |
| "base_model": "Qwen/Qwen-Image-2.1-Turbo", | |
| "file": "dwd_tail.safetensors", | |
| "k": 4, | |
| "steps": 8, | |
| "head_step": 8, | |
| "head_sigma": 0.414568, | |
| "patch": 16, | |
| "head_out": 768, | |
| "head_layout": "(c,p1,p2)", | |
| "color": "oklab_norm", | |
| "oklab_mean": [0.56, 0.0, 0.01], | |
| "oklab_std": 0.16, | |
| "weights": "ema", | |
| "dtype": "bfloat16", | |
| "float32_tensors": ["blocks.*.attn.norm_q.weight", "blocks.*.attn.norm_k.weight"], | |
| "compute": "bf16-autocast", | |
| "n_tensors": 42, | |
| "n_params": 977274624, | |
| "bytes": 1954555904, | |
| "sha256": "05a0088ffe90d0c479633e42aa59cdbfa1efac5792a3bde79601b4eb63d7551c" | |
| } | |