Optimize diffusion calibration step sampling - #2265
Open
changwangss wants to merge 6 commits into
Open
Conversation
changwangss
force-pushed
the
feat/diffusion-calib-step-sampling
branch
from
August 31, 2026 13:38
eeecc2a to
bd4e0d4
Compare
Signed-off-by: changwangss <chang1.wang@intel.com>
changwangss
force-pushed
the
feat/diffusion-calib-step-sampling
branch
from
August 31, 2026 14:21
bd4e0d4 to
a680a89
Compare
changwangss
marked this pull request as ready for review
September 1, 2026 06:34
Collaborator
|
/azp run Unit-Test-CUDA-AutoRound |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: changwangss <chang1.wang@intel.com>
Signed-off-by: changwangss <chang1.wang@intel.com>
Signed-off-by: changwangss <chang1.wang@intel.com>
Collaborator
|
/azp run Unit-Test-CUDA-AutoRound |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: changwangss <chang1.wang@intel.com>
Collaborator
|
/azp run Unit-Test-CUDA-AutoRound |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR reduces diffusion calibration cost by decoupling calibration denoising steps from the full inference schedule.
Main changes:
calib_num_inference_steps, defaulting to8, for diffusion calibration.calib_num_inference_stepsdirectly to the diffusion pipeline, allowing the scheduler to construct its native short schedule.pipeline_call_kwargsduring calibration.guidance_scale,generator, andnum_inference_steps.NotImplementedError, instead of silently treating failed calls as valid samples.calib_num_inference_steps.--calib_num_inference_steps.Type of Change
Bug fix / performance improvement
Related Issues
Fixes or relates to #
Checklist Before Submitting
/azp run Unit-Test-CUDA-AutoRound.