Skip to content

fix(core): update the create_causal_mask caller roster after #3083 - #3086

Merged
inureyes merged 1 commit into
mainfrom
fix/causal-mask-roster-count
Nov 15, 2026
Merged

inureyes merged 1 commit into
mainfrom
fix/causal-mask-roster-count

Conversation

@inureyes

Copy link
Copy Markdown
Member

#3083 moved DeepSeek V3's multi-token MLA attention to causal-mode SDPA, so deepseek_v3.rs no longer calls create_causal_mask. That made utils::tests::create_causal_mask_roster_count_matches_repo fail on main, because the doc comment states 51 caller files and the grep finds 50. No PR job runs the mlxcel-core lib suite, so CI did not catch it.

The count is now 50, and the MLA group names DeepSeekV2, which still calls it, in place of DeepSeekV3.

Validation: the roster test passes.

#3083 moved DeepSeek V3's multi-token MLA attention to causal-mode SDPA, so deepseek_v3.rs no longer calls create_causal_mask, and utils::tests::create_causal_mask_roster_count_matches_repo failed on main: the doc comment states 51 caller files, and the grep finds 50. The count is now 50, and the MLA group names DeepSeekV2, which still calls it, in place of DeepSeekV3.
@inureyes inureyes added status:review Under review type:test Test related changes priority:high High priority area:core mlxcel-core: MLX FFI, primitives, KV cache, layers labels Nov 15, 2026
@inureyes
inureyes merged commit 3936ac2 into main Nov 15, 2026
31 checks passed
@inureyes
inureyes deleted the fix/causal-mask-roster-count branch November 15, 2026 12:45
inureyes added a commit that referenced this pull request Nov 15, 2026
Main gained the roster count test (#3086) after this branch moved Qwen3Next, GraniteMoeHybrid, Qwen2VL, Qwen3VL and Qwen3VLMoe to prefill_causal_mask. The count drops from 50 to 45 caller files and the group lists drop those names, with a note pointing at prefill_causal_mask.

Refs #3051
inureyes added a commit that referenced this pull request Nov 15, 2026
)

These four PRs merged without their technical reports (the repository keeps reports via `TECHNICAL_REPORTS/.keep-reports`). This adds the English and Korean reports for each:

- #3069: per-thread default device
- #3082: Windows bench harness test
- #3086: create_causal_mask roster count
- #3089: thread-safe kernel holders

Docs only.
@inureyes inureyes added this to the 0.9 milestone Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:core mlxcel-core: MLX FFI, primitives, KV cache, layers priority:high High priority status:review Under review type:test Test related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant