Skip to content

Release v0.3.1 - #1430

Merged
zhyncs merged 1 commit into
mainfrom
release
Sep 15, 2024
Merged

zhyncs merged 1 commit into
mainfrom
release

Conversation

@merrymercy

Copy link
Copy Markdown
Collaborator

No description provided.

@zhyncs
zhyncs merged commit e79f6cd into main Sep 15, 2024
@zhyncs
zhyncs deleted the release branch September 15, 2024 14:03
@merrymercy
merrymercy restored the release branch September 15, 2024 14:27
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 16, 2026
…st bypassed. User 16.09.: 'why not replace it everywhere at once and then boot'. Every arena host pool (KV, draft, mamba) is bound eagerly -- at controller init, at every canonical rebind, at the draft-window install, and by the mamba prefetch itself -- and an unbound pool is a named refusal (arena_unbound), never a staging copy: no placeholders, no anchor-slot fallback, no foreign ids in a staging buffer. The staging rows shrink to a fallback id range: KV/draft 0.05 GB (~1.5k rows, was 1 GB per rank), the mamba anchor pool 100 MiB (2 slots, was 13); SGLANG_HICACHE_ARENA_STAGING_GB takes a float, SGLANG_WEG2_MAMBA_ANCHOR_MIB overrides the anchor size (the ledger still prices S=1/M conservatively). Tests: 281 green across arena/mamba/controller/tree/ledger; the three 1386 dry-run tests are red on the live box at the previous tip as well.
efschu pushed a commit to efschu/htsglang that referenced this pull request Sep 16, 2026
… L2 arena is priced. The ledger never carried the shm arena files (24.96 GiB KV + 1.56 GiB draft + 11.7 GiB mamba = 37.19 GiB on this model) while it still charged the 1 GB rings and the 600 MiB anchors that sgl-project#1430 shrank to 0.05 GB / 100 MiB: new term arena_gib (in the arm sum and the terms line), rings/anchors priced at their REAL fallback sizes (staging_gb / anchor_mib), all derived by the launcher from config.json and the same environment the ranks get (blob size cross-checked against the arena file: 78,446,592 B). Mamba arena 160 slots so the whole term fits the measured headroom. (2) the L3 return path: a page or blob that left the arena for the disk is read straight into a fresh slot and completed (arena_fill_from_disk), wired into the KV, draft and mamba read sites; before this the arena was a write-only sink and every evicted page was recomputed. Tests: 1432 (2), 1433 (2), 1361, 1235, 1397 wiring, 1427 green.
efschu pushed a commit to efschu/htsglang that referenced this pull request Sep 16, 2026
… we have bs6'. Not intended: the front's D-seat gate takes D's mem_pool_host.available_size() as the rows D can still prefetch into (WEG2 D-SEAT-WAIT need=97872 available=1526), and since sgl-project#1430 that was the staging fallback -- so the six parked 100k prompts were admitted one at a time, each waiting for the previous to finish. Bound to the arena, available_size() now answers with the arena's free slots; staging_free() keeps the fallback count and alloc() stays bounded by it. Test pins both.
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