Skip to content

feat(models): add Apertus #248

Closed

Description

@inureyes

Summary

Port Apertus, a multilingual open model. Upstream is stable (tie_word_embeddings fix ml-explore/mlx-lm#1143).

Upstream references

Notes

Apertus is largely a Llama-style transformer with a few deltas: xIELU activation, optional QK-norm, and specific tie_word_embeddings handling (the #1143 fix). Verify those against the reference.

Acceptance criteria

  • src/models/apertus.rs implemented (xIELU activation, QK-norm, tied-embedding handling).
  • Registered in src/models/detection.rs.
  • bf16 to f16 at the loading boundary; unit tests; docs/supported-models.md updated.
  • Validated with a real mlx-community Apertus checkpoint.

Effort

Medium.

Activity

  1. added
    status:backlog
    type:enhancement
    priority:medium
    area:models
    status:in-progress
    status:review
    status:done
    and removed
    status:backlog
    status:in-progress
    on Jun 13, 2026
  2. added this to the 0.3 milestone on Jun 21, 2026
  3. self-assigned this
    on Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:modelspriority:mediumstatus:donetype:enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions