Skip to content

omarchy-mlx 0.7.40: no prefill out-of-memory on the 13-inch M1, assistant stop fix - #839

Merged
ryanrhughes merged 6 commits into
omacom:masterfrom
joshuaswarren:mac/v0.7.30-bump
Nov 12, 2026
Merged

ryanrhughes merged 6 commits into
omacom:masterfrom
joshuaswarren:mac/v0.7.30-bump

Conversation

@joshuaswarren

@joshuaswarren joshuaswarren commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

omarchy-mlx 0.7.40 replaces 0.7.39-2 in this PR. Version 0.7.39 stopped the copy of the whole KV cache window on every decoded token. Version 0.7.40 fixes a failure on the 16 GB 13-inch M1: prefill ran out of GPU memory while the KV cache grew. It also makes the assistant server stop within five seconds when it gets repeated stop signals.

The release is public: https://github.com/joshuawarren/omarchy-mlx/releases/tag/v0.7.40 . Its asset URLs return 200, so a build from this recipe works now.

Result

  • On a 13-inch M1, Qwen3 4B Instruct 4-bit with the default prefill chunk completed an 8192-token prompt in 1 of 4 tries on the old cache path. With the two changes in 0.7.40 it completed 6 of 6 runs in 2 tries. A 16384-token prompt failed 2 of 2 tries on the old path. It completed 2 of 2 runs with the changes.
  • The installed 0.7.40-1 package, with the neural engine held quiet, ran the 8192-token prompt on the 13-inch M1 in 3 of 3 runs with the default prefill chunk. Decode took 66.91, 66.93 and 66.89 ms per token and prefill took 87.1 s. Peak GPU memory after prefill was 5.81 GB. Token ids were equal in all three runs.
  • The same package ran a 12288-token prompt on the 13-inch M1 in 2 of 2 runs, with the neural engine held quiet. Decode took 79.34 and 79.29 ms per token, prefill took 164.5 and 164.4 s, and peak GPU memory after prefill was 5.87 GB. Token ids were equal in both runs.
  • The same package ran on the 14-inch M2 Max, with the neural engine held quiet. At 8192 tokens, decode took 20.61, 20.62 and 20.72 ms per token and prefill took 20.0 to 20.7 s. At 12288 tokens, decode took 24.38, 24.44 and 24.44 ms and prefill took 38.3 to 39.8 s. At 16384 tokens, decode took 26.51, 26.45 and 26.51 ms and prefill took 64.7 to 65.4 s. Peak GPU memory after prefill was 5.84, 6.45 and 7.20 GB. Token ids were equal in all runs of each row. The rows from the 0.7.39-2 environment with the files laid over it read 20.57 to 20.65 ms, 24.37 to 24.42 ms and 26.48 to 26.55 ms. The medians of the package rows are within 0.3 % of those rows.
  • One 49152-token run on the 14-inch M2 Max decoded at 49.8 ms per token, with prefill 500.5 s and peak GPU memory 12.3 GB after prefill.
  • Decode speed on the 13-inch M1 is unchanged. At 8192 tokens, 5 of 6 runs took 66.9 to 67.6 ms per token. The sixth ran beside a neural-engine job and took 108.6 ms. At 16384 tokens the runs took 90.17 and 90.20 ms. Peak GPU memory after prefill is 5.81 GB at 8192 tokens and 6.08 GB at 16384.
  • On a 14-inch M2 Max the decode time per token does not change. The medians of 3 runs at 8192, 12288 and 16384 tokens are 20.62, 24.42 and 26.53 ms with the upstream cache growth. They are 20.64, 24.37 and 26.53 ms with both changes. Token ids are equal in every pair. Prefill time differs from -3 % to +7 % between rows of the same code, so the changes make no prefill speed claim there.
  • Earlier in this PR, 0.7.39: on a 14-inch M2 Max, Qwen3 4B Instruct 4-bit decodes 36.6 percent faster at 16384 tokens of context (42.585 to 26.978 ms per token). It decodes 27.4 percent faster at 8192 and 15.8 percent at 2048. Buffer copies per token fall from 72 to 0.

