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
Part of epic #278. Port the #51 best-iterate safeguard (keep_best, snapshot_params/restore, final_ll semantics, the share_comps/do_reject disables) to AMICAMLXNG. Newton fallback overshoots were keep_best's original motivation; the #264 gate measured zero overshoot on sample data, so this is robustness for harder data, not a known live defect.
Landed on the epic branch via PR #310: keep_best ported with torch's exact snapshot/restore semantics (snapshot after the E-step that measured the candidate best, 1e-9 tolerance, degenerate-stop exclusion, n_kurt_done captured with pdtype), share_comps disable with the torch warning, additive state_dict persistence, and 13 new tests including the forced-restore recipe (measured overshoot 1.68e-4 under the min_dll stop), the no-rescue-of-diverged-fits guard pinned in BOTH backends, and the keep_best x n_restarts composition. Reaches dev with the epic #278 final merge.
Activity
Phase 2: MLX keep_best (#310)
neuromechanist commentedon Sep 1, 2026
Landed on the epic branch via PR #310: keep_best ported with torch's exact snapshot/restore semantics (snapshot after the E-step that measured the candidate best, 1e-9 tolerance, degenerate-stop exclusion, n_kurt_done captured with pdtype), share_comps disable with the torch warning, additive state_dict persistence, and 13 new tests including the forced-restore recipe (measured overshoot 1.68e-4 under the min_dll stop), the no-rescue-of-diverged-fits guard pinned in BOTH backends, and the keep_best x n_restarts composition. Reaches dev with the epic #278 final merge.
Note keep_best now also covers AMICAMLXNG in ADR 0003