We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e08343 commit e9b4ad2Copy full SHA for e9b4ad2
examples/dreambooth/train_dreambooth_lora_hidream.py
@@ -991,7 +991,7 @@ def _encode_prompt_with_clip(
991
if text_input_ids is None:
992
raise ValueError("text_input_ids must be provided when the tokenizer is not specified")
993
994
- prompt_embeds = text_encoder(text_input_ids.to(device), output_hidden_states=True)
+ prompt_embeds = text_encoder(text_input_ids.to(device))
995
996
if hasattr(text_encoder, "module"):
997
dtype = text_encoder.module.dtype
0 commit comments