Skip to content

feat(strata): bump to v0.2.20, add the Inkling engine family and gallery models - #13410

Open
mudler-agent wants to merge 3 commits into
mudler:masterfrom
mudler-agent:chore/strata-v0.2.20
Open

mudler-agent wants to merge 3 commits into
mudler:masterfrom
mudler-agent:chore/strata-v0.2.20

Conversation

@mudler-agent

Copy link
Copy Markdown
Collaborator

What

Bump the pinned Strata release from v0.2.19 to v0.2.20, add the Inkling engine family to the strata backend, and add Inkling 2 Mini to the model gallery.

Why

Strata v0.2.19 added a third engine program, strata-inkling, for Thinking Machines Inkling 2 Mini. The backend only knew the Qwen engine and strata-hy4, so the new model could not be offered. v0.2.20 updates all three engine families to 0.1.66.

How

  1. Pin bump (chore(strata): bump Strata to v0.2.20): .github/bump_strata.sh moved STRATA_VERSION, STRATA_COMMIT and the strata-engine and strata-hy4 pins to 0.1.66. Each SHA-256 comes from the release's SHA256SUMS.txt and the script checks it against the GitHub asset digest. scripts/build/strata-pins_test.sh named the old Hy4 package file, so it is updated.
  2. Inkling family (feat(strata): run Inkling 2 Mini on the strata-inkling engine), in the shape of the Hy4 work (feat(strata): run Tencent Hy4-Flash on the strata-hy4 engine #13389):
    • Makefile: STRATA_INKLING_{TAG,VERSION,SHA256}_<package> pins for the nine targets, an engine-packages-inkling target that unpacks into engines-inkling/, and Strata's inkling_tokenizer.py and inkling_dialect.py added to the fetched Python sources.
    • strata-engine launcher and package.sh know engines-inkling/ (STRATA_ENGINE_FAMILY=inkling).
    • bump_strata.sh and the bump-strata workflow comment cover the third package family, so the bot keeps the new pins current.
    • inkling.go: option parsing for family:inkling, the engine start line (--native, --max-context, and --vision / --dspark / --draft only when --info says the engine supports them), and the tokenizer. The tokenizer directory is built on the first load from the manifest of a Strata build, or from the tokenizer.json and chat_template.jinja files Strata publishes beside its builds (a GGUF needs both files).
    • tokenizer_helper.py: the answer opener, forced tool-call text and channel-token output parser from Strata's own Inkling code, so prompts and tool calls match the Strata server. The model has no thinking mode.
    • Pictures are passed as image= keys; logprobs are refused, as for Hy4.
  3. Gallery (feat(gallery): add Inkling 2 Mini for the strata backend): 13 entries in gallery/models/index.yaml, with gallery/index.yaml regenerated by modelcatalog.
    • Strata builds from strata-engine/Inkling-2-Mini-Strata: inkling-2-mini-sq-10-strata, -sq-15-, -sq-20-.
    • Unsloth GGUFs from unsloth/Inkling-2-Mini-GGUF: UD-Q8_K_XL, UD-Q4_K_XL, UD-Q4_K_M, UD-IQ4_XS, UD-Q3_K_XL, UD-IQ3_XXS, UD-Q2_K_XL, UD-IQ2_XXS, UD-IQ1_M and UD-IQ1_S, named inkling-2-mini-ud-<quant>-strata. These are the quantizations Strata lists as supported.
    • Every file is pinned to a Hugging Face commit and a SHA-256. The hashes match the LFS digests of both repositories and the digests Strata pins.
    • The strata entry test and docs/content/models/engines/strata.md cover the new layout and options.

How it was tested

  • make -C backend/go/strata check-pins, bash scripts/build/strata-pins_test.sh, gofmt, go vet ./backend/go/strata.
  • make -C backend/go/strata test: new unit tests for the options, start line, --info handling, tokenizer sources and the stub-engine load path.
  • go test ./core/gallery/... ./scripts/models/... (with -tags nosqlite,purego_utp), including the extended strata entry test.
  • Outside the repo test suite: the tokenizer helper was run against Strata's real code at the pinned commit, with the real tokenizer.json and chat template from the Hugging Face repository. Prompts render with and without tools, tool calls round-trip, forced tool choice works, and the end tokens resolve to ids 200006 and 199999. The strata-inkling package archives for macOS and Linux (SYCL) were downloaded; their SHA-256 matches the pins and the program sits at the top level.

Not tested

  • No real engine, GPU or model file was run, so there was no real inference. The new entries have not been downloaded in full. The memory figures in the entries and docs are Strata's own.
  • The image placeholder for a plain prompt with <__media__> markers (<|content_image|><|unused_200054|>) is taken from the chat template and Strata's tests; with the model's own template (the normal path) the template writes it.

🤖 Generated with Claude Code

Update the Strata pin from v0.2.19 to v0.2.20 (commit a34979fc). The
strata-engine and strata-hy4 packages move to 0.1.66, with new SHA-256
pins taken from the release checksums. Update the pin test, which names
the Hy4 package file.

Assisted-by: Claude Code:claude-sonnet-5-5
Strata v0.2.19 added a third engine program, strata-inkling, for
Thinking Machines Inkling 2 Mini. Add it as the family "inkling" next
to the Qwen engine and strata-hy4, in the shape of the Hy4 family.

The Makefile pins the 0.1.66 strata-inkling packages one by one, with
the SHA-256 from the release checksums, and fetches them into
engines-inkling/. The strata-engine launcher and package.sh know the
new directory, and the bump script and its workflow move the new pins
with the others. The Python sources the helper imports now include
Strata's inkling_tokenizer.py and inkling_dialect.py.

The backend starts the engine with --native, --max-context, and
--vision and --dspark when `--info` says the engine can use them. The
tokenizer directory is built on the first load from the manifest of a
Strata build, or from the tokenizer.json and chat_template.jinja files
Strata publishes beside its builds; a GGUF model needs the two files.
The helper adds Strata's answer opener, forced tool-call text and
channel-token output parser. Pictures are passed as image= keys, and
logprobs are refused, as for Hy4.

Tested with the stub engine, and against the real tokenizer and chat
template of the model. No real engine or GPU was available.

Assisted-by: Claude Code:claude-sonnet-5-5
Add thirteen entries that run Thinking Machines Inkling 2 Mini on the
strata backend: the three Strata builds (SQ-10, SQ-15 and SQ-20) and
ten Unsloth GGUF quantizations (UD-Q8_K_XL down to UD-IQ1_S), the set
Strata documents as supported.

All entries share one model directory. Every file is pinned to a
Hugging Face commit and a SHA-256, taken from the repositories and
checked against the digests Strata publishes. A Strata build downloads
the vision file and tokenizer.json; a GGUF also downloads the DSpark
drafter and chat_template.jinja. The entries select the "inkling"
family of the backend.

The model library is the source; gallery/index.yaml is regenerated
with the modelcatalog command. The strata entry test learns the new
layout, and the strata docs list the entries and the options. No
download or inference was run for these entries.

Assisted-by: Claude Code:claude-sonnet-5-5

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants