Repository navigation
dsv41 metal: the vision rows take the prompt length as u32 (macOS compile) - #4319
Merged
Merged
Conversation
…pile) vision_rows.Rows.build takes n: u32; target.zig passed ids.len, a usize, so zig build test-dsv41-metal no longer compiled on macOS. Cast it, as the neighbouring u32 arguments are.
ashhart
force-pushed
the
lead/dsv41-metal-u32
branch
from
November 21, 2026 09:51
4375d73 to
d6321ea
Compare
Owner
Author
|
Thank you @gilby. This is merged into main with your commits under your own name, so you're credited as a TensorFold contributor. |
1 task done
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.
zig build test-dsv41-metaldoesn't compile on macOS on main:zig/src/families/deepseek_v41/metal/target.zig:279: expected type 'u32', found 'usize'.vision_rows.Rows.buildtakes the prompt length asn: u32, andtarget.zigpassesids.len, ausize. Linux CI doesn't build the Metal family, so this got through. This adds@intCast(ids.len), the same as the neighbouringu32arguments. Nothing else changes.Checked on macOS:
zig build test-dsv41-metalgoes from a compile error to 9/9 steps, 80/81 tests passed (1 skipped).