Instructions to use pruna-test/test-save-tiny-stable-diffusion-pipe-smashed-pro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use pruna-test/test-save-tiny-stable-diffusion-pipe-smashed-pro with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("pruna-test/test-save-tiny-stable-diffusion-pipe-smashed-pro", 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 pruna-test/test-save-tiny-stable-diffusion-pipe-smashed-pro with Pruna AI:
from pruna_pro import PrunaProModel pip install -U diffusers transformers accelerate
from pruna_pro import PrunaProModel import torch # switch to "mps" for apple devices pipe = PrunaProModel.from_pretrained("pruna_pro-test/test-save-tiny-stable-diffusion-pipe-smashed-pro", 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
- Draw Things
- DiffusionBee
Add files using upload-large-folder tool
Browse files- README.md +3 -2
- smash_config.json +1 -0
README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
---
|
| 2 |
library_name: diffusers
|
| 3 |
tags:
|
| 4 |
-
- pruna-ai
|
| 5 |
-
- safetensors
|
| 6 |
- pruna_pro-ai
|
|
|
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
# Model Card for pruna-test/test-save-tiny-stable-diffusion-pipe-smashed-pro
|
|
@@ -91,6 +91,7 @@ The compression configuration of the model is stored in the `smash_config.json`
|
|
| 91 |
"text_to_text_inplace_perp": false,
|
| 92 |
"text_to_text_lora": false,
|
| 93 |
"text_to_text_perp": false,
|
|
|
|
| 94 |
"torch_compile": false,
|
| 95 |
"torch_dynamic": false,
|
| 96 |
"torch_structured": false,
|
|
|
|
| 1 |
---
|
| 2 |
library_name: diffusers
|
| 3 |
tags:
|
|
|
|
|
|
|
| 4 |
- pruna_pro-ai
|
| 5 |
+
- safetensors
|
| 6 |
+
- pruna-ai
|
| 7 |
---
|
| 8 |
|
| 9 |
# Model Card for pruna-test/test-save-tiny-stable-diffusion-pipe-smashed-pro
|
|
|
|
| 91 |
"text_to_text_inplace_perp": false,
|
| 92 |
"text_to_text_lora": false,
|
| 93 |
"text_to_text_perp": false,
|
| 94 |
+
"token_merging": false,
|
| 95 |
"torch_compile": false,
|
| 96 |
"torch_dynamic": false,
|
| 97 |
"torch_structured": false,
|
smash_config.json
CHANGED
|
@@ -49,6 +49,7 @@
|
|
| 49 |
"text_to_text_inplace_perp": false,
|
| 50 |
"text_to_text_lora": false,
|
| 51 |
"text_to_text_perp": false,
|
|
|
|
| 52 |
"torch_compile": false,
|
| 53 |
"torch_dynamic": false,
|
| 54 |
"torch_structured": false,
|
|
|
|
| 49 |
"text_to_text_inplace_perp": false,
|
| 50 |
"text_to_text_lora": false,
|
| 51 |
"text_to_text_perp": false,
|
| 52 |
+
"token_merging": false,
|
| 53 |
"torch_compile": false,
|
| 54 |
"torch_dynamic": false,
|
| 55 |
"torch_structured": false,
|