Instructions to use PrunaAI/Pruna-Q-Image-2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PrunaAI/Pruna-Q-Image-2.1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-2.1", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("PrunaAI/Pruna-Q-Image-2.1") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download assets/edit_grid.jpg from PrunaAI/Pruna-Q-Image-2.1: direct link, hf CLI and curl.
- Browser
- Download file 5.91 MB
-
https://huggingface.co/PrunaAI/Pruna-Q-Image-2.1/resolve/main/assets/edit_grid.jpg
- Command line
-
hf download hf://PrunaAI/Pruna-Q-Image-2.1/assets/edit_grid.jpg
-
curl -L -o edit_grid.jpg https://huggingface.co/PrunaAI/Pruna-Q-Image-2.1/resolve/main/assets/edit_grid.jpg
5.91 MB

- Xet hash:
- b46f81c4fb7a1cf3c66fb1cba24b9b6f5f760644ef55d7e3b15317d556d7dd7e
- Size of remote file:
- 5.91 MB
- SHA256:
- 02165aeb14f216ce7918fb9850b18c0a236e00f7377e8dc9eda83ccb08ae48d6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.