Instructions to use pruna-test/test-save-tiny-stable-diffusion-pipe-smashed 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 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", 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 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("pruna-test/test-save-tiny-stable-diffusion-pipe-smashed", 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
Add files using upload-large-folder tool
Browse files- README.md +2 -1
- smash_config.json +1 -0
README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
---
|
| 2 |
library_name: diffusers
|
| 3 |
tags:
|
| 4 |
-
- safetensors
|
| 5 |
- pruna-ai
|
|
|
|
| 6 |
---
|
| 7 |
|
| 8 |
# Model Card for pruna-test/test-save-tiny-stable-diffusion-pipe-smashed
|
|
@@ -57,6 +57,7 @@ The compression configuration of the model is stored in the `smash_config.json`
|
|
| 57 |
"ifw": false,
|
| 58 |
"img2img_denoise": false,
|
| 59 |
"kvpress": false,
|
|
|
|
| 60 |
"llm_int8": false,
|
| 61 |
"moe_kernel_tuner": false,
|
| 62 |
"pab": false,
|
|
|
|
| 1 |
---
|
| 2 |
library_name: diffusers
|
| 3 |
tags:
|
|
|
|
| 4 |
- pruna-ai
|
| 5 |
+
- safetensors
|
| 6 |
---
|
| 7 |
|
| 8 |
# Model Card for pruna-test/test-save-tiny-stable-diffusion-pipe-smashed
|
|
|
|
| 57 |
"ifw": false,
|
| 58 |
"img2img_denoise": false,
|
| 59 |
"kvpress": false,
|
| 60 |
+
"llama_cpp": false,
|
| 61 |
"llm_int8": false,
|
| 62 |
"moe_kernel_tuner": false,
|
| 63 |
"pab": false,
|
smash_config.json
CHANGED
|
@@ -16,6 +16,7 @@
|
|
| 16 |
"ifw": false,
|
| 17 |
"img2img_denoise": false,
|
| 18 |
"kvpress": false,
|
|
|
|
| 19 |
"llm_int8": false,
|
| 20 |
"moe_kernel_tuner": false,
|
| 21 |
"pab": false,
|
|
|
|
| 16 |
"ifw": false,
|
| 17 |
"img2img_denoise": false,
|
| 18 |
"kvpress": false,
|
| 19 |
+
"llama_cpp": false,
|
| 20 |
"llm_int8": false,
|
| 21 |
"moe_kernel_tuner": false,
|
| 22 |
"pab": false,
|