Skip to content

dsv41 metal: the vision rows take the prompt length as u32 (macOS compile) - #4319

Merged
ashhart merged 6 commits into
mainfrom
lead/dsv41-metal-u32
Nov 21, 2026
Merged

ashhart merged 6 commits into
mainfrom
lead/dsv41-metal-u32

Conversation

@ashhart

@ashhart ashhart commented Nov 21, 2026

Copy link
Copy Markdown
Owner

zig build test-dsv41-metal doesn't compile on macOS on main: zig/src/families/deepseek_v41/metal/target.zig:279: expected type 'u32', found 'usize'.

vision_rows.Rows.build takes the prompt length as n: u32, and target.zig passes ids.len, a usize. Linux CI doesn't build the Metal family, so this got through. This adds @intCast(ids.len), the same as the neighbouring u32 arguments. Nothing else changes.

Checked on macOS: zig build test-dsv41-metal goes from a compile error to 9/9 steps, 80/81 tests passed (1 skipped).

  • Synthena

gilby and others added 6 commits November 21, 2026 09:51
@ashhart
ashhart force-pushed the lead/dsv41-metal-u32 branch from 4375d73 to d6321ea Compare November 21, 2026 09:51
@ashhart
ashhart merged commit 7085989 into main Nov 21, 2026
11 checks passed
@ashhart
ashhart deleted the lead/dsv41-metal-u32 branch November 21, 2026 09:51
@ashhart

ashhart commented Nov 21, 2026

Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants