Repository navigation
Improve error handling - #433
Merged
Merged
Conversation
merrymercy
force-pushed
the
error_handling
branch
from
May 13, 2024 03:26
de7cd08 to
3fb68df
Compare
timethink
pushed a commit
to timethink/sglang
that referenced
this pull request
Mar 9, 2025
vschandramourya
pushed a commit
to vschandramourya/sglang
that referenced
this pull request
Feb 3, 2026
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
HanHan009527
pushed a commit
to HanHan009527/sglang
that referenced
this pull request
Apr 7, 2026
Co-authored-by: wanghanpei <[email protected]>
This was referenced Oct 28, 2026
3 tasks done
WhiteCmile
added a commit
to WhiteCmile/sglang
that referenced
this pull request
Dec 1, 2026
…t limit) (issue sgl-project#433) Slimming wave 2, sgl-project#416 plan PR-10 + PR-11. Since sgl-project#420 DFlash always uses native ingress, both switches only ever produce a startup error in a non-default value, so the env reads and the credit lifecycle go: - DT_DRAFT_SLOT_DECOUPLE: `self._slot_decouple = self._is_dflash`. The compute-busy staging code (_feature_staging_compute_busy, per-slot scratch) stays — it is the live path for eagle3/standalone, where _slot_decouple is False. - DT_DRAFT_ADMISSION: the cuda-ipc proposal-credit lifecycle is deleted (_acquire/_release/_available_direct_proposal_admission, direct_proposal_admission_limit, _direct_proposal_admission_inflight, the admission_credit fields of PendingEagle3Completion and PendingCandidatePush, and DT_DIRECT_PROPOSAL_ADMISSION_LIMIT with its resolver). Under the batch bound the cuda-ipc path has no admission resource, so _proposal_admission_blocked / _proposal_wave_buffer_exhausted / _take_batch's cuda-ipc arm and the free_result_rows cuda-ipc arm report "never blocked" / the registered constant, which is what the default already did. _available_dflash_result_slots and its reservation accounting stay: non-cuda-ipc uses them. - The require check keeps only the DT_RING_CONFIRMATION clause (deleted in the next issue). No behaviour change on any default path. The credit test file becomes the smaller admission contract test (the cuda-ipc gates never block; the mmap pool still gates on raw emptiness); the confirmation-free capacity fixture drops its stub of the deleted method.
WhiteCmile
added a commit
to WhiteCmile/sglang
that referenced
this pull request
Dec 1, 2026
… (issue sgl-project#435 review p2) test_cuda_ipc_proposal_admission_never_blocks only asserted the two hard-coded 'return False' branches added by sgl-project#433 and passes however the admission is reduced, so it pins nothing. The mmap pool-emptiness contract test stays.
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.
No description provided.