Skip to content

Revert "Eliminate 2 gpu ops during sampling when logit_bias is zero" - #345

Merged
hnyls2002 merged 1 commit into
mainfrom
revert-343-logit_bias
Apr 3, 2024
Merged

hnyls2002 merged 1 commit into
mainfrom
revert-343-logit_bias

Conversation

@hnyls2002

Copy link
Copy Markdown
Collaborator

Reverts #343.

Thanks @Qubitium for reminding me of inappropriate review/PR behaviors. This PR should be discarded.

@hnyls2002
hnyls2002 merged commit ed27a6b into main Apr 3, 2024
@hnyls2002
hnyls2002 deleted the revert-343-logit_bias branch April 3, 2024 04:45
littleyellowbicycle pushed a commit to littleyellowbicycle/sglang that referenced this pull request Apr 11, 2026
efschu added a commit to efschu/htsglang that referenced this pull request Jul 31, 2026
efschu added a commit to efschu/htsglang that referenced this pull request Aug 3, 2026
… pool -- established unreachable, not fixed

sgl-project#487 audits whether the stock even-DCP allocator branch
(model_runner_kv_cache_mixin.py, the else of the allocator chain -- which
inflates both index space and page granularity by dcp_size, assuming a
token-sharded pool) can ever run against a draft worker at
--draft-kv-layout replicated (the default), whose pool sizing has the
opposite geometry (draft_pool_is_replicated) and which the allocator
selection never mentions. sgl-project#108 never audited this crossing.

Answer established WITHOUT a boot, by enumerating every producer of
is_draft_worker=True rather than assuming there is one shape: UNREACHABLE
on CUDA. Given dcp_size > 1 the stock branch is taken exactly when
rank_tp_ratio is None and not weightless_kv_active(); (1) a speculative
draft worker cannot exist in that shape because
ServerArgs._handle_dcp_validation refuses dcp_size>1 + speculation on CUDA
unless the boot is uneven-weighted DCP or the weightless fast lane; (2) a
sgl-project#274 dual-group-lane runner also sets is_draft_worker=True and is NOT
speculative, so leg 1 misses it -- closed instead by
_lane_server_args_view forcing view.dcp_size = 1. Leg 2 exists only
because "a draft pool implies a speculative algorithm" turned out false
once the producer set was enumerated, not assumed -- the new falsifier
pins that set so a third producer lands as a red test instead of a wrong
address. Residual, named rather than fixed: on HIP/ROCm leg 1 does not run
(is_hip() short-circuits before the CUDA branch), so the crossing IS
admitted there -- left alone, since this fork does not serve ROCm and a
desk-guessed change to address computation is exactly the sgl-project#345
right-token/wrong-slot class waiting to happen.

