 when one
need to replace torch.save by another method. Can be configured with 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()](/docs/diffusers/v0.14.0/en/api/loaders#diffusers.loaders.UNet2DConditionLoadersMixin.load_attn_procs) method.
