Repository navigation
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
Open
mudler-agent wants to merge 3 commits into
mudler-agent wants to merge 3 commits into
Conversation
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
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.
What
Bump the pinned Strata release from v0.2.19 to v0.2.20, add the Inkling engine family to the
stratabackend, 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 andstrata-hy4, so the new model could not be offered. v0.2.20 updates all three engine families to 0.1.66.How
chore(strata): bump Strata to v0.2.20):.github/bump_strata.shmovedSTRATA_VERSION,STRATA_COMMITand thestrata-engineandstrata-hy4pins to 0.1.66. Each SHA-256 comes from the release'sSHA256SUMS.txtand the script checks it against the GitHub asset digest.scripts/build/strata-pins_test.shnamed the old Hy4 package file, so it is updated.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, anengine-packages-inklingtarget that unpacks intoengines-inkling/, and Strata'sinkling_tokenizer.pyandinkling_dialect.pyadded to the fetched Python sources.strata-enginelauncher andpackage.shknowengines-inkling/(STRATA_ENGINE_FAMILY=inkling).bump_strata.shand thebump-strataworkflow comment cover the third package family, so the bot keeps the new pins current.inkling.go: option parsing forfamily:inkling, the engine start line (--native,--max-context, and--vision/--dspark/--draftonly when--infosays 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 thetokenizer.jsonandchat_template.jinjafiles 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.image=keys;logprobsare refused, as for Hy4.feat(gallery): add Inkling 2 Mini for the strata backend): 13 entries ingallery/models/index.yaml, withgallery/index.yamlregenerated bymodelcatalog.strata-engine/Inkling-2-Mini-Strata:inkling-2-mini-sq-10-strata,-sq-15-,-sq-20-.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, namedinkling-2-mini-ud-<quant>-strata. These are the quantizations Strata lists as supported.docs/content/models/engines/strata.mdcover 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,--infohandling, 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.tokenizer.jsonand 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. Thestrata-inklingpackage archives for macOS and Linux (SYCL) were downloaded; their SHA-256 matches the pins and the program sits at the top level.Not tested
<__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