feat: Ornith Hub 4bit load + SuffixSpec SCORE gate - #179
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 Metalhalfbindings 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
ModelStore.selfCheckgate cases (stamp / ornith recipe / reject nail & uniform-4bit)scripts/test_raw.sh(RAWTESTS) on this machine after merge if CI does not cover GPUNotes for reviewer
modelID.ROWCOST=478, residentDRAFT_K=96, SCORE+trunc+adaptive-K on. Speed-only; lossless either way.m1-floor/ chain floor).Made with Cursor