mindspore-lab / mindone

one for all, Optimal generator with No Exception
Apache License 2.0
328 stars 62 forks source link

fix(sdxl):use sync to circumvent unexpected result #502

Closed townwish4git closed 4 weeks ago

townwish4git commented 1 month ago

What does this PR do?

Fixes # (issue)

SDXL inference will randomly cause abnormal situations where the pictures are all gray,use sync to circumvent this unexpected result

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag members/contributors who may be interested in your PR.

@xxx

townwish4git commented 4 weeks ago

@zhanghuiyao used global pynative sync already which has same effect