Repository navigation
native: name the Python engine 0.6.6 only for the model types it serves - #4008
Merged
Merged
Conversation
ashhart
added a commit
that referenced
this pull request
Nov 19, 2026
ashhart
force-pushed
the
lead/no-backend-hint
branch
from
November 19, 2026 22:42
90c04fa to
22acaef
Compare
This was referenced Nov 19, 2026
A checkpoint no native backend serves was told the Python engine 0.6.6 may serve it, even for types 0.6.6 refuses too (hy_v4_flash). zig/src/native/no_backend.zig keeps the one list of 0.6.6's model types and builds the refusal for metal.zig and none.zig: a listed type keeps the install hint word for word; any other is told no TensorFold release serves it yet and pointed to the recipe book and the runbook. test-no-backend-host covers both.
ashhart
force-pushed
the
lead/no-backend-hint
branch
from
November 20, 2026 12:40
22acaef to
a9516da
Compare
ashhart
added a commit
that referenced
this pull request
Nov 20, 2026
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 this changes
A user on 1.2.10 ran
tensorfold serveon a Hunyuan 4 Flash checkpoint (hy_v4_flash) and was told: "the native engine has no backend for hy_v4_flash checkpoints yet; the Python engine 0.6.6 may serve them". They installed 0.6.6, and it refused too, because 0.6.6 has no recipe for that model type. The hint sent them round in a circle.Now the native refusal names 0.6.6 only for the ten model types 0.6.6 serves (deepseek_v4, gemma4, gemma4_text, glm5_next, nemotron_h, prism_hadamard_qwen35, qwen3_5, qwen3_5_moe, qwen3_8_flash_next, qwen4_exp). Those keep today's sentence word for word. Any other type gets "no TensorFold release serves ... checkpoints yet", with the recipe book and runbook links that 0.6.6's own refusal gives.
zig/src/native/no_backend.zig(new, 50 lines) holds the one shared list and the message.zig/src/native/metal.zigandzig/src/native/none.zigcall it instead of building the sentence themselves.test-no-backend-host(intest) checks both cases: all ten listed types keep the 0.6.6 hint, andhy_v4_flashgets neither "0.6.6" nor "pip install".No serving behaviour changes; only the refusal text for unserved model types.