Repository navigation
Conversation
Owner
Author
|
READY to land on this head. Test-only change: the Split-K host test now expects 2 for pickSplitK(14336, 4096, 4), which the pure function computes (112 active groups under the 128 target, ceil(128/112) = 2). pickSplitK is unchanged, so TFQ5 Metal summation order and tokens are unchanged.
|
pickSplitK(14336, 4096, 4) has 112 row blocks and one row tile, so 112 active groups sit under the 128 target and it picks ceil(128/112) = 2. The test said 1 and failed on every host. pickSplitK is unchanged, so TFQ5 Metal summation order and tokens are unchanged.
ashhart
force-pushed
the
lead/tfq5-splitk-test
branch
from
December 5, 2026 18:30
c18e30d to
adca61c
Compare
Owner
Author
|
READY to land on this head. The new test comment is now one line, which the lint check asked for; the test itself is unchanged and passed host tests.
|
Owner
Author
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.
Summary
The test "TFQ5 Metal: Split-K heuristic saturates cores on small-R projections" in
zig/src/core/tfq5_metal.zigfailed on every host: it expectedpickSplitK(14336, 4096, 4) == 1.pickSplitKis pure. For n = 14336 it has 112 row blocks of 128, and 4 rows make one row tile, so 112 groups are active. That is under the 128 target, so it picks ceil(128 / 112) = 2, and k = 4096 (32 column blocks) does not cap it. The test now expects 2, with a comment giving that arithmetic.pickSplitKitself is unchanged. A different pick would change the summation order and so the tokens on TFQ5 Metal, so the test is what moves.Checks