Skip to content

Commit 394b8fb

Browse files
authored
fix from_single_file for checkpoints with t5 (#8631)
fix single file
1 parent a1d55e1 commit 394b8fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffusers/loaders/single_file_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,3 +1808,4 @@ def create_diffusers_t5_model_from_checkpoint(
18081808

18091809
else:
18101810
model.load_state_dict(diffusers_format_checkpoint)
1811+
return model

0 commit comments

Comments
 (0)