What changes

  • pkgver 0.7.40, pkgrel 1.
  • The wheel is mlx_omarchy-0.32.4.dev202611101859+7ec53476-cp314-cp314-linux_aarch64.whl. It is built from tag v0.7.40 (7ec53476b089df5dacc6e6b03198df1244b9d6f4) in a clean Arch Linux ARM container.
  • Source hashes, from the downloaded files:
    • tag tarball 8da755708fce0b9a29fa04d570d90d6acb3964f94cfbff708625aeb495016192
    • wheel 5e7ab221771a006e677874c23a833ad5a8b3d7f1b839e0d56ccca6a1f2c6b82c
    • vendor tar b909e477785fce58cbd91a731569ec3fa70656dc5d34d7c907128423ad9caaff
    • Mesa fc26edaef4b6025435416b9ac9d145869b967b5ce564d7a216ab3a79bd6a6ecf (unchanged)
  • The Mesa pin stays at 439dc032d70ab9ec7e3b40afd4efd920f75c56f1. The packaged libvulkan_asahi.so is byte-identical to the one in 0.7.39-2 (sha256 d75f4cbcf1008fb56516f6bf9c6a6b552a7970a7be089acdff6a19f48acbd9a7).
  • The vendored Python set was resolved again at build time. The venv differs from 0.7.39-2 in two dist-infos: annotated-doc 0.0.5 to 0.0.6 and markdown-it-py 4.2.0 to 4.3.0.
  • Only pkgbuilds/omarchy-mlx/PKGBUILD differs from the previous head.

Checked

  • makepkg builds both packages in the clean container. The exit code is 0 and check() passes.
  • omarchy-mlx-0.7.40-1 is fe09d373724600f5041e807cdbdf484ea2c59b9f13ab12c7861763bbc0f9a845. omarchy-mlx-vulkan-0.7.40-1 is 0fe0c57bf29ac0af2f5e6e44c4755a962ddf913c90ad8edd57bc3aa779c16959.
  • pacman -U under LC_ALL=C in the container: 0 of 13281 files missing for omarchy-mlx and 0 of 11 for omarchy-mlx-vulkan. The package has no path with a non-ASCII byte. The venv imports mlx-omarchy 0.32.4.dev202611101859+7ec53476.
  • scripts/verify-release-assets.py v0.7.40 printed VERIFIED for the draft and again for the published release. The tag tarball hash above matches the live download.
  • Release checks on the draft assets, before publish. Each batch logged 0 kernel GPU timeouts.
    • 16-inch M1 Max: clean install, the online 9B and 4B card checks, the offline check and the Laya check exited 0. The three Kokoro checks (plain, primer, stream) exited 0. The stream check had 20 chunks and no starved gap.
    • 13-inch M1: clean install and the online 4B card check exited 0. The 2B decode check ran 5 of 5 with the same token digest (775bf034e185c8f9) each time. Two runs took 34.8 ms per token, as in 0.7.39. Three took 49.3 to 50.7 ms. A neural-engine job from another test was running on the machine during this check, and the check does not hold the neural engine quiet. I did not test whether that caused the slow runs.
  • Checks on the installed 0.7.40-1 packages, on the 13-inch M1 and the 16-inch M1 Max. Each batch logged 0 kernel GPU timeouts.
    • The packaged-driver check passed on both machines: mlx-omarchy-info reports icd_source = packaged. The installed mesa-git-sha file reads 439dc032d7. The check uses a fixture prefix. It copies the installed ICD manifest and does not read the installed mesa-git-sha file.
    • The offline system install from the vendor tar exited 0 on both machines. Seven staged files read back and no launcher path leaked.
    • On the 16-inch M1 Max, the routing-on check and the kill switch check passed.
  • The 14-inch M2 Max installed both 0.7.40-1 packages. pacman -Q reads 0.7.40-1 for both, pacman -Qk finds 0 missing files (13281 and 11), and the package hashes match the ones above. The driver library hash starts d75f4cbcf1008fb5, as in 0.7.39-2.

Not checked

  • The 14-inch M2 Max medians above with upstream cache growth and with both changes come from the 0.7.39-2 environment with the files laid over it, not from the package. At 4096 tokens the package decoded 10 runs at 16.55 to 16.67 ms per token, with a median of 16.60 ms. The overlay rows at that size read 16.31 to 16.63 ms, so the package is inside their spread and 1.8 % above their best row. I do not know if the gap comes from the package or from the row.
  • The 49152-token run on the 14-inch M2 Max printed four groups of driver errors (DRM_IOCTL_ASAHI_GEM_CREATE failed: Cannot allocate memory, then BO creation failed). The run finished and the decode was steady. The machine had at least 40 GB of memory available throughout. I do not know the cause.
  • The wheel is built with LLVM 23.1.4. The lab Macs run 23.1.1.
  • The cache reserve covers generate_step. The batched route of the served API (BatchGenerator) allocates the cache as before.

