Skip to content

feat(models): add PLaMo 2 (plamo2) #251

Closed

Description

@inureyes

Summary

Port Preferred Networks' PLaMo 2 (plamo2), a Mamba / attention hybrid.

Upstream references

Notes

PLaMo 2 interleaves Mamba (SSM) and attention layers. Reuse mlxcel's mamba2 / hybrid cache machinery and exclude the SSM path from paged batching like other hybrids (Jamba, Nemotron-H).

Acceptance criteria

  • src/models/plamo2.rs implemented.
  • Registered in src/models/detection.rs.
  • Hybrid cache (SSM state plus KV) wired; SSM excluded from paged batching.
  • bf16 to f16 at the loading boundary; unit tests; docs/supported-models.md updated.
  • Validated with a real mlx-community PLaMo 2 checkpoint. (pending the on-device Apple Silicon gate; implemented in PR feat(models): add PLaMo 2 (plamo2, Mamba + attention hybrid) #257)

Effort

High (hybrid).

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