Skip to content

feat: Ornith Hub 4bit load + SuffixSpec SCORE gate - #179

Merged
penta2himajin merged 2 commits into
mainfrom
claude/ornith-4bit-gate
Aug 24, 2026
Merged

feat: Ornith Hub 4bit load + SuffixSpec SCORE gate#179
penta2himajin merged 2 commits into
mainfrom
claude/ornith-4bit-gate

Conversation

@penta2himajin

Copy link
Copy Markdown
Owner

Summary

Enable Ornith / mlx-community-style Hub 4-bit checkpoints (MTPLX-equivalent quant recipe, not only mtplx_policy) and normalize BF16 scales/biases to F16 at load so Seedless Metal half bindings stay coherent. Also port SuffixSpec SCORE / trunc / adaptive-K so wide drafts do not pay verify tax on low-accept regimes; Ornith 4-regime A/B lands 3/4 ≥90 tok/s (agentic still ~85 on the AR floor).

Related issue

N/A (Ornith enablement + Spec feedback port; agentic-floor follow-up is a separate branch)

Verification

  • Ornith + MTPLX smoke load / generate
  • Ornith 4-regime decode A/B (defaults vs Spec-off / SCORE knobs); trunc uses unsmoothed C so Laplace does not empty singleton drafts
  • ModelStore.selfCheck gate cases (stamp / ornith recipe / reject nail & uniform-4bit)
  • scripts/test_raw.sh (RAWTESTS) on this machine after merge if CI does not cover GPU
  • Zero warnings

Notes for reviewer

  • Gate accepts content (quant recipe), never path/modelID.
  • Spec defaults: ROWCOST=478, resident DRAFT_K=96, SCORE+trunc+adaptive-K on. Speed-only; lossless either way.
  • Agentic ≥90 is not claimed here — next workstream after merge (m1-floor / chain floor).

Made with Cursor

Kenya Nara (@penta2himajin) and others added 2 commits August 20, 2026 22:40
Gate on quant recipe (not only mtplx_policy) so layout-compatible
checkpoints can open; cast BF16 scales/biases to F16 by dtype so Metal
half kernels stay correct without path- or name-based switches.

Co-authored-by: Cursor <cursoragent@cursor.com>
Port dense/chibi levers so wide drafts don't pay verify on low-accept
regimes (agentic/longctx), while Spec can still win on code/longctx.
Trunc uses unsmoothed C so Laplace smoothing doesn't empty singleton
drafts. Ornith A/B: defaults r=478‰, DRAFT_K=96 → 3/4 regimes ≥90 tok/s.

Co-Authored-By: Cursor <cursoragent@cursor.com>
@penta2himajin
penta2himajin merged commit 53b1e1e into main Aug 24, 2026
1 check passed
@penta2himajin
penta2himajin deleted the claude/ornith-4bit-gate branch August 24, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant