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 +1 -0
- smash_config.json +1 -0
README.md
CHANGED
|
@@ -53,6 +53,7 @@ The compression configuration of the model is stored in the `smash_config.json`
|
|
| 53 |
"half": false,
|
| 54 |
"hqq": false,
|
| 55 |
"hqq_diffusers": false,
|
|
|
|
| 56 |
"ifw": false,
|
| 57 |
"llm_int8": false,
|
| 58 |
"pab": false,
|
|
|
|
| 53 |
"half": false,
|
| 54 |
"hqq": false,
|
| 55 |
"hqq_diffusers": false,
|
| 56 |
+
"hyper": false,
|
| 57 |
"ifw": false,
|
| 58 |
"llm_int8": false,
|
| 59 |
"pab": false,
|
smash_config.json
CHANGED
|
@@ -12,6 +12,7 @@
|
|
| 12 |
"half": false,
|
| 13 |
"hqq": false,
|
| 14 |
"hqq_diffusers": false,
|
|
|
|
| 15 |
"ifw": false,
|
| 16 |
"llm_int8": false,
|
| 17 |
"pab": false,
|
|
|
|
| 12 |
"half": false,
|
| 13 |
"hqq": false,
|
| 14 |
"hqq_diffusers": false,
|
| 15 |
+
"hyper": false,
|
| 16 |
"ifw": false,
|
| 17 |
"llm_int8": false,
|
| 18 |
"pab": false,
|