Repository navigation
Add an MLX + Core ML row to Install > AI for Apple Silicon - #14805
joshuaswarren wants to merge 3 commits into
Conversation
[Medium impact] The install path appears safe to merge; the remaining feedback concerns Markdown formatting and a repetitive test. FindingsSummaryAdds MLX + Core ML to Install > AI for Apple Silicon Macs.
Reviews (3) · Last reviewed commit: "Merge remote-tracking branch 'origin/qua..." · Reviewed by Greptile |
The row installs omarchy-mac-ml, the meta package for local machine learning on the Mac's GPU and Neural Engine, with omarchy-install-app. Its disabled: guard dims it once the package is installed, as for every Install row. Its when: is the platform alone. The Install rows no longer ask the sync databases, and omarchy-mac-ml cannot help a machine that is not an Apple Silicon Mac: MLX runs on the Mac's GPU and the Core ML models on its Neural Engine, and a Snapdragon that syncs the same aarch64 repository can run neither. apple-silicon-quirks-test.sh and menu-test.sh pin the guard, as they do for the other platform rows.
The package ships MLX for the Mac's GPU and Core ML models for the Neural Engine, so the row and its install display name now say 'MLX + Core ML (Apple Silicon)'. The id and both guards stay.
3940941 to
3e21b84
Compare
| A few Install rows keep a `when:` because no package fixes another machine: | ||
| the Windows VM needs an x86_64 host, and `install.ai.mlx` needs an Apple | ||
| Silicon Mac, since `omarchy-mac-ml` runs MLX on the Mac's GPU and its Core ML | ||
| models on its Neural Engine. |
There was a problem hiding this comment.
Paragraph breaks Markdown style
The new paragraph in docs/menu.md wraps across four lines. AGENTS.md requires full lines in Markdown, with breaks only at structural boundaries. Put this paragraph on one line before merging to satisfy that requirement.
| A few Install rows keep a `when:` because no package fixes another machine: | |
| the Windows VM needs an x86_64 host, and `install.ai.mlx` needs an Apple | |
| Silicon Mac, since `omarchy-mac-ml` runs MLX on the Mac's GPU and its Core ML | |
| models on its Neural Engine. | |
| A few Install rows keep a `when:` because no package fixes another machine: the Windows VM needs an x86_64 host, and `install.ai.mlx` needs an Apple Silicon Mac, since `omarchy-mac-ml` runs MLX on the Mac's GPU and its Core ML models on its Neural Engine. |
File Used: AGENTS.md (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
| assertEqual( | ||
| defaultById['install.ai.mlx'].when, | ||
| 'omarchy-hw-aarch64-apple', | ||
| 'menu hides the MLX row off every machine that is not an Apple Silicon Mac' | ||
| ) |
There was a problem hiding this comment.
This assertion and the one in test/shell.d/apple-silicon-quirks-test.sh reread install.ai.mlx and compare its when value with the string just added. AGENTS.md forbids dedicated tests for small declarative changes and checks that merely restate edited config. Remove both assertions before merging; keep the update to the existing Install whitelist.
File Used: AGENTS.md (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
…nstall-row-v4 # Conflicts: # test/shell.d/apple-silicon-quirks-test.sh # test/shell.d/menu-test.sh
|
[Joshua's agent] Merged quattro into the branch at 5f9d467; the menu, guard, Apple Silicon quirk, and platform package checks pass locally. |
Adds one row,
install.ai.mlx, to Install > AI. It replaces #14250, which the bot closed while it still depended on the convergence branch. #14431 has merged, so this is two signed commits on current quattro.What it does. The row installs
omarchy-mac-mlthroughomarchy-install-appin a floating terminal. That meta package is local machine learning on the Mac: MLX on the GPU and Core ML models on the Neural Engine. The package and its dependencies are already on omarchy-pkgs (#745, #747, #764, #791).disabled:keeps the row listed but dim once the package is installed, like every Install row.Why it keeps a
when:. MLX runs on the Mac's GPU and the Core ML models on its Neural Engine. A package cannot give either to another machine, so the row shows only whereomarchy-hw-aarch64-appleis true. This is the same exception the Windows VM row keeps for needing an x86_64 host.install.ai.mlxis in the Installwhen:whitelist inmenu-test.sh, andapple-silicon-quirks-test.shpins the guard.docs/menu.mdsays so.Changes from #14250 for current quattro. Quattro renamed the Apple predicate, so the row uses
omarchy-hw-aarch64-appleinstead ofomarchy-hw-apple-silicon. I dropped the link toplatform-guard.mdfromdocs/menu.md: that file is not in quattro.Tests (Debian host with bash and node, at the branch head):
With the row's guard changed to
omarchy-hw-x86,menu-testandapple-silicon-quirks-testboth fail. The full./test/shellrun on this host has 44 files with one failing check each. They fail the same way on quattro without this change; the host lacksmagick,luaandsocat, among other things. No file fails only on this branch. This was not run in an Arch chroot.