You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Round-3 review findings (OutisLi + njzjz-bot re-review):
1. The signed phantom denominator could cross zero for real logits
below phantom_logit (the smooth envelope maps raw < -attnw_shift to
l < -shift at sw > 0 -- reachable with finite, valid parameters),
producing a pole / the where-guard's invalid weights-sum>1 fallback.
segment_softmax now applies an exponential-tail floor on the signed
path: D~ = D + delta*exp(-D/delta), delta = sel*ph_term/40. It is
C-infinity, monotone toward deeper deficits, bounded below by delta
(weights <= 40*n_real/sel), and in the in-design regime (all logits
>= phantom_logit, so D >= sel*ph_term = 40*delta) the correction is
<= exp(-40)*delta -- it underflows to EXACT identity in float64, so
the dense term-for-term parity remains bit-preserved (verified: the
repformer parity suites still pass at 1e-12). Regressions: both
reviewers' repros (sel=1 logits [-21,-21]; three entries at -100),
a resolution-scaling smoothness sweep across the former zero
crossing, and an in-design bit-parity pin vs the exact fixed-width
softmax.
2. compute_edges_gpu_impl (Kokkos device-edge route) still padded
aparam to rank-3 (1, nnode, daparam) and fed it to run_model_graph,
which the flat-ABI artifact rejects; it now routes through
extend_graph_aparam (flat (N, daparam), width-validated, ghost-only
synthesis). The phantom edge-schema branch keeps its rank-3 layout
(run_model_edges_with_comm is a different ABI).
3. uses_compact_edge_pairs() read the CONFIGURED repformer args, but
the last layer is built with update_chnnl_2=False which forces its
g2/h2 updates off -- an nlayers=1 model never builds compact pairs
yet was rejected on torch < 2.6. The capability now reads the
EFFECTIVE per-layer flags (the same gate call_graph uses); the guard
regression uses nlayers=2 for the positive cases and pins that
nlayers=1 is accepted on torch 2.5.1.
0 commit comments