Skip to content

v0.10.22

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 04:55
v0.10.22
848b9ee

Qwen 3.5 35B tool calls read a parameter that admits only null as null, a "null" string that a schema lists now stays a string, and Gemma 4 auto tool calls can settle complete frames at the output limit (opt-in). On M5 Ultra Macs, Gemma 4 26B decodes faster by default, with slightly later first tokens under load. Update with darkbloom update.

Upgrade notes

  • Qwen 3.5 35B tool calls read a parameter that admits only null as null, on by default. As on the two Qwen 3.6
    35B models since 0.10.21, the tool-call parser of Qwen 3.5 35B (qwen3.5-35b-a3b) now reads a schema's JSON null
    (enum: [null], const: null, an OpenAI strict nullable enum) as null instead of the text "null". Other
    models, Qwen 3.5 9B included, stay off by default. Measured on the signed 0.10.21 build (one M5 Ultra, 341 tool-call
    schema cases): with it on, the 8 schema violations seen with it off are gone, with no new failures.
    DARKBLOOM_TOOL_ARGUMENT_NULLS=0 turns it off for every model, Qwen 3.5 35B included.
  • A "null" string that a schema lists stays a string. With DARKBLOOM_TOOL_ARGUMENT_NULLS on (the default for
    Qwen 3.6 35B and Qwen 3.5 35B), a parameter whose schema lists the string "null" as an enum or const value
    keeps its declaration as before, so a Qwen XML call's null there stays the string "null" instead of becoming
    JSON null. Other parameters of the same tool, null-only ones included, still read null as null. Where that
    listing is reached through a $ref, the whole tool keeps its declarations as before. This is the first case of
    0.10.21's known limit, fixed in this release.
  • Known limit: with DARKBLOOM_TOOL_ARGUMENT_NULLS on, a parameter that combines a free string with a null listed
    as an enum or const value can receive JSON null where the model meant the string "null".
  • Known limit: DARKBLOOM_STRICT_CALLS_AS_GENERATED already exists; since 0.10.21 =0 also withholds Qwen 3.6
    strict automatic tool-call fragments until each call is validated. With =0, a response can lose a valid first tool
    call when the same engine step also ends an invalid second call. The default is unaffected. Do not set =0 on
    production providers until the follow-up fix ships.
  • Gemma 4 auto tool calls can settle complete frames at the output limit (opt-in, off by default). With
    DARKBLOOM_GEMMA_AUTO_TOOL_FRAME_AT_LIMIT=1, Gemma 4 auto tools can settle complete generated frames at an output
    limit. The existing length and validation policies still apply. Unset, it behaves as in 0.10.21.
  • Forced tool calls can take a typeless parameter whose values include null (opt-in, off by default). A tool
    parameter that lists its values through enum or const without a type, null among them, is refused today where
    the provider's schema repair has not already typed it (the local API, MiMo's original tool declarations, very large
    request bodies). With DARKBLOOM_TOOL_SCHEMA_TYPELESS_NULL=1 (exactly 1), a required or named tool request with
    such a parameter is accepted and constrained as the typed form of the same values, and a none request is accepted.
    auto tool requests and response formats are unchanged. Unset, it behaves as in 0.10.21.
  • Gemma 4 26B on M5 Ultra Macs: faster decoding on by default (the owner's decision), with slightly later first
    tokens under load.
    On an M5 Ultra, Gemma 4 26B QAT now decodes with the checked M5 decode kernels
    (DARKBLOOM_GEMMA4_FUSED_NORMS) and early layer submission (DARKBLOOM_GEMMA_LAYER_SUBMIT), both opt-in in
    0.10.21. Measured on an M5 Ultra running the signed 0.10.21 build with both switches set, decoding was about 23%
    faster with one request and about 15% faster with two, and greedy output was identical on the 30 checked prompts.
    The default ships although that check's pre-stated bar failed on one band: while another request was generating,
    prompts of 4,096 to 16,383 tokens reached their first token 5.9% later (10 of 12 slower), and prompts of 1,024 to
    4,095 tokens 3.9% later (12 of 12 slower); with nothing else running, time to first token was unchanged. Other chips
    are unchanged. DARKBLOOM_GEMMA4_FUSED_NORMS=0 and DARKBLOOM_GEMMA_LAYER_SUBMIT=0 turn each off; both are read
    when the provider starts.
  • Documentation: the architecture document now says the opt-in early answer's old order applies "when the
    variable is not affirmative", where 0.10.21's said "without the variable", as 0.10.21's notes said this release
    would fix.
  • Required order: unchanged from 0.10.21.
  • Pairs: both Macs of a pair must run the same version; a pair on 0.10.21 updates itself. darkbloom update --rollback puts back 0.10.21.

For operators: the switches

Set the variable before darkbloom start, then restart; the installed service keeps it.

Variable Default What it does
DARKBLOOM_TOOL_ARGUMENT_NULLS=0 on for Qwen 3.6 35B and Qwen 3.5 35B Their tool calls keep a null-only parameter's null as text, as in 0.10.20 (=1 turns it on for every model)
DARKBLOOM_GEMMA_AUTO_TOOL_FRAME_AT_LIMIT=1 off Gemma 4 auto tool calls can settle complete generated frames at an output limit
DARKBLOOM_TOOL_SCHEMA_TYPELESS_NULL=1 off Forced tool calls accept a typeless parameter whose enum or const values include null, where the schema repair has not typed it
DARKBLOOM_GEMMA4_FUSED_NORMS=0 on on an M5 Ultra; off on other chips Gemma 4 decode does not use the checked fused kernels, as in 0.10.21 (=1 turns them on on other M5 Macs)
DARKBLOOM_GEMMA_LAYER_SUBMIT=0 on on an M5 Ultra; off on other chips Gemma 4 26B decode does not submit its graph a few layers at a time, as in 0.10.21

Every other switch keeps its 0.10.21 default. The full technical changelog is in CHANGELOG.md.

Provider v0.10.22 (Swift CLI)

Source: 848b9ee
Build and SDK qualification: https://github.com/Layr-Labs/d-inference/actions/runs/47477393633
Signing: https://github.com/Layr-Labs/d-inference/actions/runs/47477393633
Binary SHA-256: e78abf1aac0c3865e4b3b8370c19cadb048f81502d99d2a048e3f774148fdcaa
CodeDirectory SHA-256: d704ab891bcc8dac20c66a120f52a7f34507bf55b542c025a32a7ae5afb0c3ad
Bundle SHA-256: 380e2d56b53aff05cc69732fc97be05754bf867a0276982356bd7cd84a655bd4
Metallib SHA-256: 5b97893cc20e6e9651edf3284d970488af9a9bdd64820231e95fee760eec70ac
Signed and notarized: yes
macOS deployment target: 14.0 (build, tests and signed runtime smoke: macOS 27)

Install

curl -fsSL https://api.darkbloom.dev/install.sh | bash

Full Changelog: v0.10.21...v0.10.22