set --sampler EulerEDMSampler in sampling_without_streamlit.py
and set discretization_config as follows in denoiser_config of examples/stable_diffusion_xl/configs/inference/sd_xl_base.yaml
set --sampler DPMPP2MSampler in sampling_without_streamlit.py
and set discretization_config as follows in denoiser_config of examples/stable_diffusion_xl/configs/inference/sd_xl_base.yaml
[ ] Did you make sure to update the documentation with your changes? E.g. record bug fixes or new features in What's New. Here are the
documentation guidelines
[ ] Did you build and run the code without any errors?
[ ] Did you report the running environment (NPU type/MS version) and performance in the doc? (better record it for data loading, model inference, or training tasks)
[ ] Did you write any new necessary tests?
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.
What does this PR do?
Adds : args of EDMDiscretization & DynamicThresholding
1 Support args setting of EDMDiscretization in SDXL inference.
Usage of EDMDiscretization:
=======Example ① EDMEulerScheduler======= directly set the following args in
sampling_without_streamlit.py
:or
set
--sampler EulerEDMSampler
insampling_without_streamlit.py
and set discretization_config as follows in denoiser_config ofexamples/stable_diffusion_xl/configs/inference/sd_xl_base.yaml
=======Example ② EDMDPMSolverMultistepScheduler======= directly set the following args in
sampling_without_streamlit.py
:or
set
--sampler DPMPP2MSampler
insampling_without_streamlit.py
and set discretization_config as follows in denoiser_config ofexamples/stable_diffusion_xl/configs/inference/sd_xl_base.yaml
2 Support dynamic thresholding method for CFG (classifier-free guidance)
Useage:
fixs
Before submitting
What's New
. Here are the documentation guidelinesWho 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