Skip to content

Commit e9b4ad2

Browse files
linoytsabanhlky
andauthored
Update examples/dreambooth/train_dreambooth_lora_hidream.py
Co-authored-by: hlky <[email protected]>
1 parent 4e08343 commit e9b4ad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/dreambooth/train_dreambooth_lora_hidream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ def _encode_prompt_with_clip(
991991
if text_input_ids is None:
992992
raise ValueError("text_input_ids must be provided when the tokenizer is not specified")
993993

994-
prompt_embeds = text_encoder(text_input_ids.to(device), output_hidden_states=True)
994+
prompt_embeds = text_encoder(text_input_ids.to(device))
995995

996996
if hasattr(text_encoder, "module"):
997997
dtype = text_encoder.module.dtype

0 commit comments

Comments
 (0)