Repository navigation
Conversation
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.
Summary
Add BRACE (Barycentric Rational Forecasting with Chebyshev Enhancement, arXiv:2608.07572) as an experimental DBCache calibrator.
Related to #1363.
What changed
BRACECalibratorwith a bounded FIFO of real full-compute anchors, canonical domain mapping over logical steps, the second barycentric form, and adapted Chebyshev weights.gammato[0.5, infinity)because smaller values admit extrapolation poles.--calibrator brace --calibrator-params capacity=3,gamma=0.7.DBCache scheduling, Fn/Bn granularity, warmup, and cache guards are unchanged.
Tests
FLUX.1-dev E2E
Environment: RTX PRO 5000, physical GPU 2, torch 2.15.0+cu132, 1024x1024, 28 steps, seed 0. All calibrator arms explicitly enable the encoder stream. Every cache arm reports 12/28 Cache Steps; neither BRACE arm emits a fallback warning.
This is a single-prompt compile wiring probe, not a universal predictor ranking. High-acceleration, multi-prompt, multi-backbone, and noise-floor validation remain future work.
Visual comparison
All outputs preserve the cat, sign, and
Hello worldtext; no black images or structural corruption were observed.