Skip to content

Commit d3feaee

Browse files
sayakpaulJimmy
authored and
Jimmy
committed
remove mentions of textual inversion from sdxl. (huggingface#4404)
1 parent af0c25d commit d3feaee

4 files changed

+1
-7
lines changed

src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ class StableDiffusionXLPipeline(DiffusionPipeline, FromSingleFileMixin, LoraLoad
8787
library implements for all the pipelines (such as downloading or saving, running on a particular device, etc.)
8888
8989
In addition the pipeline inherits the following loading methods:
90-
- *Textual-Inversion*: [`loaders.TextualInversionLoaderMixin.load_textual_inversion`]
9190
- *LoRA*: [`StableDiffusionXLPipeline.load_lora_weights`]
9291
- *Ckpt*: [`loaders.FromSingleFileMixin.from_single_file`]
9392

src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ class StableDiffusionXLImg2ImgPipeline(DiffusionPipeline, FromSingleFileMixin, L
9191
library implements for all the pipelines (such as downloading or saving, running on a particular device, etc.)
9292
9393
In addition the pipeline inherits the following loading methods:
94-
- *Textual-Inversion*: [`loaders.TextualInversionLoaderMixin.load_textual_inversion`]
9594
- *LoRA*: [`loaders.LoraLoaderMixin.load_lora_weights`]
9695
- *Ckpt*: [`loaders.FromSingleFileMixin.from_single_file`]
9796

src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,17 +221,14 @@ def prepare_mask_and_masked_image(image, mask, height, width, return_image: bool
221221
return mask, masked_image
222222

223223

224-
class StableDiffusionXLInpaintPipeline(
225-
DiffusionPipeline, TextualInversionLoaderMixin, LoraLoaderMixin, FromSingleFileMixin
226-
):
224+
class StableDiffusionXLInpaintPipeline(DiffusionPipeline, LoraLoaderMixin, FromSingleFileMixin):
227225
r"""
228226
Pipeline for text-to-image generation using Stable Diffusion XL.
229227
230228
This model inherits from [`DiffusionPipeline`]. Check the superclass documentation for the generic methods the
231229
library implements for all the pipelines (such as downloading or saving, running on a particular device, etc.)
232230
233231
In addition the pipeline inherits the following loading methods:
234-
- *Textual-Inversion*: [`loaders.TextualInversionLoaderMixin.load_textual_inversion`]
235232
- *LoRA*: [`loaders.LoraLoaderMixin.load_lora_weights`]
236233
- *Ckpt*: [`loaders.FromSingleFileMixin.from_single_file`]
237234

src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_instruct_pix2pix.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ class StableDiffusionXLInstructPix2PixPipeline(DiffusionPipeline, FromSingleFile
7171
library implements for all the pipelines (such as downloading or saving, running on a particular device, etc.)
7272
7373
In addition the pipeline inherits the following loading methods:
74-
- *Textual-Inversion*: [`loaders.TextualInversionLoaderMixin.load_textual_inversion`]
7574
- *LoRA*: [`loaders.LoraLoaderMixin.load_lora_weights`]
7675
7776
as well as the following saving methods:

0 commit comments

Comments
 (0)