Also folds in docs(sgl-project#482): the ARM3_COMPUTE work-matched counter rule and
its script updates (scripts/dev/394_s2_proof/).

FEATURE_CATALOG.md §12 conflict as expected (this branch and the
already-merged sgl-project#510/sgl-project#513/sgl-project#511 all insert a new family paragraph at the
same point, right after the §12 header): kept all six additive paragraphs
in sequence (Unauthenticated-state-change sgl-project#510, Incomplete-cache-key sgl-project#513,
Unreachable-registration sgl-project#81/sgl-project#518, Byte-stride width sgl-project#109/sgl-project#112/sgl-project#512,
Tolerance-that-cannot-fail sgl-project#380/sgl-project#511, Reach-before-fix sgl-project#487). All 17
sections and every other previously-preserved additive paragraph
(two-axis §1, matrix doctrine §2, sgl-project#514's five families, sgl-project#499's
resolution-ordering, MERGE-DUTY owner-sites + SITREP §12, NVENC §13)
verified present.

Tests (CUDA_VISIBLE_DEVICES=99, PYTHONPATH pinned to this worktree):
- test_stock_dcp_allocator_reach_487.py alone: 20 passed.
- test/registered/unit/distributed/ (full, since
  model_runner_kv_cache_mixin.py is touched): 24 failed, 2167 passed,
  8 skipped, 723 subtests -- same 24 failing test IDs as the established
  baseline, byte-identical; the +20/+2 deltas are exactly this merge's own
  new test file.
- ruff check --select=F401,F821,UP037: clean.
- codespell: clean on all 8 touched/added files.
efschu pushed a commit to efschu/htsglang that referenced this pull request Aug 7, 2026
Desk work for the gated GPU window: the wiring written down before it is
built, and the criterion the wiring will be held to. No code changes.

The lift criterion is a checkable table, L1-L9, each with the instrument that
decides it. L6 is the one worth arguing for: acceptance rate on the PD pair
must sit within the same-boot noise floor of the monolithic arm. A draft KV
that is wrong in a way that does not crash shows up ONLY as lower acceptance,
which reads as "this rig is slow" rather than as a defect -- the same
silent-degradation class as #631a's original auto-disable. Lifting the refusal
on L5 (same accepted-token sequence) alone would reintroduce it one layer
down.

W0 was read-only, so it was executed now rather than left as a step for the
window, and it changes the recommendation.

The draft pool's head count is decided by ONE predicate, read by both the pool
sizing and the attention backend so they cannot disagree
(owner.py:102 draft_pool_is_replicated). Under --draft-kv-layout replicated,
the default and what production runs, the draft pool is HEAD-SHARDED, which is
uneven under --rank-tp-ratio -- #631a's stated reason is correct there. Under
--draft-kv-layout dcp the draft pool takes "the identical target-model
treatment": full replicated kv-heads, token-sharded by the same weighted owner
rule (model_runner_kv_cache_mixin.py:2783-2791).

The second case dissolves the problem rather than solving it. A draft pool
shaped exactly like the target pool crosses the PD boundary by exactly the
mechanism that already carries the target pool -- the extra-layers
registration on shared token indices (prefill.py:186, decode.py:439) plus the
owned_ordinals scatter the R6 verdict established as already wired. No
canonical shipment, no head reslicing, nothing new on the wire. And production
sits inside sgl-project#108's covered shape item for item: NEXTN, topk 1, one draft
layer, rank_tp_ratio installed, dcp_size 3 (server_args.py:7784-7799).

So the recommendation is now path B first -- require --draft-kv-layout dcp for
a PD pair that wants speculation -- reusing sgl-project#108's owner-rule kernels and the
existing scatter instead of adding a third transfer shape.

This partly supersedes the contract landed in 214433e, and saying so is
worth more than defending it. That contract is not wrong and is not deleted:
it remains the answer for the default replicated (head-sharded) layout, its
geometry gate and version discipline are layout-agnostic, and
local_head_window is already the recorded workaround for sgl-project#641. Retiring a
proven desk artifact on an unproven expectation is how the fallback goes
missing exactly when it is needed, so path B gets demonstrated on-card first.

Path B is not free either, and the document says what it still owes: that the
draft pool's DCP treatment is identical at the TRANSFER boundary and not
merely similar (the extra-layers registration assumes matching per-rank item
lengths, and sgl-project#345 is the standing example of a stride mismatch that corrupts
silently), that --draft-kv-layout dcp composes with disaggregation_mode at all
(no boot has combined them), and the measured acceptance cost.
efschu pushed a commit to efschu/htsglang that referenced this pull request Aug 7, 2026
…t, yet

Desk answer to the owed question, so the GPU window confirms instead of
investigates. Documentation only.

COMPOSITION VERDICT: UNCONSIDERED. draft_kv_layout appears in server_args.py
exactly twice -- the argument definition (:1517) and the sgl-project#108 gate (:7799) --
and the sgl-project#108 gate contains no reference to disaggregation, prefill or decode.
pd_disaggregation_hook.py contains no reference to draft_kv_layout. Only two
files mention both concepts at all and in both the mention is incidental.
Nothing refuses the combination and nothing supports it.

WHAT BREAKS FIRST, from code rather than prediction. Three facts compose into
a silent corruption. (1) The transport is draft-blind: mooncake/conn.py has
ZERO occurrences of "draft", and the draft pool rides as ordinary extra layers
under the comment "The indices are always shared with a target model"
(prefill.py:186-195, decode.py:439-448). (2) The decode arm rewrites
kv_indices into compact owner-rule rows ONCE, and that single array addresses
every registered buffer, target and draft alike (decode.py:1119-1125). (3) The
draft pool's row space depends on the layout:
model_runner_kv_cache_mixin.py:2821-2823 returns the FULL global context for
the default 'replicated' ("keeps the early return ... byte-identical") and
falls through to dcp_compact_pool_rows only under 'dcp'.

So on a DCP decode arm with the default draft layout, compact row indices are
applied to a pool sized to the full global context -- two different coordinate
systems, every draft row at the wrong address, the offset growing with the
slot id. That is sgl-project#345's right-token/wrong-slot drift, silent rather than a
crash. It is latent today only because #631a nulls speculative_algorithm on a
PD arm, so no draft worker exists and the registration never runs.

This is the strongest argument for path B so far, and it is not about
efficiency: under --draft-kv-layout dcp the draft pool takes
dcp_compact_pool_rows, the target's own coordinate system, so the shared
indices are correct BY CONSTRUCTION. Path B is the only one of the two layouts
on which the existing shared-index transfer is correct at all.

Owed item (1) resolves with it: under 'dcp' the draft pool carries
get_total_num_kv_heads() (:2788-2791), matching the target's treatment under
uneven_dcp_kv_replicated, so per-rank item lengths agree by the same
construction.

NEW REFUSAL UNCOVERED, added to the criterion as L10 and L11: the two arms
must agree on --draft-kv-layout, and a DCP decode arm must be on 'dcp'.
Guard 1 cannot cover the first -- draft_kv_layout is deliberately not part of
compute_model_identity_hash, being a parallelism decision rather than a
weights one. Its natural home is beside the layout version in
DraftKvCanonicalLayout, which is a second reason that contract stays.
efschu pushed a commit to efschu/htsglang that referenced this pull request Aug 7, 2026
…ct#642)

The draft KV pool rides the main transfer as extra layers addressed by the
SAME index array as the target pool (prefill.py:186-195, decode.py:439-448,
"The indices are always shared with a target model"), and mooncake/conn.py
contains no occurrence of "draft" at all, so the transport could not treat
them differently even in principle. On a DCP decode arm those indices are
compact owner-rule rows (decode.py:1119-1125). Whether that is the right
address depends entirely on --draft-kv-layout: 'dcp' gives the draft pool
dcp_compact_pool_rows, the target's own coordinate system; 'replicated', the
default, keeps "the full global context per rank"
(model_runner_kv_cache_mixin.py:2819-2823). Under the default, token L's draft
KV is written at row compact(L), which in a full-context pool is where a
different token lives -- sgl-project#345's right-token/wrong-slot class, silent, error
growing with slot id.

Two guards. L11, a parse-time refusal naming the combination, placed with the
sgl-project#636 gate because it also reads the resolved dcp_size. L10, draft_kv_layout
added to DraftKvCanonicalLayout's compared fields, since the two arms must
agree: disagreeing arms differ in both row count and per-row byte length while
sharing one index array.

L10 lives in the layout contract rather than in compute_model_identity_hash,
and the reason is preserved in the code and pinned by a test: that hash is
taken with include_parallel_vectors=False precisely so a PP prefill and a
TP+DCP decode on identical weights still pair (#631a guard 1).
draft_kv_layout is a parallelism decision, so putting it there would
reintroduce exactly the false refusal that flag exists to prevent.

Why the hazard is not reachable today, stated precisely because a latent guard
that becomes dead code is its own defect: #631a REFUSES a PD arm that asks for
speculation, and its SGLANG_PD_AUTO_DISABLE_SPEC escape hatch disables it
instead. Neither branch lets a draft worker exist, so the registration never
runs. The accurate reason is "no branch permits it", not "the refusal nulls
it" -- the branches could diverge, and someone hardening only the escape hatch
would not realise they were also holding a corruption path shut. This gate is
what makes lifting #631a safe, and it is in the tree BEFORE that lift rather
than bundled into it.

Tests: 12 hermetic + 2 subtests, green. HazardTest is the point of the file
and is guard-INDEPENDENT: it models the two code sites' own arithmetic and
demonstrates the corruption executably -- rank 0 of a 3-way split over a
12-token context owns slots 0/3/6/9, and writing them at compact rows into a
full-context pool puts token 3 in token 1's row, token 6 in token 2's, token 9
in token 3's, while rows 6 and 9 stay empty. 3 of 4 owned tokens land at a
wrong address and nothing raises. A guard whose test only checks that the
guard raises proves nothing about the hazard, so the hazard is shown first and
stays green in both can-fail arms.

Can-fail: removing the L11 refusal turns both GuardTest refusal cases red;
dropping draft_kv_layout from the compared tuple turns the L10 disagreement
test red. Base-vs-branch on unit/disaggregation + unit/server_args with the
same command: 785 passed, 0 failed on branch, so no regression is possible.
ruff and codespell clean.
efschu pushed a commit to efschu/htsglang that referenced this pull request Aug 26, 2026
…the refusal's false leg

User order: fix sgl-project#875, do not merely refuse it. The refusal in
`restore_seam_state` is correct -- it is the only thing between the tree and the
W40 IndexError one way and a silent wrong-layer write the other -- but its own
counter comment states the cost: every flip in that direction loses its
prefixes. This is the first axis of the answer, plus a correction that should
have come first.

THE REFUSAL'S JUSTIFICATION WAS PUT ON TRIAL AND ONE LEG DIED.
`check_cpu_copy_layers` claimed "the KV head sharding also differs between the
phases (PP holds all heads of its stage, TP a head shard of every layer), so
even the overlapping entries are not interchangeable". FALSE on this rig, read
in the code rather than assumed: under sgl-project#345 uneven-DCP replication the
full-attention cache is TOKEN-sharded and every rank stores the FULL replicated
kv-heads (model_runner_kv_cache_mixin.py:3155-3160; the boot line at :3228
prints `get_total_num_kv_heads()`), and the PP pool takes
`get_num_kv_heads(attn_tp_size)` with `attn_tp_size == 1` -- the same total.
Identical widths, interchangeable entries. That sentence was my own and it would
have stopped the next reader from looking; it is removed rather than softened.

THE SURVIVING LEG IS NARROWER THAN IT SOUNDED. A remap needs every layer the
destination holds and rank-locally under PP it cannot have them -- 8 of 16 on
this rig's `pp_attn_stage_ratio=[8,4,4]`. But the union over the three stages IS
every layer and PP holds all tokens, so the data exists on a peer. The honest
statement was never "a remap is impossible", it was "a RANK-LOCAL remap is
impossible, and nobody asked whether a collective one was available".

THREE AXES, NOT ONE -- the finding that decides the scope:
  LAYER  PP stage-sharded vs TP complete. BUILT HERE, both directions proven.
  HEAD   replicated in both phases. No remap needed. Settled above.
  TOKEN  PP holds every token at allocator slots; TP holds an owner-rule SUBSET
         at compacted rows, `(L // cp_S) * cp_ratio + (L % cp_S - cp_lo)`
         (layers/dcp/owner.py:159). A SECOND collective-shaped remap, NOT
         solved. I had not named this axis at all before this round.

SO THE CARRY IS NOT WIRED, AND THE REFUSAL STAYS. A layer-correct token-wrong
carry produces matching row ids at mismatched widths -- the exact shape sgl-project#719
already walked into. `seam_layer_carry.py` is a pure module with the collective
INJECTED by its caller: nothing in it communicates, because a collective on the
per-request restore path is the sgl-project#630 wedge shape and the place a real carry
belongs is the flip's own `pre_cutover_fns`, beside `gdn_state` and
`weights_refill`, where the group is already synchronised.

The refusal is annotated at both sites with what it is waiting for, so it reads
as a staged non-answer rather than as a verdict.

BOTH DIRECTIONS, SEPARATE FALSIFIERS, because they fail differently:
  PP -> TP  the loud arm. Asserted as a refusal that NAMES the missing global
            layers. One stage alone refuses; three stages together assemble all
            16 exactly; two of three refuses rather than restoring 12 right and
            4 stale.
  TP -> PP  the SILENT arm. No exception exists to assert on, so asserted on
            CONTENT: each destination slot must hold its own global layer, value
            by value, and all three stages together must tile the model exactly
            once. An exception-only test passes this arm by doing nothing.

CAN-FAIL, and the first mutant is the one that matters: replacing the carry with
the OLD naive positional prefix -- i.e. a no-op -- reds SEVEN tests across both
arms. Filling missing layers instead of refusing reds three. Ignoring
`start_layer` reds three. Dropping this rank's own copy from the union reds six.

Same-layout is deliberately NOT special-cased: a PP->PP or TP->TP restore goes
through the same path and comes out positionally identical, so the case that
already works anchors the case that did not.
efschu pushed a commit to efschu/htsglang that referenced this pull request Aug 26, 2026
…ation of it was wrong

Third judgement on this axis. I deleted the refusal's KV-head leg (25a667d),
restored it as true (19b8177), and now delete it again. Both phases hold 4
kv-heads per layer. The original deletion was right.

VERIFIED AT THE CODE, INDEPENDENTLY -- not taken on report, because two
judgements on this axis were already wrong today:
  * `parse_flip_vector` (phase_flip_boot.py:254) reads
    `server_args.phase_flip_tp_vector`, NOT `--rank-tp-ratio`. This boot:
    '32,16,16'.
  * `set_tp_partition_ratios(list(vec))` runs at phase_flip_boot.py:1428; the TP
    `TpModelWorker` is built at :1473. Install precedes construction, and
    nothing between them clears it.
  * so at TP-pool build time `get_tp_partition_ratios()` is [32,16,16], dcp_size
    is 3, `uneven_dcp_kv_replicated` is TRUE, the sgl-project#345 exception is taken and
    `_pool_kv_head_num` returns `get_total_num_kv_heads()` = 4.
  * PP builds earlier, when the only installer that has run is
    scheduler.py:12223 with `rank_tp_ratio=None` -- ratios ARE None there, and
    `max(1, 4 // 1)` = 4.
  * ONE LAYER THE HANDED-OVER CHAIN DID NOT TRACE, checked here:
    `get_tp_partition_ratios` reads a context-local overlay BEFORE the installed
    plan (distributed/utils.py:168). It is written only by the sgl-project#274 dual-group
    lane's scoped manager (:207), and `dual_group_lane=False` on this boot -- so
    that layer is inert and cannot shadow the plan. The chain survives my check;
    I found nothing that breaks it.

WHY I GOT IT WRONG THE SECOND TIME, and it is not carelessness:
`uneven_dcp_kv_replicated`'s docstring says "a `--rank-tp-ratio` base plan is
installed". It names a FLAG for a PROCESS state with TWO installers, and the
flip is the other one. Reading the docstring is sufficient to reach my wrong
conclusion. The root fix belongs on that docstring and is not mine.

CONSEQUENCE: the head axis needs NO remap, the carry needs TWO (layer, token),
and sgl-project#875's DO-NOT-BUILD verdict LOSES the argument I gave it last round. What
still carries it: the token axis is unsolved and rank-locally unavailable, and a
new collective in the cutover's no-return region is the sgl-project#630 wedge shape. The
transport-timing leg was already withdrawn in 237189f as misattributed. So the
verdict stands on the token axis and the no-return risk -- and it now rests on
less than it did, which is worth saying plainly.

TESTS: the four cases that pinned the WRONG arithmetic are replaced by five that
assert the CHAIN -- the installer's source, the install-before-construction
ORDER, the predicate's actual expression rather than its docstring's flag name,
the head counts on both sides, and the overlay's inertness. Asserting the flag
is what reproduced my error; asserting the order and the source is what makes
the answer stable.

CAN-FAIL: moving the install after the TP worker reds the order test; making the
flip read `rank_tp_ratio` reds the installer test. The first mutant initially
survived because I reinserted the install immediately BEFORE the worker line --
the order was never actually inverted. Fixed and re-run.

NOT AMENDED: 19b8177 is pushed. Third correction-by-follow-up on this branch,
same rule each time.

RESIDUAL, inherited and not resolved: the chain is closed by CODE ORDER, not by a
log line printing the ratios at pool-build time. A failed install between :1428
and :1473 would go undetected. No path to one is known.
efschu pushed a commit to efschu/htsglang that referenced this pull request Aug 26, 2026
…s state

POSTEN 1 -- THE ROOT FIX, AND IT IS WORDING BECAUSE THE BEHAVIOUR WAS ALWAYS
RIGHT.

`uneven_dcp_kv_replicated` documented "a --rank-tp-ratio base plan is
installed". It reads `get_tp_partition_ratios()`, which is PROCESS STATE -- a
context-local overlay, then a process global -- and that state has MORE THAN ONE
installer:

  managers/scheduler.py       set_tp_partition_ratios(...)   startup path
  managers/phase_flip_boot.py set_tp_partition_ratios(vec)   vec = parse_flip_vector()
                                                             -> --phase-flip-tp-vector,
                                                                A DIFFERENT FLAG,
                                                                A DIFFERENT AXIS

So on a flip boot the named flag is None while the predicate is TRUE. Two
readers concluded the opposite from that sentence in one day, the second while
CORRECTING the first. The error was not carelessness: the documentation invited
it. The docstring now states the process-state contract, names both installers,
says outright that an unset --rank-tp-ratio proves nothing here, and tells the
reader to call the accessor instead. Getting it wrong is a KV pool ROW STRIDE
via `_pool_kv_head_num` (sgl-project#345: 57% wrong at L00.o_proj on the first decode step
while prefill sat at the noise floor), i.e. silent corruption, not a sizing
error -- so that consequence is in the docstring too.

MEASURED ON THIS RIG (boot_w40_857strict_0826_0516): rank_tp_ratio=None,
phase_flip_tp_vector='32,16,16', dcp_size=3 in the TP phase -> predicate TRUE ->
pools hold get_total_num_kv_heads()=4. PP phase: accessor None, but tp_size=1 ->
4//1 = 4. BOTH phases hold 4 heads per layer for DIFFERENT reasons; there is no
factor of four on this rig.

POSTEN 2 -- THE CLASS, DERIVED FROM STRUCTURE.

The criterion is computed every run, and nothing about the known instance is
privileged: a process-state accessor `get_X` whose installer `set_X` has >= 2
NON-DEFINITION call sites, read by a function whose docstring names a `--flag`.

Measured: 31 such accessor pairs exist. `get_tp_partition_ratios` alone has FOUR
installers -- two more than the specimen investigation found by hand -- and
SIXTEEN sites document a single flag for it. The most load-bearing sibling is
`configs/model_config.py:_uneven_tp_num_kv_heads`, which computes the KV-HEAD
COUNT on the very axis that carried both wrong judgments, and which no instance
fix ever touched.

All sixteen are RECORDED with a verdict rather than fixed one at a time:
behaviour is correct at every one of them (they read the plan); the defect is
wording. Rewriting fifteen docstrings in a pass nobody asked for is how a sweep
becomes a rewrite -- sgl-project#881's wording is the template for whichever is next
touched. What the record buys is that a SEVENTEENTH fails the gate.

`get_server_args` is excluded BY RULE, not by taste: it returns the whole parsed
config, so a docstring naming a flag it carries is accurate. The class is about
state whose installers diverge from the documented flag.

A FALSE GREEN I SHIPPED FOR ONE ITERATION AND CAUGHT. The scan capped the
docstring window at 900 characters and then FAILED TO SEE ITS OWN SPECIMEN,
because sgl-project#881's corrected docstring is longer than that. A scan whose window is
shorter than the documentation it reads reports "nothing to find" -- the one
direction indistinguishable from green. Widened to 6000, and narrowing it back
is a can-fail case.

TESTS (hermetic; no boot; no card touched). CVD="" verified at the process,
`nvidia-smi --query-compute-apps` showed only the operator's own devindex
context on card 1, which was reported and not touched.

* red-first: the docstring marker red before the fix; the four contract tests
  green before it, because they pin behaviour that was already correct.
* can-fail, each caught by name, green restored after each:
  - predicate reads a flag instead of process state -> 2 red (the behavioural
    contract, installed with no flag anywhere in sight);
  - docstring reverts to naming only the flag -> 1 red;
  - un-record a sibling that NEVER hurt (`tp_loaded_shard_start`) -> gate red;
  - narrow the docstring window back to 900 -> the specimen vanishes, red.
* partitioned tier-2 gate: wide 3775 / narrow 291 / serial 363 passed, 26
  exclusions reported (24 + the two modules added here), names agrees with the
  summary on every lane. Serial +9 over 354 is these two suites. TWO failures,
  neither mine -- this commit changes one docstring and adds two test files:
  test_pp_admission_wraparound_never_blocks (PRE-EXISTING: on the clean base
  726f11e that module fails TWO tests, MORE than here) and
  test_pp_admission_chain_flush_deadlock_795 (passes in isolation on this tree;
  the narrow-lane contention shape, third occurrence this session).

WHERE THE SCAN STRUCTURALLY DOES NOT REACH, named in the module: a docstring
that names nothing (no wrong answer handed to the reader -- out of scope by
intent); a flag and its process state sharing a name; installers reached through
a wrapper or registry, where `set_X(` never appears literally, so the installer
count is a LOWER BOUND and the scan under-reports rather than over-reports;
runtime-assigned `__doc__`.

NOT ESTABLISHED. The sgl-project#881 verdict rests on CODE ORDERING (install at
phase_flip_boot before `TpModelWorker(`) plus the set flag, not on a log line
printing `get_tp_partition_ratios()` at `_pool_kv_head_num` time. A failure
between those two points would have escaped me; there is no path to one, but it
is not measured. Said here because this verdict revises a retraction.
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