Uh oh!
There was an error while loading. Please reload this page.
fix CI bug for kandinsky3_img2img case - #12474
Conversation
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
kaixuanliu
commented
Oct 16, 2025
@a-r-r-o-w@DN6 , Hi, can you help review? Thx! |
regisss
commented
Oct 22, 2025
@kaixuanliu Does this only affect XPU? Or GPU too? |
@regisss This PR also affects GPU, although on GPU, the tolerance value is OK. Steps to reproduce: |
DN6
commented
Oct 23, 2025
@kaixuanliu better solution here is to change the default value to True in the encode_prompt signature since it's hardcoded in the pipeline anyway. |
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
kaixuanliu
commented
Oct 23, 2025
@DN6 I agree. Have updated the code. |
HuggingFaceDocBuilderDev
commented
Oct 23, 2025
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Uh oh!
There was an error while loading. Please reload this page.
For full pipeline, related
cut_contextis set toTruein L511 while for pipe_without_text_encoders, this param is set toFalseby default L116, hence there will be some minor difference between their outputs(in UNet L492 the mean value w/ and w/ocut_contextis different). For platforms such as Intel XPU, they use their seperate generator L145, hence the default tolerance value1e-4is not enough. Here we explicitly setencode_prompt_inputs["_cut_context"] = Trueto align with the behavior of full pipeline. @DN6 , pls help review, Thx!