Report correctly to compel if we want get pooled in future(affects blend computation)

This commit is contained in:
Sergey Borisov 2023-08-16 20:21:04 +03:00 committed by psychedelicious
parent 0f1b975d0e
commit beb3e5aeb7

View File

@ -233,7 +233,7 @@ class SDXLPromptInvocationBase:
dtype_for_device_getter=torch_dtype,
truncate_long_prompts=True, # TODO:
returned_embeddings_type=ReturnedEmbeddingsType.PENULTIMATE_HIDDEN_STATES_NON_NORMALIZED, # TODO: clip skip
requires_pooled=True,
requires_pooled=get_pooled,
)
conjunction = Compel.parse_prompt_string(prompt)