Repository navigation
inkling2: test the named audio refusals in the template and over HTTP - #5116
Merged
ashhart merged 3 commits intoNov 25, 2026
Merged
Conversation
Owner
|
Thank you @BlivionIaG for the focused regression coverage. The template cases exercise all three named audio forms and the assistant image-role refusal, while the server matrix checks both audio wire forms with exact messages and status 400 on text-only and image-enabled servers. The planted controls reach the new assertions rather than unrelated setup failures, and the patch remains test-only. I see no missing critical refusal case in the stated scope. It is ready to land and goes into our next landing train.
|
8 tasks done
- The Inkling template test pins the named audio refusal for audio, input_audio and audio_url parts, and the image-role refusal. - The model discovery test pins the HTTP 400 for an audio part on a text-only server and on one that takes images.
ashhart
force-pushed
the
feat/inkling-audio-refusal-tests
branch
from
November 25, 2026 23:45
246e347 to
04035b6
Compare
Owner
|
Thank you @BlivionIaG. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes. |
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
Before: main refuses audio parts for Inkling 2 (the chat template raises "Inkling 2 does not accept audio input", the server answers 400), but no test pins either refusal. After: two tests pin them; no code changes.
families/inkling2/template_test.zig:audio,input_audioandaudio_urlparts raise the template's named audio refusal; an image part in an assistant message raises the image-role refusal.server/models_input_types_test.zig: aninput_audiooraudio_urlpart is a 400 with the existing named message on a text-only server and on one that takes images.Issue: Refs docs: a plan for Inkling 2 Mini on CUDA and Metal in claimable slices #4274 (the agreed Inkling 2 Mini gate lists the named audio refusals); ported from Metal: experimental Inkling 2 Mini text, vision and bundled DSpark #4337 (b8eb3e5), test hunks only.
Stacked on: main
69b1fdf59b, one commit.atc overlap --json: not run (no ATC session on this machine); the two files are test files only.Checks on this head
246e347a0epython3 tools/zig/lean_check.py, on the base and on this head: 164 vs 164, 0 new (tools/pr_check.py --base 69b1fdf59b: 0 errors, 4 inherited warnings).zig build test-inkling2-host -Dcpu=apple_m1: 47/51 passed, 4 skipped (inherited skips), 0 failed.zig build test-model-discovery-host -Dcpu=apple_m1: 55/55 passed."audio_x") andmessages.ziglettinginput_audio/audio_urlparts through, each new test fails (46/51 with 1 failed; 54/55 with 1 failed); reverted, both pass.zig fmt --check build.zig zig,git diff --check: clean.zig build test test-golden(tests-only change; the two steps above reach both new tests).Receipt
n/a: tests only, nothing reaches inference.
Checklist