mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8139] [MERGED] build: qualify updated MLX runtime on Apple Silicon #8124
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8124
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8139
Author: @SpicyMarinara
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/mlx-apple-runtime-qualification📝 Commits (5)
bed60fcbuild: qualify updated Apple MLX runtime candidate7092d7dfix(sidecar): disable thinking in MLX runtime test09704d3fix(sidecar): safely refresh managed MLX environments89a534eMerge remote-tracking branch 'origin/staging' into codex/mlx-apple-runtime-qualification2550a30fix: make MLX lock provenance reproducible📊 Changes
8 files changed (+399 additions, -115 deletions)
View changed files
📝
packages/server/src/assets/mlx-runtime-requirements.in(+3 -2)📝
packages/server/src/assets/mlx-runtime-requirements.lock(+132 -89)📝
packages/server/src/services/sidecar/mlx-runtime.service.ts(+10 -7)📝
packages/server/src/services/sidecar/runtime-integrity-manifest.ts(+11 -7)📝
packages/server/src/services/sidecar/sidecar-inference.service.ts(+1 -1)➕
scripts/regressions/mlx-runtime-upgrade.regression.ts(+142 -0)📝
scripts/regressions/runtime-integrity.regression.ts(+20 -9)📝
scripts/regressions/utility-sidecar.regression.ts(+80 -0)📄 Description
Linked issue
Related to #8079. This is the Apple MLX portion; the issue remains open for the other native runtime qualifications. Owner: @SpicyMarinara.
Why this change
Existing MLX environments could not refresh after a bundle change: uv refused to create a virtual environment at the existing path. The local test could also report an empty response because Gemma spent its fixed 48 tokens on hidden reasoning. Both failures were reproduced before the fixes. Native M4 qualification now also supports updating the Apple runtime bundle.
What changed
93e6d4a6447b3080861985947f0820e76fcb957d; only generated version/packaging metadata is additional.Validation
pnpm checkpasses locallyCONTRIBUTING.mdFinal head
2550a3027f4fde2f5cf1beb55d5c8a4d02b59264is integrated with staging5d64e0f993250189acacfbaf1e270efd57bb40e5. The full native comparison was completed on89a534e75b93336ccf3f614ee58b488e0d59aa9c; the final lock-comment repair was separately reinstalled and compiled-product tested:pnpm checkpassed. The existing HomeProfessorMari hook warning remains; no errors.89a534e7. The subsequent three-file lock-comment/hash/regression repair received a separate completed review with 0 findings. Independent source review of the installer also found no actionable issue; that peer review did not run physical tests.238767527555cb75a05732a84dff5d6ba0dd6809. Weight size 3,550,670,554 bytes, SHA-256038e39a37a7667373d2c3991375446b10c96ae1d717a68674870343db376b76e.downloadModelpassed against the existing approved cache under Hub 2.2 offline; a separate anonymous real TLS request fetched only the fixed-revision 6,395-byte config with its expected hash through the new httpx2/truststore transport.The final candidate lock is SHA-256
6bbbfd48fc62edae1132d2e9b5089fe724ff9ab415f575f1de1f9caa12a4071d; actual final install stamps and compiled probes use it. This removes absolute qualification paths using--no-annotate. Two fresh directories seeded from the previous approved lock and the qualified candidate lock generated byte-identical output: all 37 dependency pins and 560 artifact hashes remain unchanged from the8e4e7f…50049lock used by the old/new/rollback comparison. The new path regression failed on the original artifact; it andpnpm checkpassed after the repair. The sdist is 449,827 bytes, SHA-2561af8a92f6a141c3e2bf5b0369ac4464203a8e2189c47b9e40d3e921e5b3a1fe9.Proof limits: old-runtime rollback above uses this fixed Engine installer and smoke request; it is not an application downgrade to an unmodified older Engine release, which may still hit uv's existing-venv refusal. Historical 1024-token and separate-environment replays are excluded from final qualification. Only the listed model on M4/macOS 27 was physically exercised; older macOS, other Apple hardware/models, Linux/NVIDIA, native Windows and physical Android remain outside this proof. Advertised wheel/platform floors were not removed.
Manual verification notes
Manually verify Send Test Message in the Local Model settings on Apple Silicon after updating. Browser interaction and other physical devices were not manually exercised here. Hosted CI and Dottore remain merge gates.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedReviewed README, Android README, CONTRIBUTING, Configuration, Troubleshooting, FAQ and Local Model Setup together. Existing setup, integrity and test-button instructions remain accurate; no new user-facing text or app version/changelog change is included.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.