Skip to content

Commit 0aab8ca

Browse files
Update src/diffusers/models/modeling_utils.py
Co-authored-by: Patrick von Platen <[email protected]>
1 parent 13f1c31 commit 0aab8ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffusers/models/modeling_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,7 @@ def recursive_find_attn_block(module):
951951
del module.to_out
952952

953953
def _undo_temp_convert_self_to_deprecated_attention_blocks(self):
954+
" This method should only be used to convert deprecated checkpoints and will be removed in a future version of diffusers."
954955
deprecated_attention_block_modules = []
955956

956957
def recursive_find_attn_block(module):

0 commit comments

Comments
 (0)