Repository navigation
inkling2: the Mini Metal serving test lives with native, so the family imports no native - #4897
Merged
Merged
Conversation
…y imports no native families/inkling2/metal/serving_test.zig opened Mini through native/inkling2.zig, a family importing native: with native/inkling2.zig importing the family's Metal model, backend, state and dspark, that made a cycle between the two. The test moves unchanged to native/inkling2_serving_test.zig, beside native/inkling2.zig and its other tests, reaching the family files by path as native/inkling2.zig does. It is registered where it was reached before, under test-inkling2-metal-host's root (inkling2_metal_host_test.zig), on Darwin only, so both checkpoint tests keep their coverage.
ashhart
added a commit
to BlivionIaG/TensorFold
that referenced
this pull request
Nov 24, 2026
…ng test The admission test opens native/inkling2.zig for cacheBudget. Since ashhart#4897 a family file imports no native (native/inkling2.zig imports the family's Metal model, backend, state and dspark, so the other way made a cycle), so the test moves unchanged to native/inkling2_admit_test.zig, reaching the family files by path as native/inkling2.zig does, and is registered under test-inkling2-metal-host's root beside native's other tests.
ashhart
added a commit
to BlivionIaG/TensorFold
that referenced
this pull request
Nov 24, 2026
…ng test The admission test opens native/inkling2.zig for cacheBudget. Since ashhart#4897 a family file imports no native (native/inkling2.zig imports the family's Metal model, backend, state and dspark, so the other way made a cycle), so the test moves unchanged to native/inkling2_admit_test.zig, reaching the family files by path as native/inkling2.zig does, and is registered under test-inkling2-metal-host's root beside native's other tests.
ashhart
added a commit
that referenced
this pull request
Nov 24, 2026
…ng test The admission test opens native/inkling2.zig for cacheBudget. Since #4897 a family file imports no native (native/inkling2.zig imports the family's Metal model, backend, state and dspark, so the other way made a cycle), so the test moves unchanged to native/inkling2_admit_test.zig, reaching the family files by path as native/inkling2.zig does, and is registered under test-inkling2-metal-host's root beside native's other tests.
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 changes
zig/src/families/inkling2/metal/serving_test.zigimportednative/inkling2.zig, which made a two-module cycle betweennativeandfamilies/inkling2: a family must not import native. The test moves to live with the native serving tests, so the family imports nothing from native. Every test it held still runs; no runtime code changes.Test-only; no changelog line.