mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8079] deps: qualify updated native AI runtime bundles and hash locks #7551
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#7551
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?
Originally created by @SpicyMarinara on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8079
Originally assigned to: @SpicyMarinara on GitHub.
Problem
The dependency audit for #8074 found newer MLX, Open-Jev loader and llama.cpp components. These are separately approved native runtime bundles, with pinned source archives, dependency hashes and measured platform behavior. Ordinary Node/browser/container checks do not establish their model inference or hardware compatibility.
Owner: @SpicyMarinara.
Verified candidates and constraints
These are candidate updates, not a claim that they are all incompatible. Audit metadata was verified on 2026-10-22 and should be refreshed before implementation. The initial audit found 22 newer packages among 35 MLX pins and 32 among 56 decision pins. #8074 subsequently upgrades 12 MLX utility packages while preserving the other 23 versions and complete hash sets; refresh the remaining candidate inventory before implementation.
The uv installer utility update to 0.13.5 is included in #8074: both approved archive sizes/hashes and fresh managed-Python installs were verified on native Apple ARM64 and Linux x64 under Docker emulation. It is not part of this held core update.
Qualification work
pnpm check; update changed support documentation and its translation follow-up. Keep validation checkboxes unchecked until a human verifies them.@SpicyMarinara commented on GitHub (Oct 22, 2026):
Refreshed the candidate metadata during the assigned-issue cleanup: PyPI still reports MLX/MLX-Metal 0.32.4, mlx-lm 0.32.2, Transformers 5.20.2, Torch 2.14.1, PEFT 0.21.2 and Accelerate 1.15.0. The Engine retains its explicitly approved 0.31.2 MLX pair and 2.14.0 Torch environment, the immutable mlx-lm/Open-Jev source revisions, and llama.cpp b10188 artifacts. The compatible utility-only updates from #8074 remain in place.
The current runtime-integrity regression passes. This verifies the retained integrity policy, not inference compatibility of any candidate. No core pins, hashes, CUDA admission checks or model calibration claims were relaxed.
Keeping this qualification issue open. The available Mac cannot establish Linux/NVIDIA, Windows GPU or physical Android behavior, and there is still no fixed-model old/new inference, streaming/cancellation/restart, cache and rollback evidence sufficient to replace the approved bundles. A passing Node/browser/container check would not supply that evidence. Unqualified variants must retain their approved artifacts until those platform/model runs are recorded.
@SpicyMarinara commented on GitHub (Oct 23, 2026):
Refreshed the qualification feasibility and primary metadata on 2026-10-23. No runtime/model downloads, active-runtime changes, global configuration changes, or pin changes were made.
The available host is Apple M4 / ARM64 with 24 GiB RAM. Available disk space measured 2,507,247,616 bytes (2.34 GiB). The smallest approved MLX catalog model is Gemma 4 E2B 4-bit (catalog estimate 3.61 GB): fixed snapshot
238767527555cb75a05732a84dff5d6ba0dd6809currently contains 3,583,088,661 bytes, including a 3,550,670,554-bytemodel.safetensorswhose Hub metadata declares SHA-256038e39a37a7667373d2c3991375446b10c96ae1d717a68674870343db376b76e(not independently downloaded or hashed here). The model alone exceeds available space, before two managed environments, caches, interrupted-install controls and rollback copies. No existing managed MLX environment or model baseline was found in the checked Engine default data root and standard Hugging Face cache roots. A full old/new qualification cannot safely start under those conditions; a smaller unapproved model would not establish compatibility of the approved model.Primary package metadata still reports MLX/Metal 0.32.4, mlx-lm 0.32.2, Transformers 5.20.2, Torch 2.14.1, PEFT 0.21.2 and Accelerate 1.15.0. There is an important distinction between the retained and candidate dependency windows:
huggingface-hub >=1.5,<2andtokenizers >=0.22,<=0.23.0.huggingface-hub >=1.31,<3andtokenizers >=0.23.1,<0.24. These are candidate-core changes, not compatible utility-only replacements under the retained lock.llama.cpp v0.7.0 still points to b11669; the stable tag carries a small nightly-tag metadata asset, not platform binaries. That snapshot includes Windows CUDA 13.4 binaries and matching cudart bundles. Engine remains on b10188.
The checked lock SHA-256 values still match their approved manifest entries. That verifies retained integrity metadata, not candidate inference. Remaining evidence is unchanged: fixed-model Metal completion/streaming/cancellation/restart/memory measurements; clean/cached install and interrupted-upgrade/retry/rollback proof; real Linux NVIDIA probability/calibration/batching/VRAM proof; and native Windows/Android/backend qualification. This Mac cannot supply the latter hardware coverage. Keeping #8079 open and every unqualified variant at its approved artifacts.
@SpicyMarinara commented on GitHub (Oct 23, 2026):
Reopening the Apple-only qualification experiment after cleanup of completed, agent-owned worktrees increased available disk from 2.34 GiB to 9.6 GiB. Owner remains @SpicyMarinara; the experiment runs in disposable task-owned storage on the actual Apple M4 / 24 GiB host, with a 2 GiB free-space reserve and a 6 GiB task budget. No active app runtime, global configuration, approved pins or manifest hashes are changing.
The exact approved managed installer has now completed its hash-required clean install and reports mlx-lm 0.31.3 at source
e5baded8c1d286754edb479ffbde4655a68e2758. This is installation evidence only. The candidate source is mlx-lm 0.32.2 (93e6d4a6447b3080861985947f0820e76fcb957d), with MLX/Metal 0.32.4 and Transformers 5.20.2 in a separate exact hash lock. The anonymous download is restricted to the already approved Gemma 4 E2B 4-bit snapshot238767527555cb75a05732a84dff5d6ba0dd6809; model bytes and hashes will be verified independently.Next are sequential old/new real Metal and Engine completion/streaming, cancellation/recovery, process restart, cache, memory and rollback probes. None of those inference claims has passed yet. NVIDIA/Linux, native Windows and physical Android qualification remain unavailable and their approved artifacts must be retained. #8079 stays open.
@SpicyMarinara commented on GitHub (Oct 23, 2026):
Partial resolution landed in #8139, merged into
stagingas3d69abcd31e8811c558d4df5a8d088ef76ca384eafter all 8 required checks, 10 platform jobs, Node regressions and the final-head Dottore review passed. This supersedes the earlier Apple-only installation and disk-space limitations recorded above.The managed Apple Silicon bundle now approves MLX/Metal 0.32.4, mlx-lm 0.32.2 at source
93e6d4a6447b3080861985947f0820e76fcb957d, and Transformers 5.20.2, with 37 exact dependency pins and 560 artifact hashes. The final lock SHA-256 is6bbbfd48fc62edae1132d2e9b5089fe724ff9ab415f575f1de1f9caa12a4071d. Its compatible Hub 2.2.0 dependency window was qualified with actual fixed-revision metadata/download and cached Engine model-download operations; the older Transformers<2constraint in the initial audit does not apply to this new bundle.On the actual M4 / 24 GiB host, both approved old and candidate environments were exercised against the same approved Gemma 4 E2B 4-bit snapshot
238767527555cb75a05732a84dff5d6ba0dd6809. All model bytes were independently hashed. Real Metal inference, Engine completion/streaming, cancellation/recovery, process restart, cache reuse and memory measurements passed. Candidate-to-old-to-candidate transitions also passed in the same task-owned data directory, preserving the model cache. The final exact lock was installed and exercised through the compiled Engine lifecycle.Two product defects found by these probes are fixed: the default 48-token MLX smoke request now disables hidden reasoning, and in-place managed upgrades reuse the environment while invalidating the approval stamp before mutation. Corrupt/truncated sources and tampered locks fail before execution; interrupted or failed upgrades remain unstamped and can be retried. The rollback proof uses the repaired current Engine installer with the previous approved runtime bundle; it is not proof of downgrading the whole application to an older Engine that lacks these installer repairs. Two independent lock regenerations were byte-identical, and the final portability repair changed no dependency pin or artifact hash.
Keeping #8079 open. Decision/Open-Jev/CUDA qualification and the remaining llama.cpp backends are unchanged. No accessible self-hosted GPU or physical-device runner was found in either repository; organization-wide runner inventories require permissions this session does not have. Ordinary hosted OS/build jobs do not establish those inference/calibration claims. A Mac-only llama.cpp update also needs variant-aware release identity before different builds can be represented honestly by the current global release tag. Unqualified variants retain their approved artifacts. This M4/model result does not establish other models, older macOS releases, native Windows/Android or NVIDIA behavior.
Post-merge CodeQL, regression and container publication runs have started and are still pending at the time of this comment. No validation checklist items were checked automatically.
@SpicyMarinara commented on GitHub (Oct 23, 2026):
Post-merge verification is complete for #8139 at
3d69abcd31e8811c558d4df5a8d088ef76ca384e: Regression Checks, container publication, and CodeQL all succeeded.The published
ghcr.io/pasta-devs/marinara-engine:stagingmanifest digest issha256:a97cdaf4d7ce7c026edd15b824a92fc35fa8d62923c3a2c91259710f6647f2ad; both its AMD64 and ARM64 image configurations identify that exact merge commit. This completes publication of the qualified Apple portion. The remaining work and proof limits in the previous comment still apply, so #8079 stays open.