Instructions to use diffusers-test/test1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers-test/test1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers-test/test1", 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 text_encoder/config.json
Browse files- text_encoder/config.json +1 -1
text_encoder/config.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
"bos_token_id": 0,
|
| 7 |
"dropout": 0.0,
|
| 8 |
"eos_token_id": 2,
|
| 9 |
-
"hidden_act": "
|
| 10 |
"hidden_size": 768,
|
| 11 |
"initializer_factor": 1.0,
|
| 12 |
"initializer_range": 0.02,
|
|
|
|
| 6 |
"bos_token_id": 0,
|
| 7 |
"dropout": 0.0,
|
| 8 |
"eos_token_id": 2,
|
| 9 |
+
"hidden_act": "quick_gelu",
|
| 10 |
"hidden_size": 768,
|
| 11 |
"initializer_factor": 1.0,
|
| 12 |
"initializer_range": 0.02,
|