Week 2 Day 3: SIMD matrix prefill - #319
Merged
Merged
Conversation
AI-Assisted: GPT-6 Sol + Sentinel
AI-Assisted: GPT-6 Sol + Sentinel
AI-Assisted: GPT-6 Sol + Sentinel
AI-Assisted: GPT-6 Sol + Sentinel
AI-Assisted: GPT-6 Sol + Sentinel
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.
Scope
Add Week 2 Day 3 SIMD matrix prefill on top of the merged Day 2 W4 course. The active lesson introduces the
simd-matmulcheckpoint, a 10×97 partial-tile operator exercise, and a public model-output comparison after the completed Day 1–2 checkpoints. The learner-owned native SIMD seam remains unfinished in the starter; reference code and supplied tests provide the runnable control. CLI, benchmark selectors, and shipped-day CI expose Day 3 while later-day routes remain deferred.The chapter explains the 32×32 cooperative tile, four 16×16 quadrants, guarded edge stores, readable equation alternative, and matched measurement method. Former Week 2 URLs remain historical. Required measurement uses the setup-cached 0.6B model; 4B is optional. This PR makes no speed claim.
Local evidence
atol=0.75,rtol=0.05, and restores MLX RNG state. The unfinished learner starter reaches its named SIMD TODO in Task 2; cumulative model tasks still require Days 1–2 completion.49bda24c. Fresh independent local reviews returned factual/preservation PASS, correctness/public-contract GO, learner WALKABLE, and static accessibility PASS. These are local verdicts only.Open gates
Hosted macOS run 35969966892 succeeded on exact head
49bda24c: both native extensions built and the shipped-day manifest collected 369 tests (367 passed, 2 skipped). The runner has one more skip than the local author run; independent CI review will interpret the difference.This PR is Draft. Fresh independent reviews of this exact public head, base, and body and all current repository gates remain required before Ready or merge. No cached Qwen benchmark was run for this Day 3 slice; the separate full-course Draft #316 performance screen does not establish Day 3 speed.
Chi approved normal website updates for this five-day Week 2 batch. The ordinary main-branch Pages workflow may run after a separately gated merge. This PR does not authorize a release, tag, settings or visibility change, manual deployment, or later-day work.