Closes #1563.

@joshuaswarren joshuaswarren changed the title omarchy-mlx 0.7.30 (+ honeykrisp-omarchy-v3 ICD pin bump bbbfa36dce7) omarchy-mlx 0.7.31 (+ honeykrisp-omarchy-v3 ICD pin bbbfa36dce7) Oct 7, 2026
@joshuaswarren
joshuaswarren marked this pull request as ready for review October 7, 2026 21:14
@joshuaswarren joshuaswarren changed the title omarchy-mlx 0.7.31 (+ honeykrisp-omarchy-v3 ICD pin bbbfa36dce7) omarchy-mlx 0.7.31 (+ honeykrisp-omarchy-v3 ICD pin 188dae250e4b) Oct 8, 2026
@joshuaswarren
joshuaswarren force-pushed the mac/v0.7.30-bump branch 2 times, most recently from e679581 to 9798a7d Compare October 8, 2026 23:46
@joshuaswarren

joshuaswarren commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor Author

I found why the installed omarchy-mlx package carries a foreign libane-strict.so and worker. The fix is one line: options=('!debug' '!lto' '!strip').

makepkg strips binaries after package() runs. The strip rewrites the wheel's two pinned ANE files. The installed bytes then stop matching the pin.

  • libane-strict.so: pinned d06222a8, 71,456 bytes. After strip: 6e20168d, 67,728 bytes.
  • mlx-omarchy-ane-worker: wheel file f4562eff, 161,744 bytes. After strip: 134,552 bytes.

I checked this on jwm1 today.

  • I built the 0.7.31 PKGBUILD with check() on. The package carried 6e20168d and the small worker. check() passed, because it looks at the stage, and the stage was correct. The verifier says OK on the stage and MISMATCH on the final package tree.
  • I ran strip --strip-unneeded on the wheel's libane-strict.so and strip --strip-all on the worker. The output equals the shipped bytes.
  • I re-packaged the same build tree with !strip. The package now holds d06222a8 (71,456 bytes) and the wheel's own worker (161,744 bytes, f4562eff). I read both from the package file. Nothing is installed yet.

So check() and the verifier call in package() cannot catch this. Both run before the strip. The --nocheck flag was not the cause of the 0.7.22-1 defect. I corrected that comment in #891. The verifier call there still guards against a swapped stage.

Not tested yet: installing the re-packaged package on a Mac (planned next), and a CI build of the new PKGBUILD. This text is unvoiced: the voice service is down.

@joshuaswarren joshuaswarren changed the title omarchy-mlx 0.7.31 (+ honeykrisp-omarchy-v3 ICD pin 188dae250e4b) omarchy-mlx 0.7.32 (+ honeykrisp-omarchy-v3 ICD pin e7631595df) Oct 10, 2026
@greptile-apps

greptile-apps Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] No blocking issue was established in the changes since the previous review.

Summary

Updates omarchy-mlx to version 0.7.40.

  • MLX and Vulkan packages now use the 0.7.40 release.
  • The MLX package skips paths that can stop pacman extraction.
  • MLX installs and upgrades now apply the CPU device rule right away.

Reviews (9) · Last reviewed commit: "omarchy-mlx 0.7.40: no prefill out-of-me..." · Reviewed by Greptile

@joshuaswarren

Copy link
Copy Markdown
Contributor Author

I rebased this onto master. The omarchy-mlx.install file was there, but the split package didn't use it. Now it does. I haven't built the package yet.

@joshuaswarren joshuaswarren changed the title omarchy-mlx 0.7.32 (+ honeykrisp-omarchy-v3 ICD pin e7631595df) omarchy-mlx 0.7.33 (stall fix for Gemma 4, !strip for the ANE files) Oct 28, 2026
@joshuaswarren

Copy link
Copy Markdown
Contributor Author

Updated to v0.7.33 (head fdf0c04, rebased on master, one commit). This PR is 21 days old and the packaged 0.7.28 still stalls on Gemma 4 E2B/E4B, which v0.7.33 fixes. Could a maintainer review and merge it? I will post the makepkg build result here as soon as I have an aarch64 host for it. A second change follows on #1055 so the automatic sync can come back.

