Skip to content

Epic: MLX backend feature parity #260

Closed
4 of 4 issues completed
Closed

Description

@neuromechanist

Epic: bring the MLX backend (AMICAMLXNG) to feature parity with the PyTorch backend, so the ~15-25 ms/it Apple-GPU path covers the full AMICA feature set instead of only single/multi-model GG natural gradient. All gaps currently fail loudly (constructor TypeError/NotImplementedError) and are recorded in docs/guides/amica-differences.md; this epic closes them.

Integration branch: dev. Epic branch: feature/issue-260-epic-mlx-parity. Phase PRs squash-merge into the epic branch; the final epic PR merges to dev with a regular merge commit (AGENTS.md epic exception).

Phases

  • Phase 1 (share_comps similarity space differs: torch sensor-space, numpy sphered-space #258): sharing similarity in sensor space for numpy_impl, so both existing backends agree on merge semantics before MLX ports them once
  • Phase 2: port share_comps to the MLX backend (comp_list-driven accumulation, gm-weighted shared A-update, sensor-space merge scan, A-freeze, merged-column freeze)
  • Phase 3: port Newton acceleration (do_newton) to the MLX backend, with a pre-registered float32 stability go/no-go on real data (Fortran runs Newton in float64; documented non-support with evidence is the fallback deliverable)
  • Phase 4: port the non-GG source-density families (pdftype 2/3/4 and the ext-Infomax switcher, Adaptive-PDF selection for AMICATorchNG #26 parity) to the MLX backend

Out of scope: #232 (do_opt_block, cross-backend), #246 CI residue.

Related: #248 (done), #26, #60, #81, #253, #257.

Sub-issues

Sub-issues

4 of 4 Issues completed
Loading 4 sub-issues

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