Repository navigation
fix: use devel for Triton's compiler requirements - #1074
Merged
Merged
Conversation
4 tasks done
merrymercy
approved these changes
Aug 13, 2024
Collaborator
|
@zhyncs release new images? Re-running the actions will override the images. |
Contributor
Author
|
OK! |
timethink
pushed a commit
to timethink/sglang
that referenced
this pull request
Mar 9, 2025
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 1, 2026
… producer since #1072c #1072c removed both retraction branches of `reconcile_pp_admission_decision`, so nothing mints `PPAdmissionEntry.retracted=True` any more. Everything keyed on that predicate became unreachable in the same commit, and this deletes it. The measurement is BY CONSTRUCTION, not by sampling: a consumer whose predicate no producer can set is unreachable, not merely unused, and no uniformity rate from any boot could change that. Verified from two sources, because a grep-null is not an absence: the only `retracted=True` hits in the tree are a different class (servability_matrix `RequestState`, `req.is_retracted` on the Req object), and on the construction side the only `replace()` calls on an entry are one that READS `e.retracted` and one that sets `observed_local`. GONE: `_learned_floor` and its four accessors (`learned_floor`, `_remember_prefix_floor`, `outstanding_rids`, `forget_observed_coverage` -- the last two already had zero callers), `entries_retracted_by_rank` (zero callers since #1072c dropped its import), the `if entry.retracted:` arm of `record_return_trip`, and the floor term in `prefix_len_for`'s clamp. AND THE PART THAT WAS NOT IN THE PLAN: `_prefix_floor` (sgl-project#963) dies with the SAME predicate one hop later. `_remember_prefix_floor` was its only writer and that function's only caller sat inside the deleted arm, so the dict became something nothing writes. It is removed rather than left as a clamp that can never fire under a comment claiming it still clamps -- which is the defect class this campaign has spent the day removing, and it was about to be created in the act of removing it. KEPT, DELIBERATELY, and each was checked rather than assumed: * the `elif entry.admitted:` arm (promoted to `if`). It is the ONLY clearer of `_unresolved_rounds` (sgl-project#944), `_terminator_spent` (sgl-project#955) and `_offer_streak` (#944b) -- one pop site each, counted across the module. Folding it into the deletion would have made three live gates unclearable. * `note_observed_coverage` at the top of the loop -- the sgl-project#1059 feed that makes PP0's published prefix realizable by every rank. It sits ABOVE the retracted/admitted split on purpose (its comment says why), so it survives the producer's death by design. Boot 27 is what happens without it. * the sgl-project#944 escalation, whose trigger is PP0's own re-offer and never a reported round count (#944b moved it off the lap deliberately). TESTS: a test of a deleted mechanism is deleted with it; a test whose subject survives is re-pinned, not stubbed. `test_pp_prefix_scoped_floor_963.py` goes whole. Four tests in `test_pp_unresolved_defer_cap_944.py` and one in `test_pp_forwarded_schedule_791.py` had the floor or the retraction as their SUBJECT -- the 791 one set `guard._learned_floor[RID] = 0` as its premise and would have become a test that cannot fail. `test_pp_terminator_rearm_955.py` keeps its test and loses one stale assertion: its other four checks are the reset it is actually about, and they still pass, so the clearer is intact and only its inventory shrank. THE RATCHET CAUGHT ITS OWN CASE: `TheConsumerSweepRatchet` fired on the vanished 963 reader -- the can-fail proof for the "or one vanished" half of a pin that had only ever fired for additions. Updated with the reasoning it demands. Desk-proven: py_compile, import smoke (guard constructs, `prefix_len_for` passes through, sgl-project#944 and sgl-project#1059 intact), falsifiers 25/25 + discipline 11/11, 944 18/18, 955 13/13, and 791 back to its 7 PRE-EXISTING failures, measured by A/B against the pre-cut file rather than asserted.
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.
Thank you for your contribution, we really appreciate it. The following instructions will help improve your pull request and make it easier to receive feedback. If there are any items you don't understand, don't worry. Just submit the pull request and ask the maintainers for help.
Motivation
Please explain the motivation behind this PR and the goal you aim to achieve with it.
Modification
Briefly describe the changes made in this PR.
Checklist
pre-commit run --all-filesor other linting tools are used to fix potential lint issues.