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- text_encoder/config.json +1 -1
text_encoder/config.json
CHANGED
|
@@ -18,6 +18,6 @@
|
|
| 18 |
"num_hidden_layers": 3,
|
| 19 |
"pad_token_id": 1,
|
| 20 |
"projection_dim": 512,
|
| 21 |
-
"transformers_version": "5.
|
| 22 |
"vocab_size": 1000
|
| 23 |
}
|
|
|
|
| 18 |
"num_hidden_layers": 3,
|
| 19 |
"pad_token_id": 1,
|
| 20 |
"projection_dim": 512,
|
| 21 |
+
"transformers_version": "5.22.1",
|
| 22 |
"vocab_size": 1000
|
| 23 |
}
|