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
{{ message }}
Repository navigation
feat: dense arch pack for parallel-block and norm-variant families (Cohere/Cohere2, Phi3, StableLM, StarCoder2, Granite, MiniCPM/MiniCPM3) #498
Cohere and Cohere2 use LayerNorm, a parallel attention+MLP block, no biases, and a logit scale.
Phi3, StableLM, StarCoder2, Granite, and MiniCPM/MiniCPM3 each carry a small delta such as partial RoPE or residual scaling.
Once the shared attention core (#494) lands, each is a config flag plus a small forward delta.
Scope
Add each via Config::from_json flags and the shared forward: parallel-block flag, LayerNorm vs RMSNorm, logit scale, partial-RoPE fraction, residual scaling.
Each listed architecture (Cohere, Cohere2, Phi3, StableLM, StarCoder2, Granite, MiniCPM, MiniCPM3) loads and generates via the CLI MLXCEL_BACKEND=xla path and serves via mlxcel-server.
Single-sequence path is token-exact vs an HF fp32 oracle on a real checkpoint.
Serve path is reference-exact via xla_batch_bench.
Dependencies
#494 (shared attention core). Uses #496 (validation harness) when available.
Activity
refactor: share per-layer attention core across emitter graph kinds (#…
merge origin/main: unify #497/#499 and #498 dense arch packs
Merge origin/main into feature/issue-500-moe-ffn-primitive
refactor: share per-layer attention core across emitter graph kinds (l…