Skip to content

Add disk cache for loading ShareGPT dataset. - #542

Merged
hnyls2002 merged 1 commit into
mainfrom
cache-dataset
Jun 13, 2024
Merged

hnyls2002 merged 1 commit into
mainfrom
cache-dataset

Conversation

@hnyls2002

Copy link
Copy Markdown
Collaborator

No description provided.

@hnyls2002
hnyls2002 merged commit 40e53d6 into main Jun 13, 2024
@hnyls2002
hnyls2002 deleted the cache-dataset branch June 13, 2024 08:37
timethink pushed a commit to timethink/sglang that referenced this pull request Mar 9, 2025
efschu added a commit to efschu/htsglang that referenced this pull request Aug 4, 2026
…ats both arms

Nine runs of a planned sixteen, stopped on instruction to restart serving with
disk hicache and preserve_thinking. Two arms differing in one wire field:
thinking disabled (today's default) against adaptive.

The benchmark does not answer its question, and both reasons are measured. The
A-vs-A noise floor spans everything: the same task in the same arm, back to
back, went 179 s with a complete answer and then 600 s with no answer at all,
0.54 M against 2.58 M prompt tokens. And the thinking arm ran without
preserve_thinking, so it re-prefills more per turn (sgl-project#542) -- 48.5 % prefix
reuse against 40.3 % on the one pair where the counter was already wired up.
Arm-B wall times are a serving artefact, not a model signal.

Two results survive both problems. Adaptive thinking self-doses by task shape:
72 % and 56 % of generated tokens on the judgement audit, 7 % and 9 % on the
mechanical inventory sweeps. And neither arm ever invented a defect -- every
audit error in every run was a stale citation waved through, never a fabricated
finding.

Task material is real open work, not retro-eval: two sgl-project#538 building-block sweeps
over disjoint directory slices, the standing FEATURE_CATALOG audit continued
into the unchecked section 16, and the open sgl-project#533 warmup question. Each output
is kept as work product rather than discarded, listed per task in the writeup.

Yield: four stale section-16 citations confirmed by hand (uneven_perf.py:2617
-> 2642, metrics_reporter.py:1018 -> 1020, :1020 -> 1022, :962 -> 964), two
usable module inventories, and a sgl-project#533 analysis whose twelve file:line claims
were each opened and confirmed exact.

One grading trap recorded because it nearly produced a false result: the first
grader flagged sixteen importer claims as wrong and was wrong in all sixteen --
it excluded slice-internal importers, never searched scripts/, and its AST pass
missed annotated module constants.

ANALYSE_532's capability ladder gains three rows, all Tier 1, including an
upgrade of bounded analysis-with-recommendation out of Tier 2. Thinking on vs
off moves no tier.

codespell clean.
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