Skip to content

Commit 0a4ea36

Browse files
author
Vikram Voleti
committed
Deprecate SD2
1 parent 8f41cbc commit 0a4ea36

File tree

7 files changed

+0
-232
lines changed

7 files changed

+0
-232
lines changed

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ To run SVD or SV3D on a streamlit server:
9393
![tile](assets/sv3d.gif)
9494

9595

96-
**November 30, 2023**
97-
- Following the launch of SDXL-Turbo, we are releasing [SD-Turbo](https://huggingface.co/stabilityai/sd-turbo).
98-
9996
**November 28, 2023**
10097
- We are releasing SDXL-Turbo, a lightning fast text-to image model.
10198
Alongside the model, we release a [technical report](https://stability.ai/research/adversarial-diffusion-distillation)
@@ -257,8 +254,6 @@ The following models are currently supported:
257254
```
258255
- [SDXL-base-0.9](https://huggingface.co/stabilityai/stable-diffusion-xl-base-0.9)
259256
- [SDXL-refiner-0.9](https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-0.9)
260-
- [SD-2.1-512](https://huggingface.co/stabilityai/stable-diffusion-2-1-base/blob/main/v2-1_512-ema-pruned.safetensors)
261-
- [SD-2.1-768](https://huggingface.co/stabilityai/stable-diffusion-2-1/blob/main/v2-1_768-ema-pruned.safetensors)
262257

263258
**Weights for SDXL**:
264259

configs/inference/sd_2_1.yaml

Lines changed: 0 additions & 60 deletions
This file was deleted.

configs/inference/sd_2_1_768.yaml

Lines changed: 0 additions & 60 deletions
This file was deleted.

model_licenses/LICENCE-SD-Turbo

Lines changed: 0 additions & 58 deletions
This file was deleted.

scripts/demo/sampling.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,6 @@
5252
"config": "configs/inference/sd_xl_base.yaml",
5353
"ckpt": "checkpoints/sd_xl_base_0.9.safetensors",
5454
},
55-
"SD-2.1": {
56-
"H": 512,
57-
"W": 512,
58-
"C": 4,
59-
"f": 8,
60-
"is_legacy": True,
61-
"config": "configs/inference/sd_2_1.yaml",
62-
"ckpt": "checkpoints/v2-1_512-ema-pruned.safetensors",
63-
},
64-
"SD-2.1-768": {
65-
"H": 768,
66-
"W": 768,
67-
"C": 4,
68-
"f": 8,
69-
"is_legacy": True,
70-
"config": "configs/inference/sd_2_1_768.yaml",
71-
"ckpt": "checkpoints/v2-1_768-ema-pruned.safetensors",
72-
},
7355
"SDXL-refiner-0.9": {
7456
"H": 1024,
7557
"W": 1024,

scripts/demo/turbo.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,6 @@
1313
"config": "configs/inference/sd_xl_base.yaml",
1414
"ckpt": "checkpoints/sd_xl_turbo_1.0.safetensors",
1515
},
16-
"SD-Turbo": {
17-
"H": 512,
18-
"W": 512,
19-
"C": 4,
20-
"f": 8,
21-
"is_legacy": False,
22-
"config": "configs/inference/sd_2_1.yaml",
23-
"ckpt": "checkpoints/sd_turbo.safetensors",
24-
},
2516
}
2617

2718

sgm/inference/api.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

1818

1919
class ModelArchitecture(str, Enum):
20-
SD_2_1 = "stable-diffusion-v2-1"
21-
SD_2_1_768 = "stable-diffusion-v2-1-768"
2220
SDXL_V0_9_BASE = "stable-diffusion-xl-v0-9-base"
2321
SDXL_V0_9_REFINER = "stable-diffusion-xl-v0-9-refiner"
2422
SDXL_V1_BASE = "stable-diffusion-xl-v1-base"
@@ -89,26 +87,6 @@ class SamplingSpec:
8987

9088

9189
model_specs = {
92-
ModelArchitecture.SD_2_1: SamplingSpec(
93-
height=512,
94-
width=512,
95-
channels=4,
96-
factor=8,
97-
is_legacy=True,
98-
config="sd_2_1.yaml",
99-
ckpt="v2-1_512-ema-pruned.safetensors",
100-
is_guided=True,
101-
),
102-
ModelArchitecture.SD_2_1_768: SamplingSpec(
103-
height=768,
104-
width=768,
105-
channels=4,
106-
factor=8,
107-
is_legacy=True,
108-
config="sd_2_1_768.yaml",
109-
ckpt="v2-1_768-ema-pruned.safetensors",
110-
is_guided=True,
111-
),
11290
ModelArchitecture.SDXL_V0_9_BASE: SamplingSpec(
11391
height=1024,
11492
width=1024,

0 commit comments

Comments
 (0)