You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Running distilled models: SSD1B and SD1.x with tiny U-Nets
2
2
3
-
###Preface
3
+
## Preface
4
4
5
-
This kind of models has a reduced U-Net part. Unlike other SDXL models the U-Net has only one middle block and lesser attention layers in up and down blocks, resulting in relatively smaller files. Running these models saves more than 33% of the time. For more details, refer to Segmind's paper on https://arxiv.org/abs/2401.02677v1 .
5
+
This kind of models have a reduced U-Net part.
6
+
Unlike other SDXL models the U-Net of SSD1B has only one middle block and lesser attention layers in up and down blocks, resulting in relatively smaller files. Running these models saves more than 33% of the time. For more details, refer to Segmind's paper on https://arxiv.org/abs/2401.02677v1 .
7
+
Unlike other SD 1.x models Tiny-UNet models consist of only 6 U-Net blocks, resulting in relatively smaller files (approximately 1 GB). Running these models saves almost 50% of the time. For more details, refer to the paper: https://arxiv.org/pdf/2305.15798.pdf .
6
8
7
-
### How to Use
9
+
##SSD1B
8
10
9
11
Unfortunately not all of this models follow the standard model parameter naming mapping.
10
-
Anyway there are some useful SSD1B models available online, such as:
12
+
Anyway there are some very useful SSD1B models available online, such as:
These models need some conversion, for example because partially tensors are **non contiguous** stored. To create a usable checkpoint file, follow these **easy** steps:
34
+
35
+
### Download model from Hugging Face
36
+
37
+
Download the model using Python on your computer, for example this way:
0 commit comments