Repository navigation
Fold 2026-08-03 defect sweep and macOS 26.6 event ritual into guides and notes #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,8 +28,8 @@ returns the graft boundary (`ca60290`), not the introducing commit. | |
|
|
||
| **So: pin `mlx==0.32.*` and `mlx-lm==0.31.3`, read the shipped `mlx/version.h` rather than trusting any date | ||
| including these guides', and re-run your own numerics after every bump.** Not boilerplate — **four NAX | ||
| correctness fix PRs opened in the 72 hours before 2026-07-27** (PRs #3912, #3922, #3924 — all three still open, | ||
| unmerged, per a 2026-07-31 `gh` re-check, so no release or checkout contains them), one a *missing | ||
| correctness fix PRs opened in the 72 hours before 2026-07-27** (PRs #3912, #3922 still open and #3924 closed | ||
| unmerged 2026-08-02, per a 2026-08-03 `gh` re-check — so no release or checkout contains them), one a *missing | ||
|
Comment on lines
+31
to
+32
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -u
printf '%s\n' '--- repository state ---'
git rev-parse HEAD
git status --short
printf '%s\n' '--- requested passages ---'
sed -n '20,40p' guides/part-12-mlx-python/README.md
sed -n '112,132p' guides/part-12-mlx-python/references/01-core-fundamentals.md
sed -n '92,112p' guides/part-12-mlx-python/references/02-numerics-hardware-gating-and-custom-kernels.md
printf '%s\n' '--- all references to candidate PRs and date/count claims ---'
rg -n -C 2 '`#3912`|`#3922`|`#3924`|correctness PR|three days|72 hours|2026-07-27|2026-08-02|2026-08-03' .
printf '%s\n' '--- GitHub PR metadata ---'
for n in 3912 3922 3924; do
gh api "repos/ml-explore/mlx/pulls/$n" --jq '"#\(.number)\tstate=\(.state)\tmerged=\(.merged)\tclosed_at=\(.closed_at)\tmerged_at=\(.merged_at)\ttitle=\(.title)"' || true
doneRepository: hbmartin/Foundation-Models-and-Core-AI-and-MLX-skills Length of output: 50412 🏁 Script executed: #!/bin/bash
set -u
log=/tmp/coderabbit-shell-logs/shell-output-uDfvAY
printf '%s\n' '--- state and requested passages from prior run ---'
sed -n '1,180p' "$log"
printf '%s\n' '--- exact NAX references in the relevant guide and research note ---'
rg -n -C 3 --no-heading '`#3912`|`#3922`|`#3924`|correctness PR|72 hours|three days|2026-07-27|2026-08-02|2026-08-03' \
guides/part-12-mlx-python notes/repos/issues-mlx-stack.md
printf '%s\n' '--- PR metadata, including repository and merge commits ---'
for n in 3912 3922 3924; do
gh api "repos/ml-explore/mlx/pulls/$n" \
--jq '"#\(.number)\tstate=\(.state)\tmerged=\(.merged)\tclosed_at=\(.closed_at)\tmerged_at=\(.merged_at)\tmerge_commit=\(.merge_commit_sha)\ttitle=\(.title)"' || true
doneRepository: hbmartin/Foundation-Models-and-Core-AI-and-MLX-skills Length of output: 50411 🏁 Script executed: #!/bin/bash
set -u
printf '%s\n' '--- NAX source note ---'
rg -n -C 12 'NAX|3912|3922|3924|correctness|three days|four' notes/repos/mlx-tensorops-kernels.md
printf '%s\n' '--- PRs opened in the stated window ---'
gh api --paginate \
'search/issues?q=repo%3Aml-explore%2Fmlx+is%3Apr+created%3A2026-07-24..2026-07-27&per_page=100' \
--jq '.items[] | "#\(.number)\t\(.created_at)\t\(.state)\t\(.title)"' 2>&1 || true
printf '%s\n' '--- exact status for the three cited PRs ---'
for n in 3912 3922 3924; do
gh api "repos/ml-explore/mlx/pulls/$n" \
--jq "#\(.number)\tcreated=\(.created_at)\tstate=\(.state)\tmerged=\(.merged)\tclosed_at=\(.closed_at)\tmerged_at=\(.merged_at)\ttitle=\(.title)" 2>&1 || true
done
printf '%s\n' '--- checkout references ---'
git ls-files | rg '(^|/)(README|01-core-fundamentals|02-numerics-hardware-gating-and-custom-kernels)\.md$|mlx-tensorops-kernels'
rg -n -C 2 '973e27f|no release|no runtime|no release or checkout|none is in this checkout' \
guides/part-12-mlx-python notes/repos/mlx-tensorops-kernels.mdRepository: hbmartin/Foundation-Models-and-Core-AI-and-MLX-skills Length of output: 50411 🏁 Script executed: #!/bin/bash
set -u
printf '%s\n' '--- candidate PR metadata and descriptions ---'
for n in 3912 3913 3918 3919 3920 3922 3924; do
printf '\nPR #%s\n' "$n"
gh api "repos/ml-explore/mlx/pulls/$n" \
--jq '{number,created_at,state,merged,closed_at,merged_at,merge_commit_sha,title,labels:[.labels[].name],body}' \
2>&1 || true
done
printf '%s\n' '--- changed paths for likely candidates ---'
for n in 3918 3922 3924; do
printf '\nPR #%s files\n' "$n"
gh api --paginate "repos/ml-explore/mlx/pulls/$n/files?per_page=100" \
--jq '.[] | .filename' 2>&1 || true
doneRepository: hbmartin/Foundation-Models-and-Core-AI-and-MLX-skills Length of output: 23781 Change the NAX count to three and narrow the absence claim. The cited correctness PRs are 📍 Affects 3 files
🤖 Prompt for AI Agents |
||
| `else`* in `tile_matmad_nax` that compiles odd tile shapes to nothing and produces garbage. Second version axis: | ||
| **PyPI mlx-lm 0.31.3 is dated 2026-04-22 and `main` has moved substantially past it**, so several fixes here are | ||
| unreleased — and **0.31.0 was pulled from practical use** for a `BatchKVCache` cross-contamination bug. | ||
|
|
@@ -104,8 +104,8 @@ hardcoded in MLX's NAX matmul kernel while the host gates `float32` on `MLX_ENAB | |
| > ⚠️ **SILENT FAILURE — TF32 you did not choose (§3.3).** Community measurements in mlx#3860 put M5 `float32` | ||
| > matmul error at **2^-10.4** versus **2^-19.8** with `MLX_ENABLE_TF32=0`; `x.dtype` still says `float32`, | ||
| > because it is — only the multiply-accumulate is relaxed. **Set `MLX_ENABLE_TF32=0` before importing mlx in any | ||
| > test suite**, which is exactly what MLX's own harness does. A warn-once PR (#3883) and a docs PR (#3894) were | ||
| > both open as of 2026-07-29. | ||
| > test suite**, which is exactly what MLX's own harness does. A docs PR (#3894) remains open as of 2026-08-03; | ||
| > the warn-once PR (#3883) was closed unmerged 2026-08-03. | ||
| > | ||
| > ⚠️ **SILENT FAILURE — fused attention silently becomes unfused (§5).** | ||
| > `mx.fast.scaled_dot_product_attention` returns the mathematically correct answer via `matmul → softmax → | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: hbmartin/Foundation-Models-and-Core-AI-and-MLX-skills
Length of output: 50411
🏁 Script executed:
Repository: hbmartin/Foundation-Models-and-Core-AI-and-MLX-skills
Length of output: 2935
🏁 Script executed:
Repository: hbmartin/Foundation-Models-and-Core-AI-and-MLX-skills
Length of output: 1909
Scope the warning claim to the August 3, 2026 upstream snapshot.
Replace “so no runtime warning is coming” with “so no runtime warning was present in the inspected upstream state as of August 3, 2026.”
🤖 Prompt for AI Agents