Refresh owned MLX dependency chain - #297
Merged
Merged
Conversation
This was referenced Aug 14, 2026
…sh-20260814 # Conflicts: # CHANGELOG.md
a-github-name
marked this pull request as ready for review
August 14, 2026 13:52
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.
Summary
3e6df6d8163a8f212061d15739eeeec12d5b89e3and embedded MLX tob57bd7640f3f7c743b76a58478faaf1e8ee084f2Provenance
3e6df6d8163a8f212061d15739eeeec12d5b89e3b57bd7640f3f7c743b76a58478faaf1e8ee084f2fb0c62d372d6aaa75edfbcb950d9dd797fce944a7df7bcde24dce2a672024be58dcf3b0ef8de0f9ae00fe11c92e7ba6b7a2f345fe7501bff7970b9efd2d7c1a3Validation
scripts/check.sh: full lint/build/test/help/hygiene/provenance gate passes (2,833 XCTest cases, 206 skipped, 0 failures; 30 Swift Testing tests also pass)MERERUN_RUN_E2E=core scripts/check.sh: 10 pass, 0 fail, 1 missing-model skipMERERUN_RUN_E2E=installed scripts/check.sh: 14 pass, 0 fail, 4 missing-model skipsLinux CUDA / SBSA
Validated the exact PR checkout and dependency pins on Ubuntu 24.04 arm64 with an NVIDIA GB10 (compute capability 12.1), driver 580.159.03, CUDA 13.3, Swift 6.0.3, cuDNN, NCCL, and OpenBLAS:
scripts/prepare-linux-native.shbuilt llama CUDA for121a-real, resolved mlx-swift3e6df6d.../ MLXb57bd764..., and built all 246 MLX/Swift bridge targets.example1 --device gpuexecuted successfully and reportedUsing device: Device(gpu, 0).mere.runCUDA package built successfully./usr/local/cuda-13.3/lib64and/usr/local/cuda-13.3/targets/sbsa-linux/lib.1762c55dfixes build-time and packaged-runtime discovery, adds fixture and Swift contract coverage, and passesscripts/test-package-linux.shon the GB10 host.LD_LIBRARY_PATH,CUDA_HOME, andCUDA_PATHunset; ELF RUNPATH andlddresolve CUDA, cuDNN, NCCL, NVRTC, cuFFT, and OpenBLAS, and amere.run text chatlaunch reports[runtime] text backend: native MLX (default device: gpu)before reaching the intentionally absent test model.GitHub Actions covers Linux CPU; the actual GPU bridge, linker, package, launcher, and backend selection were exercised manually because the fork has no configured GPU runner.
Dependencies
Dependency performance A/B
Measured on an Apple M4 Max / 128 GB / macOS 26.5.2 with release binaries built from identical mere.run sources. Baseline pins the production
mlx.fast-derived mlx-swift revision22c76cc40edbae2c2af72532678d8e5c06cbfa46; candidate pins3e6df6d8163a8f212061d15739eeeec12d5b89e3. No thermal or performance warning was recorded.107.76 -> 107.75 tok/s(-0.005%); median prefill0.750 -> 0.750 s; median TTFT1.162 -> 1.165 s(+0.26%); median first-token latency0.013 -> 0.013 s; median E2E54.60 -> 54.54 tok/s(-0.11%). The 720-byte generated response is byte-identical (e72a7103735f7ee2fe069b188a8fc36da0493821516c10587716dea00d1874ce).17.45 -> 17.51 s(+0.34%); median native generation17.183 -> 17.279 s(+0.56%); steady transformer evaluation0.828 -> 0.827 s; median transformer preparation10.698 -> 10.777 s(+0.74%). Active/peak Metal memory is unchanged at37.41/38.97 GiB. Both artifacts are valid H.264/AAC; cross-pin video PSNR is55.81 dB, SSIM0.99837, and audio PSNR is163.5 dB.CFFIXED_USER_HOMEruns per pin): median decode110.12 -> 110.09 tok/s(-0.02%); prefill0.695 -> 0.700 s(+0.72%); TTFT1.083 -> 1.091 s(+0.78%); total2.24 -> 2.25 s(+0.45%). The earlier single candidate PSO-cache outlier did not reproduce.The refreshed core still contains the H3 M4 GEMM selector, Laguna causal Steel bound, and NAX A-tile hoist/load-rows optimization; regenerated Swift sources and the AOT metallib contain the matching runtime code.