Skip to content

Add docker file - #588

Merged
merrymercy merged 1 commit into
mainfrom
docker
Jul 4, 2024
Merged

merrymercy merged 1 commit into
mainfrom
docker

Conversation

@Ying1123

@Ying1123 Ying1123 commented Jul 4, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@Ying1123
Ying1123 requested a review from merrymercy July 4, 2024 07:11
@merrymercy
merrymercy merged commit ac11388 into main Jul 4, 2024
@merrymercy
merrymercy deleted the docker branch July 4, 2024 07:53
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
…ject#588)

* Copy OSS code from 0c4e155 on 20260109

* remove unit-test-backend-2-gpu

* update

* update

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: gongwei-130 <[email protected]>
hzwzwzw pushed a commit to hzwzwzw/sglang that referenced this pull request Jul 2, 2026
efschu pushed a commit to efschu/htsglang that referenced this pull request Aug 5, 2026
Seventh addendum, and the first requirement here carrying a MEASURED cost
rather than a hypothetical one: production showed all three ranks waiting 1.2 s+
on a 74k-cached prefill, with collective wait running 2-3x compute.

R12 is R6 applied to the one vector still frozen at boot.

(a) At LOW occupancy the planner selects the PERFORMANCE-optimal vector -- KV
concentrated so DCP prefix-gathers are minimal. Not a micro-optimisation: the
gather share grows with cached context, so at low fill the spread vector buys
capacity nobody is using and pays for it in a collective floor on every
prefill. sgl-project#588 decomposes the measurement; R12 is what the planner does with it.

(b) The shift is CONTINUOUS and BIDIRECTIONAL. This generalises sgl-project#287's pressure
ladder, and the generalisation IS the removal of its trigger-on-pressure-only
design: a ladder that fires only when memory gets tight can never take the
low-fill performance win, because low fill is not a pressure event. Refusing
the return leg is the "surplus sits idle" failure in vector form -- capacity
released, but the performance it was blocking never reclaimed.

(c) Carriers verified in tree: sgl-project#287 ladder stages; sgl-project#297 phase-boundary KV
resharding, delta move measured <1 s (DESIGN_297_kv_resharding.md:83, and the
TEIL_HOT rung in registry/rungs.py prices it "<1 s, one dial re-raise");
sgl-project#363/sgl-project#578 regime controller as actuator now that slice 0 binds its feed.
Priced movement-bound under R11's gates, and R11e is exactly the comparison
that matters here: a sub-second reshard removing a 1.2 s per-prefill floor pays
for itself in two prefills.

F12a (near-empty + long prefix -> concentrated, gather share must drop), F12b
(past the capacity knee -> spread), F12c (on drain -> move BACK). F12c is the
one a pressure-only design fails while passing F12b, which is why the falsifier
is again a pair, as with F4 and F7.

Slice plan gains 4e (both legs; hermetic F12a/b/c, GPU gate is the gather-share
drop under sgl-project#588).
efschu pushed a commit to efschu/htsglang that referenced this pull request Aug 5, 2026
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.

3 participants