Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
a403b7e
Inkling 2: DARKBLOOM_INKLING_MTP_MAX_DRAFT sets the drafter's per-rou…
jonathan308 Nov 24, 2026
0d4018d
GPT-OSS: return a whole declared call written as the answer or inside…
jonathan308 Nov 24, 2026
22e4582
Gemma on M5 Ultra: no drafts for a step whose rows all have prompts o…
jonathan308 Nov 24, 2026
bd4bd3b
Merge remote-tracking branch 'origin/perf/sdk-pin-m9' into fix/mtp-re…
jonathan308 Nov 24, 2026
9816700
Gemma prompt limit: a build default that one line turns off
jonathan308 Nov 24, 2026
78818f2
Inkling 2: DARKBLOOM_INKLING_MTP_COUPLED turns on coupled drafting (d…
jonathan308 Nov 24, 2026
a22203f
fix(provider): let repetition-penalty rows draft on the MTP builds
jonathan308 Nov 24, 2026
3108b42
Pin mlx-swift-lm to the repetition-penalty verify head (997ae1a347) f…
jonathan308 Nov 24, 2026
4f78df3
Gemma prompt-limit tests: name the build default where they depend on it
jonathan308 Nov 24, 2026
389c39d
GPT-OSS call recovery: forward its switch to the LaunchAgent
jonathan308 Nov 24, 2026
f917e21
Inkling 2 Mini: speculate on rows that request logprobs
jonathan308 Nov 24, 2026
8a9dcf3
Keep an idle slot's decode rate while the coordinator decays stale rates
jonathan308 Nov 24, 2026
d8ea821
Pin mlx-swift-lm to bd18401171 (0.10.19 SDK stack, before landing)
jonathan308 Nov 24, 2026
cd6d475
Docs and changelog: Inkling 2 Mini rows that cannot draft write prefi…
jonathan308 Nov 24, 2026
6835f49
Merge P9 cd6d475f7b (SDK pin for 0.10.19) into the coupled switch
jonathan308 Nov 24, 2026
7420ab0
Pin mlx-swift-lm to 7073ccf116 (0.10.19 SDK stack with logprob rows, …
jonathan308 Nov 24, 2026
f06b0d9
Merge P9 7420ab0072 (full 0.10.19 SDK stack pin)
jonathan308 Nov 24, 2026
2069a93
Merge P9 head cd6d475f7b (SDK pin for 0.10.19) into Inkling logprob-r…
jonathan308 Nov 24, 2026
f705f8b
Merge P9 head 7420ab0072 (SDK pin with logprob-row drafting) into Ink…
jonathan308 Nov 24, 2026
6602647
Inkling logprob rows: prove and log that the opt-in takes effect
jonathan308 Nov 24, 2026
8090f6e
Merge commit '7420ab00721de650f223c989e373a501dea551f9' into fix/mtp-…
jonathan308 Nov 24, 2026
8f643c6
Merge #2696's head 8090f6e9ce (repetition-penalty drafting) into the …
jonathan308 Nov 24, 2026
070778e
Merge #2706 head 8f643c6b45 (coupled switch, repetition rows, P9) int…
jonathan308 Nov 24, 2026
4f2c4b9
Tests: the GPT-OSS recovery's choice check uses a schema a forced cho…
jonathan308 Nov 24, 2026
65739c9
Merge #2641 (1b0745b4fe): Inkling call frame opening an answer
jonathan308 Nov 24, 2026
1d1ac2d
Tests: an Inkling call frame opening an answer after a native call is…
jonathan308 Nov 24, 2026
9c68b9d
Gemma: render more untyped tool parameters untyped
jonathan308 Nov 24, 2026
c1f154c
GPT-OSS auto tool grammar: read the repair's sibling type as a render…
jonathan308 Nov 24, 2026
ff4f9d6
GPT-OSS auto tool grammar: a hinted node marked nullable keeps admitt…
jonathan308 Nov 24, 2026
713d506
GPTOSSAutoToolRenderHintTests: cover a contradicted enum and a not of…
jonathan308 Nov 24, 2026
7711c03
Forced tool choices: compile a render-marked {} that keeps its annota…
jonathan308 Nov 24, 2026
227d0e9
Tests: name the false marker as what a forced choice still refuses
jonathan308 Nov 24, 2026
2fdfabe
test(provider): re-slice floor scenarios keep their idle engines from…
jonathan308 Nov 24, 2026
bccd1b9
Gemma invariant 8: an anyOf with an any-value member accepts any value
jonathan308 Nov 24, 2026
084adbf
GPT-OSS auto tool grammar: state what the render-hint pass changes
jonathan308 Nov 24, 2026
044c1b3
Merge dev 86ac4a774e into the SDK pin branch
jonathan308 Nov 24, 2026
eac768a
Pin mlx-swift-lm to e3648436b5 (stack top)
jonathan308 Nov 24, 2026
d7d3521
Changelog: which Inkling 2 Mini rows newly save prefix checkpoints
jonathan308 Nov 24, 2026
a09f587
Merge commit 'd7d35216c64ec46e6cca840553391d89948a8736' into fix/mtp-…
jonathan308 Nov 24, 2026
3ec7418
docs: repetition-penalty row drafting ships in 0.10.18
jonathan308 Nov 24, 2026
3185edc
Merge #2696's head 3ec7418e77 (D8 and the SDK stack pin, via P9)
jonathan308 Nov 24, 2026
ecab1e7
Merge #2706 head 3185edc53b (D8, SDK stack top, coupled switch, repet…
jonathan308 Nov 24, 2026
8d63aca
Pin mlx-swift-lm main 10c5a332ee (#554 landed)
jonathan308 Nov 24, 2026
7b9dc04
Inkling 2: one empty answer delta when a stream starts withholding it…
jonathan308 Nov 24, 2026
810d2bd
Merge D8 86ac4a774e into feat/coordinator-decode-rate-age-decay
jonathan308 Nov 24, 2026
c0131a7
Merge dev D8 86ac4a774e into the GPT-OSS call recovery
jonathan308 Nov 24, 2026
09504e9
Merge #2705 8d63acafd2 into the 0.10.18 candidate: Pin mlx-swift-lm t…
jonathan308 Nov 24, 2026
5c8cbd4
Merge #2696 3ec7418e77 into the 0.10.18 candidate: fix(provider): let…
jonathan308 Nov 24, 2026
d6cd343
Merge #2706 3185edc53b into the 0.10.18 candidate: Inkling 2: DARKBLO…
jonathan308 Nov 24, 2026
6c8f683
Merge #2707 ecab1e701f into the 0.10.18 candidate: Inkling 2 Mini: sp…
jonathan308 Nov 24, 2026
da16024
Merge #2694 c0131a76e0 into the 0.10.18 candidate: GPT-OSS: return a …
jonathan308 Nov 24, 2026
6d99489
Merge #2714 084adbfbdf into the 0.10.18 candidate: GPT-OSS auto tool …
jonathan308 Nov 24, 2026
e793c47
Merge #2699 4f78df3013 into the 0.10.18 candidate: Gemma on M5 Ultra:…
jonathan308 Nov 24, 2026
104b31f
Merge #2703 810d2bd688 into the 0.10.18 candidate: Keep an idle slot'…
jonathan308 Nov 24, 2026
400b73f
Merge #2710 1d1ac2def6 into the 0.10.18 candidate: Tests: an Inkling …
jonathan308 Nov 24, 2026
c63c7b9
Merge #2712 bccd1b9f02 into the 0.10.18 candidate: Gemma: render more…
jonathan308 Nov 24, 2026
3406b49
Merge #2716 227d0e9b54 into the 0.10.18 candidate: Forced tool choice…
jonathan308 Nov 24, 2026
4b870c8
Merge #2718 2fdfabed75 into the 0.10.18 candidate: test(provider): re…
jonathan308 Nov 24, 2026
5671f63
Merge #2720 7b9dc0445f into the 0.10.18 candidate: Inkling 2: one emp…
jonathan308 Nov 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions changelog.d/coordinator-decode-rate-age-decay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### An idle Mac keeps its decode rate when the coordinator decays stale rates

The coordinator can now say, in `trust_status.coordinator_features`, that it
decays a stale `observed_decode_tps` by its `observed_decode_tps_age_ms`
(`decode_rate_age_decay`). While the connected coordinator says so, an idle
slot keeps publishing its decode rate and its age after
`DARKBLOOM_DECODE_RATE_IDLE_MAX_AGE_SECONDS`, instead of omitting it; the
coordinator moves an old rate toward the fleet median, so the slot keeps its
rank instead of alternating between no rate and an old one. Without the field
(every coordinator before it), with any other list, and after a disconnect, the
heartbeat is unchanged.
12 changes: 12 additions & 0 deletions changelog.d/gemma-m5-ultra-long-prompt-plain-decode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
### Gemma 4 26B: on M5 Ultra, long prompts decode without speculation

- On M5 Ultra, a Gemma 4 26B QAT request whose prompt holds more than 16,384
tokens no longer drafts while it decodes alone: those steps run ordinary
chained decode, with the tokens of decode without MTP. On these prompts a lone
request's two-draft rounds cost more than they gain. Beside a shorter request
it follows the chip's usual table (on M5 Ultra two decoding requests already
decode without drafts), so it never stops another request from drafting.
Shorter prompts and other chips are unchanged.
- `DARKBLOOM_GEMMA_MTP_MAX_PROMPT_TOKENS=0` (or `off`, `false`, `no`) lets every
prompt draft again; a positive integer moves the limit. The provider's
launchd job forwards it.
19 changes: 19 additions & 0 deletions changelog.d/gemma-typeless-render-positions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Gemma 4 renders more untyped tool parameters as untyped

When the caller's tool declarations reach the provider as sent, Gemma 4 now
also shows these tool parameters untyped (`type:<|"|><|"|>`), as its template
renders a parameter without a type, instead of the `STRING` the schema repair
fills in:

- a parameter that is only a local `$ref` (`#/$defs/...` or
`#/definitions/...`) to a schema with no type;
- an `anyOf` or `oneOf` whose members accept any value, a `null` member aside
(it still renders `nullable`), and an `allOf` of such members;
- a typeless `enum` whose values have more than one JSON type, such as
`["default", "inherit", "archive", -1]`. The template prints an enum only
for a `STRING` parameter, which made Gemma quote `-1`.

A tuple parameter (`prefixItems` with `items` false or absent) no longer shows
the repair's `STRING` items. Every other parameter renders as before, and other
model families are unchanged. As for the untyped parameters already covered, a
coordinator request this changes is served without the prompt cache.
12 changes: 12 additions & 0 deletions changelog.d/gptoss-auto-grammar-render-hints.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
### GPT-OSS auto tool grammar reads the repair's render type as a hint

Under `tool_choice: "auto"`, GPT-OSS's call grammar compiles each declared
tool's arguments. Beside a `not` of the same type, the schema repair writes a
`type` (`{"not": {"type": "string"}, "type": "string"}`), and the grammar held
the argument to that type, which the declaration itself refuses. The grammar
now drops a type that is only a render hint (beside a union naming it, a
mixed `enum`, a `not` of that type or an `if` typed otherwise), as the call
parser and the strict check already do, and keeps `null` where the node is
marked `nullable`. Unions and mixed enums with that type were already left
free and still are; declarations without such a type compile exactly as
before, and forced tool choices, the prompt and validation are unchanged.
12 changes: 12 additions & 0 deletions changelog.d/gptoss-tool-call-recovery.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
### GPT-OSS tool calls written as the answer or inside the analysis are returned as calls

- For an `auto` request that declares tools, GPT-OSS sometimes answers after
the loop guard ended its analysis with the call's JSON arguments and no
recipient, or writes a complete call frame at the end of an analysis it
never closes. The provider now returns such an answer as the call when it
is a single JSON object that exactly one declared tool admits (every key a
declared property, the schema holding), and such a frame when it is
complete, names a declared function and its arguments hold. Anything else
is returned as before. No rendered prompt changes.
- `DARKBLOOM_GPTOSS_TOOL_CALL_RECOVERY`: `0`, `off`, `false` or `no` turns it
off.
5 changes: 5 additions & 0 deletions changelog.d/inkling-mtp-coupled-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Inkling 2 Mini can draft with coupled proposals (off by default)

- `DARKBLOOM_INKLING_MTP_COUPLED=1` turns on coupled drafting for Inkling 2 Mini. With it on, a sampled request under exact acceptance proposes the draft that the target's own sampling at that position would most likely pick, instead of the drafter's single most likely token.
- Output is the same with it on or off, because exact acceptance keeps only the target's own tokens. Only how many drafts are kept, and so speed, can change.
- Greedy requests, constrained output and typical acceptance are unchanged. The setting is off unless the variable turns it on.
10 changes: 10 additions & 0 deletions changelog.d/inkling-mtp-logprob-rows.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
### Inkling 2 Mini: speculative decoding for requests with logprobs

- Inkling 2 Mini requests that ask for `logprobs` / `top_logprobs` now use the
model's speculative decoding head, with exact acceptance only. Each token's
logprob and top logprobs are read from the same target pass that checks the
drafts, and Inkling checks each position with the arithmetic of a one-token
step, so tokens, logprobs and the top-logprob list (members, order and ties)
are the same as without speculation.
- `DARKBLOOM_MTP_LOGPROB_ROWS=0` (or `off`, `false`, `no`) keeps such rows
target-only; the LaunchAgent forwards it.
4 changes: 4 additions & 0 deletions changelog.d/inkling-mtp-max-draft.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### Inkling 2 Mini's draft cap can be set per Mac

- `DARKBLOOM_INKLING_MTP_MAX_DRAFT` sets the most drafts one Inkling 2 Mini MTP round may propose: a whole number from 1 to 7, with values outside that range clamped. Unset, it stays at 7, the drafter's whole block, as before.
- The adaptive depth policy still picks each round's depth at or below the cap, and every draft is verified exactly, so tokens are the same at any cap. Only how much each round tries changes.
5 changes: 5 additions & 0 deletions changelog.d/inkling-non-drafting-row-checkpoints.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Inkling 2 Mini requests that cannot draft write prefix checkpoints

- An Inkling 2 Mini request that cannot draft (a logit bias, a token constraint or a reasoning budget) now records the drafter's prompt history when its prompt can be cached, as the Qwen 3.5/3.6, Qwen4, Nemotron Super and MiMo heads already do. It writes the same checkpoints a drafting request writes, so a later request with the same prefix can restore from it. Requests with media still record nothing, by design.
- Inkling requests with logprobs, a repetition, presence or frequency penalty, or a stop string draft in this release (see their own entries), so they save checkpoints as drafting requests do. When one of those rows is kept target-only by its switch, it saves checkpoints through this path instead.
- Output is unchanged: a restored request answers exactly as its cold run. The change comes with the SDK pin; there is no setting.
8 changes: 8 additions & 0 deletions changelog.d/inkling-withheld-reasoning-heartbeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### Inkling 2 streams with reasoning off start sooner

- When a streamed Inkling 2 request turns reasoning off, the model still
thinks before it answers and that thought is withheld. The provider now
sends one empty `content` delta (`{"content": ""}`, no role) when it starts
withholding, so the stream shows progress before the answer. The delta
carries nothing from the withheld thought. Reasoning-on streams, other
models and non-streamed responses are unchanged.
10 changes: 10 additions & 0 deletions changelog.d/mtp-repetition-penalty-rows.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
### Requests with a repetition penalty draft on the MTP builds

On the catalog Qwen 3.5/3.6 builds, Gemma 4 26B QAT and Inkling 2 Mini, requests
with a `repetition_penalty` other than 1 now draft, as requests with a presence
or frequency penalty already do. Before, they decoded without the drafter on
every model. Each draft position is penalized exactly as ordinary decoding
would after sampling the drafts before it (the same repetition window over
prompt, output and those drafts), and these rows accept a draft only
when it equals the model's own sample, so output is the same as with the
drafter off. `DARKBLOOM_MTP_REPETITION_PENALTY_ROWS=0` turns them off again.
8 changes: 8 additions & 0 deletions changelog.d/tool-constraint-annotated-render-markers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### Forced tool choices accept `{}` parameters that keep a description

- Under `tool_choice` `required` or a named function, a parameter schema the
coordinator forwards as a render-marked `{}` that keeps its annotations
(`description`, `title`, `default`, `examples`, …) now compiles as the bare
`{}` does, as free text, instead of refusing the request. A marker beside
an assertion, or one standing for `false`, is still refused. `auto` is
unchanged. No rendered prompt changes.
63 changes: 56 additions & 7 deletions docs/architecture/inference.md
Original file line number Diff line number Diff line change
Expand Up @@ -3054,8 +3054,12 @@ measured
`0` restores publishing the last rate however old). The heartbeat also sends
the published rate's own age, `observed_decode_tps_age_ms`: the time since the
newest sample that moved it, which a short reply does not reset
(`DecodeRateIdleAge.publishedAgeMilliseconds`); it changes nothing the provider
decides. The published rate moves
(`DecodeRateIdleAge.publishedAgeMilliseconds`). While the connected
coordinator's latest `trust_status` lists `decode_rate_age_decay` in
`coordinator_features`, the coordinator decays a stale rate by that age itself,
and the provider stops omitting an idle slot's rate
(`DecodeRateIdleAge.effectiveMaximum`); without it, and after a disconnect, the
heartbeat is unchanged. The published rate moves
only on a request that generated at least 32 tokens
(`EngineV2Bridge.minimumPublishedDecodeTokens`, the coordinator's
`completion_tokens >= 32` convention; `updatePublishedDecodeTps` keeps the same
Expand Down Expand Up @@ -3464,7 +3468,17 @@ M5 Ultra, M3 Ultra and M5 Max only a lone row drafts (per-row table
Two or more rows get depth 0 and run ordinary chained decode.
`DARKBLOOM_GEMMA_MTP_M5_ULTRA_LONE_ROW=0` restores M5 Ultra's earlier table: one
or two rows draft (`[2, 2, 0]`, envelope 6, a `[2, 3]` rectangle at most), and the
deadline projection again charges three rows depth 1, more than they run. Width-3
deadline projection again charges three rows depth 1, more than they run. On M5
Ultra a request whose prompt holds more than 16,384 tokens does not draft while it
decodes alone (`MTPAutomaticVerificationPolicy.maxDraftPromptTokens(modelID:chipName:)`,
passed to `CBv2MTPConfig.maxDraftPromptTokens`): a plan whose speculation-eligible
decode rows all have prompts over the limit runs at depth 0, as ordinary chained
decode, while a plan with any row under the limit keeps the table's depth, so a
long-prompt row never stops another row from drafting. With M5 Ultra's `[2, 0]`
table two or more rows run at depth 0 anyway, so the limit changes only a
long-prompt row decoding alone, where two-draft rounds cost more than they gain.
`DARKBLOOM_GEMMA_MTP_MAX_PROMPT_TOKENS=0` removes the limit; a positive integer
moves it. Width-3
verification below 64 expert assignments (`[1, 3]`, and `[2, 3]` under that
switch), outside the batch-decode and
prompt projection scopes, takes Gemma's compiled feed-forward trace, with the
Expand Down Expand Up @@ -3508,8 +3522,20 @@ the served Inkling 2 Mini, whose answer-channel stop scope the row's detokenizer
token through the row's detokenizer and ends the row at the first match, rolling back
the rest: given the committed tokens, stop matching, scope, truncation and the finish
reason follow ordinary decode; `DARKBLOOM_MTP_STOP_STRING_ROWS=0` keeps
them target-only. Repetition penalty, bias, logprobs and token constraints retain their
ordinary-decode exclusions. Explicit offline serial
them target-only. Since 0.10.18 rows with a repetition penalty speculate on the builds in
`SDKFeatureDefaults.repetitionPenaltyRowBuilds` (the same builds;
`CBv2MTPConfig.repetitionPenaltySpeculation`): each verify position's window is the last
`repetitionContextSize` tokens of prompt, confirmed output and the drafts before it, penalized
with `LogitsPipelineV2.process`'s ops before presence/frequency, and such rows accept exactly
(`CBv2DefaultSampler.applyWindowRepetition`); `DARKBLOOM_MTP_REPETITION_PENALTY_ROWS=0` keeps
them target-only. Rows that request logprobs speculate on the builds in
`SDKFeatureDefaults.logprobRowBuilds` (Inkling 2 Mini; `CBv2MTPConfig.logprobSpeculation`),
which the SDK honours only on a `.rectangularExact` target under exact acceptance: each
committed token's logprob and top logprobs are gathered from the verify window's raw
logits, which on that target equal a one-token decode step's, so they are drafter-off's
bit for bit; `DARKBLOOM_MTP_LOGPROB_ROWS=0` keeps them target-only. Bias, token
constraints and logprobs on other builds retain their ordinary-decode exclusions.
Explicit offline serial
verification remains available as a diagnostic oracle; drafter-required modes
retain priority (`provider-swift/Sources/ProviderCore/Inference/MTP/EngineV2MTPAssistant.swift`,
`providerMTPVerificationPolicy`).
Expand All @@ -3530,6 +3556,13 @@ change with the all-model default are GLM-5.3-Flash (`glm5_next`) and Qwen 4
was already exact. Greedy rows accept exactly under either rule.
Exact keeps the model's output distribution; its tokens are not bit-identical
to MTP off, since verify windows round differently.
Inkling 2 Mini replaces the generic depth with its drafter's own profile
(`Inkling2DSparkDrafter.defaultMTPConfig`: up to 7 drafts, adaptive), and
`DARKBLOOM_INKLING_MTP_MAX_DRAFT` (1 to 7) lowers that cap, and
`DARKBLOOM_INKLING_MTP_COUPLED=1` turns on coupled drafting (off by default:
sampled rows under exact acceptance propose their verify draw's keyed race;
tokens are unchanged); the acceptance setting still applies (`Inkling2MTPProfilePolicy` in
`provider-swift/Sources/ProviderCore/Inference/MTP/Inkling2MTPProfilePolicy.swift`).
Under typical acceptance a draft is kept when the sampler-filtered target row
gives it probability above `min(1, 0.2 * exp(-H))`, `H` the row's entropy in
nats; the first rejected position and the bonus position still commit the keyed
Expand Down Expand Up @@ -3622,7 +3655,7 @@ disabled for this hybrid model.

On the Qwen 3.5/3.6 (also Qwen3.8-27B, which uses the same embedded head),
Nemotron Super and native Qwen4 assistants (not the embedded Nemotron head
above), a request the assistant cannot draft for still records its prompt
above), and Inkling 2 Mini's DSpark drafter, a request the assistant cannot draft for still records its prompt
history when its prompt can be cached
([prefix-cache invariant 9](prefix-cache.md#invariants)). That covers a token
constraint, logprobs, `logit_bias`, a penalty or a `stop` string, so it
Expand Down Expand Up @@ -4893,6 +4926,16 @@ the call is constrained:
byte vocabulary), and `<|call|>` is admitted only once the object is
complete. The schema is compiled from the caller's declaration with local
`$ref`s inlined (`ToolSchemaRefResolution`, same bounds).
- Before compiling, a `type` that is only a render hint is dropped
(`GPTOSSAutoToolGrammar.withoutRenderHintTypes`, the rule
`QwenParserLiteralReading.rendersSiblingType` the call parser and the strict
check read): the type beside an `anyOf` / `oneOf` naming one of their
branches, a mixed `enum`, a `not` of that type or an `if`/`then`/`else` typed
otherwise; a node marked `nullable` then carries `null` in its union or
`enum`. A `not` of the render type was held to that type before; unions and
mixed enums beside it already compiled to free arguments. A declaration
without such a type is unchanged; forced choices compile the request's tools
as before.
- A schema outside the compiled subset as written is widened
(`GPTOSSAutoToolGrammar.widenedArguments`): the render type that ingress
normalization writes beside a nullable `anyOf` (`type`, `nullable`, and an
Expand Down Expand Up @@ -5206,7 +5249,13 @@ Unions with more members, non-scalar members or an `enum` keep `STRING`, and
other families keep the shared repair's render type. A property the caller
declared without any type or schema keyword (`{}`) renders an empty type
(`type:<|"|><|"|>`, the served template's rendering of a typeless property)
instead of the injected `string` (invariant 8). Gemma's render reads the
instead of the injected `string` (invariant 8). The same holds for a
property that is only a local `$ref` to such a schema, for an
`anyOf`/`oneOf`/`allOf` whose non-null members all accept any value (a `null`
member still renders `nullable`), and for a typeless `enum` whose values have
more than one JSON type, which the template would otherwise print under
STRING. A tuple (`prefixItems` with `items` false or absent) renders no `items`
block, as the template renders an array without a mapping `items`. Gemma's render reads the
caller's declarations as sent (`ChatTemplateControls.declaredTools`) on every
path that renders a coordinator request: serving, prompt recount and the
diffusion media path. Such a request is also
Expand Down
3 changes: 2 additions & 1 deletion docs/architecture/prefix-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,8 @@ rules applied to these signals.
checkpoint — `HybridPrefixCache.swift` (`lookup`),
`HybridPrefixCacheContract.swift` (`CBv2RecurrentCheckpointGeometry`).
9. On a slot with a prefix cache and a history-keeping MTP head that opted in
(the embedded Qwen 3.5/3.6 heads, Nemotron Super, native Qwen4, MiMo V2.6), history
(the embedded Qwen 3.5/3.6 heads, Nemotron Super, native Qwen4, MiMo V2.6,
Inkling 2 Mini's DSpark drafter), history
observation follows cache eligibility, not speculation eligibility. A cached
text request that cannot speculate (a token constraint, logprobs,
`logit_bias`, a repetition, frequency or presence penalty, a `stop` string:
Expand Down
8 changes: 7 additions & 1 deletion docs/developer/serving-performance-qualification.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ either: it is informational and changes no rate, admission or profile. Nor does
the decode rate a slot uses before its first completed request (the slowest
delivered cadence of requests decoding on it, charged per row; see
[deadlines](../architecture/inference.md#deadlines)): a request carrying a
reviewed calibration never takes it.
reviewed calibration never takes it. Nor does the coordinator's
`decode_rate_age_decay` advertisement (`trust_status.coordinator_features`;
shared wire cases in
`provider-swift/Tests/ProviderCoreTests/Fixtures/Protocol/coordinator_features_wire.json`,
checked by `CoordinatorDecodeRateDecayTests` and
`provider-swift/Tests/test_protocol_fixture_resources.py`): it decides only
whether an idle slot keeps advertising its rate to routing.
Profile qualification is separate work required to introduce a measured
prediction-error envelope.

Expand Down
Loading
Loading