fficient attention as implemented in xformers.

load_textual_inversion

<
source
>
(
pretrained_model_name_or_path: typing.Union[str, typing.Dict[str, torch.Tensor]]
token: typing.Optional[str] = None
**kwargs

)


Parameters 

pretrained_model_name_or_path (str or os.PathLike) —
Can be either:

A string, the model id of a pretrained model hosted inside a model repo on huggingface.co.
Valid model ids should have an organization name, like
"sd-c