Repository navigation
Inkling 2: DARKBLOOM_INKLING_MTP_MAX_DRAFT sets the per-round draft cap (default 7) - #2692
Merged
Merged
Conversation
…nd cap Inkling 2 Mini's DSpark profile (Inkling2DSparkDrafter.defaultMTPConfig) drafts up to 7 tokens per round, with the adaptive depth policy picking each round's depth below that. There was no way to lower the cap without a build, so comparing caps needed one build per value. DARKBLOOM_INKLING_MTP_MAX_DRAFT now sets it (Inkling2MTPProfilePolicy): unset or blank keeps 7, a whole number is clamped to 1...7, anything else keeps 7 with a warning. The verify envelope follows the cap through defaultMTPConfig(maxDraftTokens:). The acceptance setting still applies. Every draft is verified exactly, so tokens do not depend on the cap. The LaunchAgent forwards the value. Tests: Inkling2MTPMaxDraftTests (parse, clamp, unrecognized values, engine profile per cap, LaunchAgent forwarding). Docs: configuration reference row, Inkling 2 Mini reference, inference architecture; changelog fragment.
2 of 3 tasks
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Nov 24, 2026
This was referenced Nov 24, 2026
This branch was successfully deployed
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
Inkling 2 Mini's DSpark profile drafts up to 7 tokens per round, and there was no way to lower that cap without a build.
DARKBLOOM_INKLING_MTP_MAX_DRAFTnow sets it (Inkling2MTPProfilePolicy): unset or blank keeps 7 (no change by default), a whole number is clamped to 1 to 7, anything else keeps 7 with a warning. The adaptive depth policy still picks each round's depth at or below the cap, and the verify envelope follows it throughInkling2DSparkDrafter.defaultMTPConfig(maxDraftTokens:). Every draft is verified exactly, so tokens do not depend on the cap. The LaunchAgent forwards the value.Stacked on #2689 (the pin to SDK main
e7918994a7); the base moves todevonce that lands. No SDK change.Linked issue
None.
Test plan
Inkling2MTPMaxDraftTests(unset/blank keeps the shipped profile; whole numbers set the cap; out-of-range values clamp; other values keep 7 and are reported; the LaunchAgent forwards it).scripts/changelog.py check,scripts/docs-impact-check.py --base 939db0b3d5.Refactor pass: no change justified.
Components touched
Protocol / interface changes
DARKBLOOM_INKLING_MTP_MAX_DRAFT(default unchanged); no wire or release change.Documentation impact
docs/reference/configuration.md,docs/reference/inkling2-mini-support.md,docs/architecture/inference.md; changelog fragmentchangelog.d/inkling-mtp-max-draft.md.