Instructions to use jyoung105/stable-diffusion-xl-base-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jyoung105/stable-diffusion-xl-base-1.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("jyoung105/stable-diffusion-xl-base-1.0", 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
Upload StableDiffusionXLPipeline
Browse files
text_encoder/config.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
| 19 |
"num_hidden_layers": 12,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 768,
|
| 22 |
-
"torch_dtype": "
|
| 23 |
"transformers_version": "4.42.4",
|
| 24 |
"vocab_size": 49408
|
| 25 |
}
|
|
|
|
| 19 |
"num_hidden_layers": 12,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 768,
|
| 22 |
+
"torch_dtype": "float16",
|
| 23 |
"transformers_version": "4.42.4",
|
| 24 |
"vocab_size": 49408
|
| 25 |
}
|
text_encoder/model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:660c6f5b1abae9dc498ac2d21e1347d2abdb0cf6c0c0c8576cd796491d9a6cdd
|
| 3 |
+
size 246144152
|
text_encoder_2/config.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
| 19 |
"num_hidden_layers": 32,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 1280,
|
| 22 |
-
"torch_dtype": "
|
| 23 |
"transformers_version": "4.42.4",
|
| 24 |
"vocab_size": 49408
|
| 25 |
}
|
|
|
|
| 19 |
"num_hidden_layers": 32,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 1280,
|
| 22 |
+
"torch_dtype": "float16",
|
| 23 |
"transformers_version": "4.42.4",
|
| 24 |
"vocab_size": 49408
|
| 25 |
}
|
text_encoder_2/model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec310df2af79c318e24d20511b601a591ca8cd4f1fce1d8dff822a356bcdb1f4
|
| 3 |
+
size 1389382176
|
unet/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83e012a805b84c7ca28e5646747c90a243c65c8ba4f070e2d7ddc9d74661e139
|
| 3 |
+
size 5135149760
|
vae/diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bcb60880a46b63dea58e9bc591abe15f8350bde47b405f9c38f4be70c6161e68
|
| 3 |
+
size 167335342
|