@joshuaswarren

Copy link
Copy Markdown
Contributor Author

Build result for head fdf0c04, plain makepkg -f on a 14-inch M2 Max running Arch for Apple Silicon (aarch64), 2 minutes:

  • makepkg exit 0. Sources passed sha256sums: tag tarball, wheel, vendor tar and the Mesa tarball.
  • check() passed: the vendored wheels verified against the lock (36), and the ANE assets verified against the runtime pin.
  • Packages built: omarchy-mlx-0.7.33-1-aarch64.pkg.tar.xz (447 MB, sha256 b70da0a05c223fcffdeb89023b6599d680a1b868922c722264a64c2d7b1513b5) and omarchy-mlx-vulkan-0.7.33-1-aarch64.pkg.tar.xz (1.7 MB, sha256 aa2b1c373e883d91c283ba5e63316f1c3ad4c20444fe41bc2ec7ed883cdb40a2).
  • With !strip the sealed ANE files keep their pinned sizes in the package: libane-strict.so 71456 bytes (d06222a8), mlx-omarchy-ane-worker 161744 bytes.
  • The Vulkan package carries Mesa e7631595df. The package's libmlx.so contains the Gemma 4 stall fix switch.

Not done: this was not a clean chroot (no devtools on that machine; I used --nodeps with all build dependencies installed), and I did not install the packages. makepkg also warned that the package contains a reference to $srcdir.

@joshuaswarren joshuaswarren changed the title omarchy-mlx 0.7.33 (stall fix for Gemma 4, !strip for the ANE files) omarchy-mlx 0.7.34 (stall fix for Gemma 4, !strip for the ANE files) Oct 29, 2026
@joshuaswarren

Copy link
Copy Markdown
Contributor Author

Build result for head 37809f7 (0.7.34), plain makepkg -f on a 14-inch M2 Max running Arch for Apple Silicon (aarch64), about 2 minutes:

  • makepkg exit 0. Sources passed sha256sums: tag tarball, wheel, vendor tar and the Mesa tarball.
  • check() passed: the 36 vendored wheels verified against the lock, and the ANE assets verified against the runtime pin.
  • Packages built: omarchy-mlx-0.7.34-1-aarch64.pkg.tar.xz (447 MB, sha256 59ebf46a9092bd74474d574418d9cfd3c59f9924f384c8d346c0c7f1f2bc3eda) and omarchy-mlx-vulkan-0.7.34-1-aarch64.pkg.tar.xz (1.7 MB, sha256 53b99a47998a0283d76c532d5e6545ad77c310919165cd5514de1e7cc8ed8ac7).

Not checked: installing the built packages with pacman, and running the installed package.

Could a maintainer review and merge it? It is a version bump of an existing package, rebased on current master, one commit.

@joshuaswarren joshuaswarren changed the title omarchy-mlx 0.7.34 (stall fix for Gemma 4, !strip for the ANE files) omarchy-mlx 0.7.35 (stall fix for Gemma 4, !strip for the ANE files) Oct 30, 2026
@joshuaswarren

Copy link
Copy Markdown
Contributor Author

Build result for head 6df35a2 (0.7.35), plain makepkg -f on a 13-inch M1 MacBook Pro running Arch for Apple Silicon (aarch64), about 2 minutes:

  • makepkg exit 0. Sources passed sha256sums: tag tarball, wheel, vendor tar, and Mesa tarball.
  • check() passed: the 36 vendored wheels verified against the lock, and the ANE assets verified against the runtime pin.
  • Packages built: omarchy-mlx-0.7.35-1-aarch64.pkg.tar.xz (447 MB, sha256 b21995c083380a4a64256a25d6a9952eb69d7a13e576f5c72a71daa7151ea0e7) and omarchy-mlx-vulkan-0.7.35-1-aarch64.pkg.tar.xz (1.7 MB, sha256 e4d0c6241e9c6c5a5ee4a49b33d5a7520ee5d195a71bf3fa7a9417a73cc86666).
  • With !strip the sealed ANE files keep their pinned sizes in the package: libane-strict.so 71,456 bytes, mlx-omarchy-ane-worker 161,744 bytes.
  • The package carries Mesa e7631595df. The package's libmlx.so contains the Gemma 4 stall fix.

