Repository navigation
Add omarchy-mlx, omarchy-mlx-vulkan and omarchy-mac-ml: MLX on the Apple GPU (opt-in) - #764
Conversation
Both packages come from one PKGBUILD, so the MLX wheel and the Vulkan driver it was qualified on publish together. omarchy-mlx-vulkan builds only the Honeykrisp Vulkan driver from joshuaswarren/mesa-1 9b97b82ab1. It installs the driver, an ICD manifest with an absolute library_path, and the driver's git SHA in /usr/lib/omarchy-mlx/vulkan/. The manifest is outside the loader's search path, so only omarchy-mlx uses the driver. It provides nothing generic and conflicts with mesa-honeykrisp-omarchy. omarchy-mlx builds the private venv offline from the release's hash-locked vendor wheels and depends on the exact omarchy-mlx-vulkan build. The mlx-omarchy sources are placeholders until v0.7.7 is published.
It pulls in omarchy-mlx, omarchy-ane-dkms and mil-hwx-compiler. aarch64 and edge only.
omarchy-mlx builds the v0.7.10 release wheel and vendor tarball from github.com/joshuaswarren/omarchy-mlx; omarchy-mlx-vulkan pins the honeykrisp-omarchy-v3 driver at mesa-1 e7631595df6281748ea5e643d74db59c5f783b01 with MESA_GIT_SHA1_OVERRIDE set to the short sha the driver reports and the runtime compares. omarchy-mac-ml now pulls omarchy-mlx-vulkan directly and its description names MLX on the GPU and Core ML models on the Neural Engine.
Drops the "Local AI" name; the description now reads the same promise as the menu label MLX + Core ML (Apple Silicon).
GitHub archives now extract to omarchy-mlx-<ver> for every tag, so the source filename and the build cd follow the omarchy-mlx name. Tarball sha256 unchanged: 7ad98f7df4df54c1e194b2be1469200da767dc3e374d79e66dcb98bdbb958a9d.
v0.7.11 is burned (no release); v0.7.12 publishes the tested wheel and vendor tarball from tag 8995ddf2e. Mesa pin unchanged.
v0.7.12's collector leaks private data; v0.7.13 (tag 85998d135) replaces it. Mesa pin unchanged.
v0.7.14 (tag 07729f401) carries the macOS collector dump-cap fix; v0.7.11 burned, v0.7.12 collector privacy leak, v0.7.13 superseded. Mesa pin unchanged.
… pin v0.7.17 (tag a33a4e395) is the published Latest; v0.7.15/16 were burned and never shipped. check() now runs the release's scripts/verify_runtime_assets.py against the staged parakeet share tree so a stage whose ANE bytes disagree with the wheel's runtime pin fails the build instead of shipping. Mesa pin unchanged.
v0.7.19 (tag 539d870e9) is the published Latest; v0.7.18 was never published. Asset-pin check() unchanged. Mesa pin unchanged.
|
Started CI ( Please fix:
Non-blocking:
|
|
CI on aarch64 failed in two places (run):
|
v0.7.22 (tag 58724762e) supersedes the burned 0.7.15/16/18/20; 0.7.21 stays the previous release. Mesa pin unchanged. Checksums verified against two independent downloads per source.
|
v0.7.22 checksums match the release |
makepkg's upfront dependency install covers only pkgbase-level arrays, so the per-package openblas depends never reach a fresh container and check()'s mlx.core import failed with a missing libopenblas.so.0. Declare it as a checkdepends instead; real installs still get it through depends.
|
The recipe now packages omarchy-mlx v0.7.22 (
Checks
M1 makepkg and
|
|
Thanks. omarchy-mlx is green with the full One item left: |
- watch joshuaswarren/omarchy-mlx (the url= repo) instead of mlx-omarchy - global checkdepends gains 'lapack' 'blas' 'vulkan-icd-loader' alongside 'openblas', the shared libraries the wheel loads at check() import - rebuild_on llvm: omarchy-mlx-vulkan links the shared libLLVM
|
All items:
Evidence: at head |
|
Thanks, all addressed and omarchy-mlx is green. Correction to my earlier comment: keeping |
Corrects GPU sin/cos wrong values for 1e4 <= |x| < 1e7 (v0.7.17-0.7.23 defect). Sources re-downloaded twice, hashes equal; wheel and vendor match the release SHA256SUMS. Mesa pin unchanged; vendor lock delta vs v0.7.22 is the mlx-omarchy pin only, no new runtime deps.
|
Bumped to v0.7.24 (
|
|
v0.7.24 checksums match the release On |
The meta package depends on omarchy-mlx/omarchy-mlx-vulkan, which this PR publishes, so its CI job stays red here and the required result check can never pass. Split out at review; see omacom#791.
|
CI on |
Pulls omarchy-mlx, omarchy-mlx-vulkan, omarchy-ane-dkms and mil-hwx-compiler: MLX on the GPU and Core ML models on the Neural Engine. Opt-in only; installs through the Install > AI row. Depends on #745 (omarchy-ane-dkms) and #764 (omarchy-mlx) publishing first: CI resolves each package against published edge.
omarchy-mlx v0.7.24 — MLX on the Apple GPU, opt-in
Ships MLX on Apple Silicon Linux as an opt-in package set, pinned to the published
joshuaswarren/omarchy-mlx v0.7.24 release and the qualified mesa commit.
Bumped from v0.7.22 for the v0.7.24 correction: v0.7.17–v0.7.23 GPU sin/cos
returned wrong values for 1e4 ≤ |x| < 1e7.
(v0.7.11 is skipped: that tag is burned and has no release. Skipped since: 12 leaked
private data via its collector, 13 lacked the macOS collector dump-cap fix, and
15/16/18/20 were burned and never published.)
What installs
omarchy-mlx/usr/lib/omarchy-mlx/venv) built offline from the hash-locked release wheels, plus themlx-omarchylaunchers and services. Depends onomarchy-mlx-vulkanpinned=0.7.24-1.omarchy-mlx-vulkanlibvulkan_asahi.so) as a private ICD under/usr/lib/omarchy-mlx/vulkan/— out of the loader's default search path, so other programs never pick it up — with itsmesa-git-shastamp.Nothing here installs by default. The opt-in
omarchy-mac-mlmeta package lives in #791; it pulls these two plusomarchy-ane-dkms(#745) andmil-hwx-compiler(#747), and merges after they publish.Pins and checksums (all re-downloaded and sha256-verified for this PR)
v0.7.24source tarball022489f1aa70eaafa85a015500a257f5817676e352b9ff2d4368e2c8cb1efac7mlx_omarchy-0.32.4.dev202610032142+eaa69723-cp314-cp314-linux_aarch64.whlc18ca23ccf8602f4bcceba5e3125b1c6cf67083d73fd8caa28ad26f8b4339dcbomarchy-mlx-vendor-wheels-v0.7.24-cp314-aarch64.tarfbfad09877a45de7e8160b659ed55415f0df0c43e6ea3552c412d0ddd7ae4d0ee7631595df6281748ea5e643d74db59c5f783b01(honeykrisp-omarchy-v3)ae00b9568f1c57a7be7518b6f508354bc86c4494d83a82ef79bd0a799835c4b2Wheel and vendor hashes match the release
SHA256SUMSasset. The wheel and vendortarball publish together with the driver pin so the tested wheel and the Vulkan driver
it was qualified on can never skew.
MESA_GIT_SHA1_OVERRIDEuses the short sha(
e7631595df), matching exactly what the driver reports aftergit-in driverInfo —what
mlx_omarchy_paths.packaged_mesa_git_sha_pathcompares against. Source archivesof the renamed repo extract to
omarchy-mlx-<ver>for every tag, and the recipe'ssource filename and build directory follow that name.
check()now runs the release'sscripts/verify_runtime_assets.pyagainst the staged parakeet share tree, so a buildwhose ANE bytes disagree with the wheel's runtime pin fails instead of shipping.
How it was tested
sha256sums.tests/pinned-sources.sh(CI test.yml):PASS: 52 git source(s) across pkgbuilds/ are pinned to a commit or tag.tests/published-build-plan.sh: both scheduler plansPASS.CARCH=aarch64;.SRCINFOcontent cross-checkedagainst the sourced recipes field-by-field.
full
bin/buildaarch64 build runs in CI via build-pr.Note: this repo gitignores
pkgbuilds/*/.SRCINFO(build-time artifacts), so thegenerated
.SRCINFOfiles are verified in the worktree but intentionally not committed.