Repository navigation
refactor: decouple tuning data handling from SignRound - #2524
Draft
changwangss wants to merge 3 commits into
Draft
changwangss wants to merge 3 commits into
changwangss wants to merge 3 commits into
Conversation
Signed-off-by: changwangss <chang1.wang@intel.com>
changwangss
force-pushed
the
wangchang/decouple-tuning-session
branch
from
October 20, 2026 08:27
df702ed to
358ff17
Compare
Signed-off-by: changwangss <chang1.wang@intel.com>
Signed-off-by: changwangss <chang1.wang@intel.com>
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
Follow up on the separation-of-concerns feedback in #2340 and #2404. SignRound should not need to know about diffusion-specific cache configuration, CUDA staging, fallback branches, or cache resource management.
BlockTuningSession, exposed throughBaseQuantizer.tuning_session(), for iteration/batch access, prediction/reference forwarding, and best-parameter snapshots.DiffusionTuningCache.is_supported()and move cache creation, staged/synchronous fallback, warmup timing, and storage policy into the session.Scope / behavior preservation
This is a responsibility-only refactor, not an expansion of prefetch support:
diffusion_tuning_cache_size, diffusion-only, single-CUDA,low_gpu_mem_usage=True, andbatch_size=1.Validation
git diff --checkpassed.Type of Change
Refactor
Related Issues
Relates to #2340 and #2404.
Checklist Before Submitting