Repository navigation
fix(models): validate Inkling on real checkpoints, fix NVFP4 and MTP - #3278
Merged
Merged
Conversation
inureyes
added a commit
that referenced
this pull request
Nov 22, 2026
Review of PR #3278 found two comments claiming the qmv_wide retry restores Inkling exactness; on the M3 Ultra the probe still declines with qmv_wide off, so they now say MLXCEL_MTP_ALLOW_INEXACT=1 is required there. The CHANGELOG entry now states the user-visible change (offline MTP errors out, the server serves classic decode). The shared drafter dtype policy no longer lists the Inkling drafter as a caller. Adds the bilingual technical report. Refs #1549
Closed
5 tasks done
Validating issue #1549 on an M3 Ultra exposed two defects on the real checkpoints. The native thinkingmachines/Inkling-Small-NVFP4 export declares its quantization only in hf_quant_config.json, so the load-time bf16 to f16 cast treated it as unquantized and every greedy token decoded to id 0. bf16_to_f16_at_load now exempts the Inkling family; the NVFP4 checkpoint answers text, image, audio and video prompts and tracks mlx-vlm's NVFP4 output. Inkling MTP was enabled unconditionally, and at --draft-block-size 2 and 3 the greedy stream differed from classic decode. The target now runs the shared block-vs-chain exactness probe (qmv_wide retry, MLXCEL_MTP_ALLOW_INEXACT override) in the server and in mlxcel generate, and the MTP head keeps its bf16 checkpoint dtype instead of the shared drafter f16 cast. The server also logs the per-clip video plan at debug level. docs/supported-models.md replaces the stale "checkpoints unavailable" notes with the measured results. Regression tests cover the dtype exemption, the drafter dtype, the gate in mtp_capable_target and the probe on the tiny model. Closes #1549
Review of PR #3278 found two comments claiming the qmv_wide retry restores Inkling exactness; on the M3 Ultra the probe still declines with qmv_wide off, so they now say MLXCEL_MTP_ALLOW_INEXACT=1 is required there. The CHANGELOG entry now states the user-visible change (offline MTP errors out, the server serves classic decode). The shared drafter dtype policy no longer lists the Inkling drafter as a caller. Adds the bilingual technical report. Refs #1549
inureyes
force-pushed
the
test/1549-validate-inkling-real-checkpoints
branch
from
November 22, 2026 22:32
6e4e399 to
e172d63
Compare
inureyes
marked this pull request as ready for review
November 22, 2026 22:36
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.
Closes #1549
Real-checkpoint validation of Inkling omni on an M3 Ultra (512 GB), plus fixes for the two defects it found.
Fixes
thinkingmachines/Inkling-Small-NVFP4declares its quantization only inhf_quant_config.json, sobf16_to_f16_at_loadtreated it as unquantized and cast its bf16 dense weights to f16. The Inkling family now keeps its checkpoint dtype. Before: every token!. After: coherent answers on text, image, audio and video.mtp_capable_targetreturned true for Inkling unconditionally, and widths 2 and 3 emitted greedy streams that differed from classic decode (cause:qmv_wideat M >= 2, confirmed withMLXCEL_QMV_WIDE=0). Inkling now runs the shared block-vs-chain probe in the server and inrun_offline_mtp. The MTP head keeps its bf16 dtype instead of the drafter f16 cast (width 2: 11.6 s to 5.1 s for 128 tokens).Validation
MLXCEL_FUSED_MOE=0)/v1/chat/completions(64 tokens)MLXCEL_QMV_WIDE=0User-visible change: on M3 Ultra the gate declines Inkling MTP at every width, so
mlxcel generate --draft-kind mtperrors and the server serves classic decode unlessMLXCEL_MTP_ALLOW_INEXACT=1is set.Peak memory: 0.6B 3.6 GB, 4-bit 154 to 161 GB, NVFP4 about 274 GB. Narrow Inkling, sanitize, speculative-burst and drafter tests, clippy on lib and tests, fmt, and the contract checks pass. Technical report:
TECHNICAL_REPORTS/3278-inkling-real-checkpoint-validation-20261123.{en,ko}.md.