You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It has since been replaced with transformers.modeling_attn_mask_utils._prepare_4d_attention_mask.
There is another closed issue ( #571 ) in this repo regarding this error, but there is not enough information to tell whether using transformers>=4.35 was the cause of that one too.
The text was updated successfully, but these errors were encountered:
The
_expand_mask
function that is imported fromtransformers.models.clip.modeling_clip
inmodels/blip_diffusion_models/modeling_ctx_clip.py
does not exist anymore since this commit that is part of releasev4.35.0
.It has since been replaced with
transformers.modeling_attn_mask_utils._prepare_4d_attention_mask
.There is another closed issue ( #571 ) in this repo regarding this error, but there is not enough information to tell whether using transformers>=4.35 was the cause of that one too.
The text was updated successfully, but these errors were encountered: