Skip to content

Phase 3: Port Newton acceleration to the MLX backend #264

Closed

Description

@neuromechanist

Part of epic #260. Port do_newton (sigma2/kappa/lambda curvature accumulators, posdef handling, newt_start/newt_ramp/newtrate schedule) to AMICAMLXNG in float32. Pre-registered go/no-go: Fortran runs Newton in float64 and float32 Newton has no precedent here, so the phase plan must define a stability gate on the real sample data (convergence to the torch-CPU Newton solution within float32 tolerance, no posdef-fallback storms); if the gate fails, the deliverable is documented, evidence-backed non-support in docs/guides/amica-differences.md.

Activity

  1. added
    enhancement
    on Aug 23, 2026
  2. neuromechanist commented on Aug 23, 2026

    @neuromechanist
    MemberAuthor

    Completed in PR #271, squash-merged into the epic branch feature/issue-260-epic-mlx-parity. Gate outcome: GO (float32) — curvature matches the float64 torch reference to ~4e-7, matched-budget LL within 1e-5, zero posdef fallbacks, conditioning margin ~2.0 (bar 1e-3), zero overshoot; evidence in .context/issue-264/. Reaches dev with the epic #260 final merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions