e it. Note that we do not guarantee the timeliness or safety.
Please refer to the mirror site for more information.



Load pretrained attention processor layers into UNet2DConditionModel. Attention processor layers have to be
defined in
cross_attention.py
and be a torch.nn.Module class.
This function is experimental and might change in the future.
It is required to be logged in (huggingface-cli login) when you want to use private or gated
mode