Skip to content

Purge self-runner's pip cache weekly - #975

Merged
hnyls2002 merged 2 commits into
mainfrom
purge-cache-weekly
Aug 7, 2024
Merged

hnyls2002 merged 2 commits into
mainfrom
purge-cache-weekly

Conversation

@hnyls2002

Copy link
Copy Markdown
Collaborator

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

Reduce the downloading time of pip packages.

Modification

Purge weekly.

Checklist

  1. Ensure pre-commit pre-commit run --all-files or other linting tools are used to fix potential lint issues.
  2. Confirm that modifications are covered by complete unit tests. If not, please add more unit tests for correctness.
  3. Modify documentation as needed, such as docstrings or example tutorials.

@hnyls2002
hnyls2002 requested a review from zhyncs August 7, 2024 19:40
@hnyls2002
hnyls2002 merged commit fbe0c81 into main Aug 7, 2024
@hnyls2002
hnyls2002 deleted the purge-cache-weekly branch August 7, 2024 19:43
timethink pushed a commit to timethink/sglang that referenced this pull request Mar 9, 2025
shun8686 pushed a commit to shun8686/sglang that referenced this pull request Jul 13, 2026
* NPU coverage

* NPU coverage

* NPU coverage

* mod

* mod

* mod
shun8686 pushed a commit to shun8686/sglang that referenced this pull request Jul 13, 2026
efschu pushed a commit to efschu/htsglang that referenced this pull request Aug 28, 2026
…eeps its one ref

Boot 9 died in 24s on the lock_ref>0 underflow (full_component.py:320,
via cache_unfinished_req's dec at the FIRST chunk stash). R12 closed the
pair on metal: ONE inc (schedule_policy.py:2021, transferred
stash-to-stash by unified_radix_cache.py:1354-1355) met TWO decs -- the
give-back at the void (slice line 270, lock_ref_returned=True) and the
stash's own dec. Both give-back sites (sgl-project#984 park, sgl-project#986 orphan-queue)
assert 're-admission takes a FRESH ref', which is FALSE for a carried
chunk: the chunked continuation holds ONE admission ref across all its
chunk passes (schedule_policy.py:1441/:1747/:2008, scheduler.py:9059).
The sgl-project#988 guard removed the accidental compensating inc of the second
waiting-queue visit, exposing the imbalance (that causal half is
desk-inferred; the pair itself is measured).

Fix, two lines at the ONE shared function: pp_give_back_admission_lock_ref
returns False for the request currently held as self.chunked_req --
ownership discriminated by identity; the sgl-project#986 orphan route keeps giving
back (its orphan has by definition LEFT the field). The assert is never
weakened.

Context (R12's design evaluation, register 20:xx): the user's re-entry
design is ALREADY shipped as sgl-project#856/W30-FIX-B but scoped by _live_reqs to
batch residents; extending it is measurement-gated on sgl-project#972/sgl-project#975 + a GDN
host anchor (ABSENT today) -- registered as posten, not smuggled in
here. Import smoke green; suites in the test-agent lane.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants