th the environment variable
DIFFUSERS_SAVE_MODE.



Save an attention processor to a directory, so that it can be re-loaded using the
load_attn_procs() method.

TextualInversionLoaderMixin
	

class diffusers.loaders.TextualInversionLoaderMixin

<
source
>
(
)



Mixin class for loading textual inversion tokens and embeddings to the tokenizer and text encoder.

load_textual_inversion

<
source
>
(
pretrained_model_name_or_path: typing.Union[str,