Text-to-Image
Diffusers
Safetensors
MiniMax H3
Pruna AI
English
image-to-image
image-generation
image-editing
prompt-upsampling
modular-diffusers
Instructions to use PrunaAI/P-Image-OSS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PrunaAI/P-Image-OSS with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("PrunaAI/P-Image-OSS", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Pruna AI
How to use PrunaAI/P-Image-OSS with Pruna AI:
from pruna import PrunaModel pip install -U diffusers transformers accelerate
from pruna import PrunaModel import torch # switch to "mps" for apple devices pipe = PrunaModel.from_pretrained("PrunaAI/P-Image-OSS", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Update image and comfy link
Browse files- README.md +2 -2
- assets/p-image-oss.jpg +2 -2
README.md
CHANGED
|
@@ -71,7 +71,7 @@ request into the full prompt P-Image-OSS renders best. It is strongest at photor
|
|
| 71 |
graphic styles with short quoted text.
|
| 72 |
|
| 73 |
This repository holds the [diffusers](https://github.com/huggingface/diffusers) pipeline. For ComfyUI, with int8 and
|
| 74 |
-
4-bit files that run in 21 GB of VRAM, see [PrunaAI/P-
|
| 75 |
Read the full blog post [here](https://pruna.ai/blog/oss-p-h3-image-launch).
|
| 76 |
|
| 77 |
| | |
|
|
@@ -297,7 +297,7 @@ One NVIDIA B200, bf16, batch size 1, 8 MP, no compilation or offloading.
|
|
| 297 |
|
| 298 |
The 8 steps run over the checkpoint's own sampling grid. Pass `sigmas` to use another one. There is no guider,
|
| 299 |
`negative_prompt` or `guidance_scale`. For GPUs with less memory, use the int8 or w4a8 files in
|
| 300 |
-
[PrunaAI/P-
|
| 301 |
|
| 302 |
## Limitations
|
| 303 |
|
|
|
|
| 71 |
graphic styles with short quoted text.
|
| 72 |
|
| 73 |
This repository holds the [diffusers](https://github.com/huggingface/diffusers) pipeline. For ComfyUI, with int8 and
|
| 74 |
+
4-bit files that run in 21 GB of VRAM, see [PrunaAI/P-Image-OSS-Comfy](https://huggingface.co/PrunaAI/P-Image-OSS-Comfy).
|
| 75 |
Read the full blog post [here](https://pruna.ai/blog/oss-p-h3-image-launch).
|
| 76 |
|
| 77 |
| | |
|
|
|
|
| 297 |
|
| 298 |
The 8 steps run over the checkpoint's own sampling grid. Pass `sigmas` to use another one. There is no guider,
|
| 299 |
`negative_prompt` or `guidance_scale`. For GPUs with less memory, use the int8 or w4a8 files in
|
| 300 |
+
[PrunaAI/P-Image-OSS-Comfy](https://huggingface.co/PrunaAI/P-Image-OSS-Comfy).
|
| 301 |
|
| 302 |
## Limitations
|
| 303 |
|
assets/p-image-oss.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|