Bound VM Ranker DPP work by the server pool limit - #27
Open
garagon wants to merge 1 commit into
Open
Conversation
garagon
force-pushed
the
codex/bound-vm-ranker-dpp
branch
from
August 13, 2026 23:21
d4ba977 to
6fcc511
Compare
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
Keep per-request DPP work within the pool limit selected when VM Ranker starts.
A
RankRequestcan providemax_selected_rank. Previously that value replaced the server setting without a ceiling. DPP builds two square matrices from this pool, so work and memory grow quadratically with the accepted value and candidate count.The request value is now capped at
--dpp-max-selected-rank. A request may still select a smaller pool, and zero still means "use the server value." The CLI help now states this contract.This is a service-level resource bound. It does not assume the gRPC service is publicly reachable; it limits any caller able to submit a
RankRequest.Compatibility
--dpp-max-selected-rank 150.Validation
u32::MAXand confirms the server limit remains 100.rustfmt --checkpasses.The public repository does not include a build manifest for
vm-ranker, so a full service build is not available from this checkout.