Skip to content

Conversation

kaixuanliu
Copy link
Contributor

@kaixuanliu kaixuanliu commented Oct 13, 2025

For full pipeline, related cut_context is set to True in L511 while for pipe_without_text_encoders, this param is set to False by default L116, hence there will be some minor difference between their outputs(in UNet L492 the mean value w/ and w/o cut_context is different). For platforms such as Intel XPU, they use their seperate generator L145, hence the default tolerance value 1e-4 is not enough. Here we explicitly set encode_prompt_inputs["_cut_context"] = True to align with the behavior of full pipeline. @DN6 , pls help review, Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant