Skip to content

Commit 7a02c17

Browse files
committed
fix text_input_ids
1 parent fddb463 commit 7a02c17

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

examples/dreambooth/train_dreambooth_sd3.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,6 @@ def encode_prompt(
973973
max_sequence_length,
974974
prompt=prompt,
975975
num_images_per_prompt=num_images_per_prompt,
976-
text_input_ids=text_input_ids_list[-1] if text_input_ids_list else None,
977976
device=device if device is not None else text_encoders[-1].device,
978977
)
979978

0 commit comments

Comments
 (0)