Not done: this was not a clean chroot (--nodeps used with all build dependencies installed), and I did not install the packages.

@joshuaswarren

Copy link
Copy Markdown
Contributor Author

The live edge/aarch64 repository still resolves both omarchy-mlx and omarchy-mlx-vulkan to 0.7.28-5 (fresh database queried with pacman on November 2 at 16:48 UTC).

The 0.7.35-1 package pair for current head 6df35a28ffdcef2a124a9156350ca73a42395b88 is already built; its hashes and the --nodeps/non-clean-chroot caveat are in the build result. I am not claiming a new clean build or installed-runtime test.

This account cannot publish to the repository. The PR workflow records “Awaiting build approval” and skips the native package build. Could a maintainer enable the normal build/merge/publish path for this head so the update can reach pacman?

@joshuaswarren

Copy link
Copy Markdown
Contributor Author

Thanks for the review. For head 6df35a28ffdcef2a124a9156350ca73a42395b88, self-tests and build-isolation pass, but the native package build is skipped and the required result check is absent: the workflow is waiting for the build-approved label.

The 0.7.35 local build result is available; its non-clean-chroot/--nodeps caveat remains. Since the last update, we have also installed the 0.7.35 runtime/private-ICD pair on a 13-inch M1 and checked installed-wheel provenance and GPU enumeration. That is not a clean-chroot build or an inference/performance result.

Could a maintainer apply build-approved so the normal native aarch64 build can run and the PR can proceed through its merge/publish checks?

@joshuaswarren

Copy link
Copy Markdown
Contributor Author

Note

🤖 openai-codex/gpt-6.1-terra responding on behalf of joshuaswarren

