Skip to content

Commit a039005

Browse files
DN6sayakpaul
authored andcommitted
Remove legacy single file model loading mixins (#8754)
update
1 parent ace869b commit a039005

File tree

4 files changed

+2
-284
lines changed

4 files changed

+2
-284
lines changed

docs/source/en/api/models/autoencoderkl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The abstract from the paper is:
2121
## Loading from the original format
2222

2323
By default the [`AutoencoderKL`] should be loaded with [`~ModelMixin.from_pretrained`], but it can also be loaded
24-
from the original format using [`FromOriginalVAEMixin.from_single_file`] as follows:
24+
from the original format using [`FromOriginalModelMixin.from_single_file`] as follows:
2525

2626
```py
2727
from diffusers import AutoencoderKL

docs/source/en/api/models/controlnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The abstract from the paper is:
2121
## Loading from the original format
2222

2323
By default the [`ControlNetModel`] should be loaded with [`~ModelMixin.from_pretrained`], but it can also be loaded
24-
from the original format using [`FromOriginalControlnetMixin.from_single_file`] as follows:
24+
from the original format using [`FromOriginalModelMixin.from_single_file`] as follows:
2525

2626
```py
2727
from diffusers import StableDiffusionControlNetPipeline, ControlNetModel

src/diffusers/loaders/autoencoder.py

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

src/diffusers/loaders/controlnet.py

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

0 commit comments

Comments
 (0)