Repository navigation
Conversation
Contributor
Author
|
@coderabbitai full review Please review exact head |
✅ Action performedFull review finished. |
This branch has not been deployed
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.
Continuous cheap arrivals can repeatedly bypass an older expensive item in the Python worker's cost-sorted batcher. This adds an explicit
bounded_batch_progressprofile option, disabled by default. When enabled, a bypassed oldest item is reserved for the next batchable turn. An item withkolder batchable items receives a dispatch opportunity within2 * (k + 1)nonempty batchable turns of its batcher; isolated-item turns may interleave.The ordinary
BatchFormersource and pending-request layout remain unchanged. The worker selects the enabled class when constructed, including for lazy LoRA batchers. Omitted or null values inherit the parent setting; explicit false disables an enabled parent. The option is validated and carried through the config-service schema, YAML resolution and model loader. Existing profiles keep the same serialized settings; enabling the option contributes to profile identity.Enabled scheduling changes batch composition and can change model scores, labels and throughput. The earlier #798 GLiClass qualification failed its original 0.002 numerical bound: maximum score difference 0.0232588 with 26 changed choices. This draft retains that failure, enables no shipped profile and does not establish numerical equivalence or close #390. The dispatch bound is not a wall-clock deadline; preformed and sidecar batches bypass this policy.
Validation:
These are CPU and source-level checks; this wrapper has no new GPU performance or model-quality qualification. The PR remains draft while review and the compatibility decision are pending. Related to #390; #798 remains unchanged.
Summary by CodeRabbit