[Joshua's agent] The native package build waits for the maintainer-applied build-approved label.

@joshuaswarren joshuaswarren changed the title omarchy-mlx 0.7.35 (stall fix for Gemma 4, !strip for the ANE files) omarchy-mlx 0.7.38: 3.4 to 4.1% faster decode on M1 and M1 Max, Gemma 4 stall fix Nov 5, 2026
@joshuaswarren

Copy link
Copy Markdown
Contributor Author

[Joshua's agent] Head is now 53884abe: omarchy-mlx 0.7.38. tests/pinned-sources.sh and tests/package-metadata.sh pass. self-tests, build-isolation and the native package build run on the PR workflow; the native build still waits for the build-approved label. @maralcbr, could you apply it?

@joshuaswarren joshuaswarren changed the title omarchy-mlx 0.7.38: 3.4 to 4.1% faster decode on M1 and M1 Max, Gemma 4 stall fix omarchy-mlx 0.7.38: 6.8% faster decode on the M1 Max, Gemma 4 stall fix Nov 5, 2026
Pins the v0.7.38 tag tarball, the cp314 aarch64 wheel and the vendor wheel tar. Packaging files are unchanged since 0.7.35, and the Mesa pin is unchanged.
@joshuaswarren

Copy link
Copy Markdown
Contributor Author

[Joshua's agent] Rebased onto current master (49250dc6): head is now 7f90c497 (was 53884abe). Both tests rerun at the new head:

  • tests/pinned-sources.sh: PASS — 152 git sources across pkgbuilds/ pinned to a commit or tag.
  • tests/package-metadata.sh: PASS — all four checks.

No newer omarchy-mlx PR supersedes this one. The native aarch64 package build still waits for the maintainer-applied build-approved label. @maralcbr, could you apply it?

Pin Mesa to joshuaswarren/mesa-1 ef4219af57 (honeykrisp-omarchy-v3 plus one
commit: tracked CDM barrier by default on G14X gen 14). On a 14-inch M2 Max
the packaged driver issued a full CDM flush per dispatch. Measured, Qwen3-4B 4bit
decode, ABBA, same token ids: ctx512 16.249 to 14.749 ms/tok, ctx2048 19.351 to
17.258 ms/tok. G13G and G13X code paths are unchanged.
…at long context

The KV cache was copied in full on every decode step (72 copies per
token). It now grows in place (0 copies). Measured on a 14-inch M2 Max,
same prompt, same tokens, A/B on separate builds: 36.6% faster at 16384
context, 27.4% at 8192, 8.2% at 512. A 13-inch M1 and a 16-inch M1 Max
pass the same token check at 8192 context (34.9% and 29.3% faster).

The Vulkan driver pin stays at ef4219af57 (Honeykrisp with the tracked
CDM barrier). The wheel and vendor set are built from the v0.7.39 tag in
a clean Arch Linux ARM container.
@joshuaswarren joshuaswarren changed the title omarchy-mlx 0.7.38: 6.8% faster decode on the M1 Max, Gemma 4 stall fix omarchy-mlx 0.7.39: 36.6% faster decode at 16K context on the M2 Max, Gemma 4 stall fix Nov 10, 2026
@joshuaswarren

Copy link
Copy Markdown
Contributor Author

GREEN at 4e5397e

This is the review of the head of this PR, which adds two commits on 7f90c497. Only pkgbuilds/omarchy-mlx/PKGBUILD changed.

Reviewer model: opencode-go/glm-5.3-flash, as routed (the id cannot be verified from inside the session). Implementer model: not verified.

  1. pkgver 0.7.39 and pkgrel 1 are a fresh version. _wheel is mlx_omarchy-0.32.4.dev202611101037+bf49c489-cp314-cp314-linux_aarch64.whl, the exact asset on the v0.7.39 release. Its stamp carries the tag commit.
  2. The sha256sums match the bytes the reviewer downloaded. The tag tarball is 5d711d68, the wheel aefec76c and the vendor tar 309d0c26. The archive of Mesa ef4219af571c4d693c6af8fb0f5802752acccbd6 is bbd5500a. The Mesa source URL points at the head reviewed GREEN earlier the same day.
  3. Tag v0.7.39 resolves to bf49c489f49dea9ea61cc768a89e2b68b60325a5. That matches the bf49c489 stamp in _wheel.
  4. The build log ends with "Finished making: omarchy-mlx 0.7.39-1". Both packages are present. The reviewer's sha256 of the built packages matches the quoted values: omarchy-mlx is 515b3b3b and omarchy-mlx-vulkan is a27c48fb. The Mesa 616 of 616 link count and the check() line for pinned runtime assets are in the build log, which the reviewer did not rerun.

Reviewer verdict: ready to merge.

Author note: the merge waits for the v0.7.39 release to be public and for the gate results to be posted here.

…v alias

Mesa moves from ef4219af57 to 439dc032d7 (joshuaswarren/mesa-1 w7b/hk-lineage-hoist-bf16). That lineage adds the SPIR-V image availability fix on top of the G14X tracked CDM barrier, the bf16 cooperative matrices and the G13 compute load hoist. The archive hash is fc26edaef4b6025435416b9ac9d145869b967b5ce564d7a216ab3a79bd6a6ecf.

A Python 3.14 venv holds a symlink named U+1D70B plus "thon". pacman -U in a POSIX locale prints success and stops extracting at that name. On 0.7.39-1 it left 13216 of 13282 files missing and a 180 KB venv. build() now deletes any non-ASCII path from the stage and check() fails the build if one remains. With this change, pacman -U in the same locale installs all 13281 files and the venv is 783 MB.
@joshuaswarren

joshuaswarren commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor Author

Review of head 4493cfe122661a0e95d2ed40f2c88ab2692c961b: GREEN.

The reviewer is a different model from the one that made the change (opencode-go/glm-5.3-flash, as routed). Its checks:

  • The diff from 4e5397e5 is pkgbuilds/omarchy-mlx/PKGBUILD only. It sets pkgrel 2 and moves the Mesa pin from ef4219af57 to 439dc032d70ab9ec7e3b40afd4efd920f75c56f1. It adds the non-ASCII purge to build() and check().
  • It downloaded the Mesa archive and hashed it. The result is fc26edaef4b6025435416b9ac9d145869b967b5ce564d7a216ab3a79bd6a6ecf. The PKGBUILD has the same hash.
  • It staged a tree with one U+1D70B file and one plain file. LC_ALL=C find -name '*[! -~]*' lists only the U+1D70B file. So build() deletes it, and check() fails if one stays.
  • The install test log shows 13216 of 13282 files missing for 0.7.39-1. It shows 0 of 13281 missing for 0.7.39-2.
  • Both 0.7.39-2 packages hash to the values in the description.
  • libvulkan_asahi.so reports git-439dc032d7. The mesa-git-sha file holds 439dc032d7.

It read the logs and hashed the artifacts. It did not rerun makepkg or the install test.

@joshuaswarren

Copy link
Copy Markdown
Contributor Author

GREEN at 4493cfe - opencode-go/glm-5.3-flash as routed by Main (model id unverifiable); implementer model unverified. All four source sums verified against the published v0.7.39 assets (tag tarball, cp314 aarch64 wheel, vendor wheels tar, mesa-1 439dc032 archive) - each fetched and hashed independently, matching the release SHA256SUMS; wheel name embeds the published tag commit bf49c489.

@joshuaswarren

Copy link
Copy Markdown
Contributor Author

v0.7.39 is public: https://github.com/joshuaswarren/omarchy-mlx/releases/tag/v0.7.39 . Here are the release gates from docs/release.md. A dash means the gate did not run on that machine. Pass means exit code 0.

Gate Checks 13-inch M1 16-inch M1 Max Ran
g1 clean install pass pass before the 0.7.39-2 install
g2 online 9B - pass before
g3 online 4B card pass pass before
g4 offline - pass before
g5 Laya - pass before
g6 codec pass (again after the install) - before and after
g7a packaged ICD pass pass after
g7b system install pass pass after
g7c neural-engine worker verify pass - before
g7d fresh transcribe pass pass before
g8 Kokoro pass pass 13-inch before, 16-inch after
g9 speak queue pass - before
g10 Kokoro primer - pass after
g11 card 9B - pass after
g12 Kokoro stream - pass after
g13 GDN coopmat doctest (6 cases, 1394 assertions) - pass after
g14 routing - pass after
g15 trig doctest (7 cases with 128 assertions, 4 cases with 49) - pass after

The gates marked "after" ran on the installed 0.7.39-2 packages. On the 16-inch each shows the packaged libvulkan_asahi.so (d75f4cbcf1008fb5, git-439dc032d7) in the loaded-library map. g7a prints ICD_CONTRACT PASS with icd_source = packaged on both machines. The GPU timeout count did not change during any of the 16-inch gates after the install (3 before, 3 after).

g10 ran once after the install and logged no GPU timeout. Two earlier runs on the Mesa the lab ran before this release logged one each. One run does not show the timeout is gone. The release lists it under Known issues.

Earlier attempts of g7d, g13 and g15 failed in the run harness (a stale path, a missing build tree, a watchdog kill). None reached the package under test, and each gate in the table passed on a later run. The lab scheduler also re-ran g14 on the 16-inch once. That run stopped on an output path that already existed (exit code 2) before it loaded the driver. The first g14 run (exit code 0) is the result.

Wheel and vendored set rebuilt at v0.7.40 (7ec53476). The release carries the KV cache pre-size and the prefill chunk re-choice (omacom#390, omacom#392) and the assistant server stop fix (omacom#388). Honeykrisp stays at 439dc032d7. The driver file is byte-identical to the one in 0.7.39-2. The vendored set resolved annotated-doc 0.0.6 and markdown-it-py 4.3.0 at build time.
@joshuaswarren joshuaswarren changed the title omarchy-mlx 0.7.39: 36.6% faster decode at 16K context on the M2 Max, Gemma 4 stall fix omarchy-mlx 0.7.40: no prefill out-of-memory on the 13-inch M1, assistant stop fix Nov 10, 2026
@joshuaswarren

Copy link
Copy Markdown
Contributor Author

GREEN at 6ae1817 - opencode-go/glm-5.3-flash as routed by Main (model id unverifiable); implementer model unverified.

All three source hashes verified against the live artifacts just now: the tag tarball downloaded from the v0.7.40 tag URL hashes to 8da755708fce0b9a29fa04d570d90d6acb3964f94cfbff708625aeb495016192, and the wheel and vendor tar match the published release SHA256SUMS (5e7ab221771a006e677874c23a833ad5a8b3d7f1b839e0d56ccca6a1f2c6b82c and b909e477785fce58cbd91a731569ec3fa70656dc5d34d7c907128423ad9caaff). The wheel filename equals the live release asset exactly, the tag is 7ec53476b089df5dacc6e6b03198df1244b9d6f4, and the Mesa pin 439dc032 with hash fc26edae is unchanged. The diff touches only pkgbuilds/omarchy-mlx/PKGBUILD. The body's gate results and the Not checked list are consistent with the receipts I reviewed for PRs 390, 392 and the release notes draft.

@joshuaswarren

Copy link
Copy Markdown
Contributor Author

[Joshua's agent] @birkskyum @emirb This PR needs one step from a maintainer: the build-approved label.

The author is not listed in .github/VOUCHED.td, so the package build and approve are skipped until the label is on. The PR changes only pkgbuilds/omarchy-mlx/PKGBUILD and pkgbuilds/omarchy-mlx/omarchy-mlx.install. After the label, auto-merge turns on and the PR merges when result, self-tests and build-isolation pass. You applied the label on #2166, #2283, #2064 and #2027 in the last 8 days. Could one of you apply it here?

State at head 6ae18178:

  • omarchy-mlx 0.7.40-1. Release v0.7.40 has been public since 19:54Z. It fixes the prefill out-of-memory on the 13-inch M1.
  • check, self-tests, recipes, build-isolation, changes and Greptile Review pass. The package build and approve are skipped.
  • master has had no commit under pkgbuilds/omarchy-mlx since Oct 29, and the merge base is Nov 7. GitHub reports the PR as mergeable. No rebase is needed.
  • A review of this exact head is posted above (19:58Z).

@birkskyum
birkskyum requested a review from maralcbr November 10, 2026 20:15
@joshuaswarren

Copy link
Copy Markdown
Contributor Author

[Joshua's agent] Status at 2026-11-12 08:13Z: head 6ae1817 has passing checks. The build job is skipped until a maintainer adds the build-approved label. Can a maintainer add it? Unvoiced; checked by hand.

@emirb emirb added the build-approved Maintainer approved this PR to build on the self-hosted pool label Nov 12, 2026
@ryanrhughes
ryanrhughes enabled auto-merge (squash) November 12, 2026 09:17
@ryanrhughes
ryanrhughes merged commit cad6773 into omacom:master Nov 12, 2026
15 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Publish succeeded → live

Packages: omarchy-mlx (aarch64, PR artifact)

  • edge/aarch64: omarchy-mlx-0.7.40-1-aarch64, omarchy-mlx-vulkan-0.7.40-1-aarch64

Commit cad6773 · run

@joshuaswarren

Copy link
Copy Markdown
Contributor Author

[Joshua's agent] Request for the maintainers: please promote omarchy-mlx from edge to rc and stable.

State today: edge serves omarchy-mlx 0.7.40-3 (this PR, then the two dependency rebuilds). rc and stable still serve 0.7.28-5. The automatic sync stays held (#1055), so nothing moves those channels unless someone promotes the package.

What 0.7.28 lacks, with the evidence:

  • It cannot use the GPU of an M5 Max. The M5 reports Vulkan driver id 35 (the Aurora driver). The v0.7.28 source accepts driver id 26 only (kMesaHoneykrispDriverId is the sole id in device.h at that tag); id 35 was added in v0.7.39 (kAuroraBorealisDriverId). On 0.7.28 an M5 user gets no GPU backend and, in a release build, a refusal to fall back to the CPU. 0.7.40-3 ran on the M5 Max GPU in the lab with the system driver and no override.
  • Prefill runs out of GPU memory on the 16 GB 13-inch M1 (fixed in 0.7.40, receipts/2026-11-10-v0.7.40-release in the omarchy-mlx repo): Qwen3 4B 4-bit, 8192-token prompt, default chunk: 1 of 4 tries completed before, 6 of 6 after; 16384 tokens: out of memory in 2 of 2 before, 2 of 2 completed after.

Until then, M5 users should use edge. I am adding that line to the omarchy-mlx README. Nothing else is needed from the maintainers for this ask; if promotion needs a PR or a label from our side, say which and I will send it.

joshuaswarren added a commit to joshuaswarren/omarchy-mlx that referenced this pull request Nov 15, 2026
….7.28 (#461)

[Joshua's agent] One paragraph in the README: M5 users use the edge
channel until rc and stable move past 0.7.28.

Why: rc and stable serve omarchy-mlx 0.7.28-5, which accepts only the
stock Honeykrisp driver id (26); the M5 reports the Aurora driver id
(35), accepted since v0.7.39. Edge serves 0.7.40-3, which ran on an M5
Max GPU in a lab run with the system driver and no override.

No table row: the repo has no M5 receipt yet. Docs only. Promotion of
the package to rc and stable is requested on omacom/omarchy-pkgs#839.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-approved Maintainer approved this PR to build on the self-hosted pool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

omarchy-mlx: makepkg strips the sealed libane-strict.so, so mlx-omarchy-parakeet refuses to load it (needs !strip)

3 participants