Skip to content

Update hyperparameter_tuning.md - #918

Merged
Ying1123 merged 1 commit into
mainfrom
Ying1123-patch-1
Aug 4, 2024
Merged

Ying1123 merged 1 commit into
mainfrom
Ying1123-patch-1

Conversation

@Ying1123

@Ying1123 Ying1123 commented Aug 4, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@Ying1123
Ying1123 merged commit 975adb8 into main Aug 4, 2024
@Ying1123
Ying1123 deleted the Ying1123-patch-1 branch August 4, 2024 20:51
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 Aug 27, 2026
…num_tokens and the buffer shapes: the root of both rerun boot deaths) into the flip train
efschu pushed a commit to efschu/htsglang that referenced this pull request Aug 27, 2026
sgl-project#917/sgl-project#918 added, clear 2 UP037

`--verify` named exactly what moved: THREE new mem_cache modules
(test_row_reference_not_owner_916.py, test_quiesce_reports_what_happened_917.py,
test_reservation_span_derivation_918.py) and not one changed sha256 among the
181 already in the table.

MEASURED on this tip, hermetic (CUDA_VISIBLE_DEVICES=""):
  * fresh serial reference, 184 modules, one process, one order:
    2 failed / 2745 passed / 927 skipped, 169.1s. 2745 = the previous 2683
    plus exactly the 62 the three new modules contribute, and the 2 failures
    are the same two test_acceptance_emitters_758.py::RefillTiming names,
    compared as a LIST, not as a count.
  * the 181 solo logs carried forward, plus three new solo probes.

sgl-project#918 rewrites 141 lines of memory_pool.py, so carrying proofs forward is a
claim that needs evidence rather than an assumption. The builder supplies it:
admission is `solo failure set == serial failure set`, and the SERIAL half was
just re-measured against the new bytes. Any module whose failure set the
reservation-span derivation moved would no longer match and would be DEMOTED
with the reason recorded. Demotions: ZERO -- which is the measurement that
sgl-project#918 perturbs no module's outcome, not a hope that it does not.

  before  PARALLEL 168  RANKS 13  UNCLASSIFIED 3
  after   PARALLEL 171  RANKS 13  SERIAL 0  EXCLUDED 0   -> VERIFY OK

gate_partition.tsv (managers) DELIBERATELY NOT REBUILT. sgl-project#917 adds one module
there, and that table already carries a 35-module gap whose original solo logs
(/tmp/868_solo) no longer exist. Rebuilding it now would hand 270 proven
PARALLEL rows the reason `unproven:no_solo_log` and demote them all -- a table
made worse to make one row look better. The new module therefore lands in the
serial lane by the table's own default-for-the-unknown rule, the runner names
it "unclassified: not in the partition table" in its report, and the serial
lane's own arithmetic shows it ran: 606 -> 617 passed, exactly its 11 tests.

gate_partition_scheduler.tsv untouched: no scheduler test module moved bytes.

UP037 x2 in kv_vmm_backing.py, the same hygiene as Train-2 and 2b. The file
carries `from __future__ import annotations`, so unquoting is inert at runtime;
re-imported and the sgl-project#918 suite re-run (20 passed) to prove it rather than
assume it.
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.

1 participant