Repository navigation
Single-Mac allocation-cap C API and core pin without JACCL - #16
Merged
Merged
Conversation
(cherry picked from commit c4154af)
Pins Layr-Labs/mlx work/glm53-flash-release, the core that one-Mac GLM-5.3-Flash serving needs without the two-Mac code: quantized tile bounds and distinct loader symbols, the optional process-allocation cap, page-backed footprints and the 512-/1024-thread compiler-capacity retry. The JACCL bootstrap bridge, sealed all-sum and collective startup waits stay on darkbloom/sealed-all-sum. fork.yaml describes the allocation-cap interface added by the previous commit.
This was referenced Oct 21, 2026
Merged
Merged
Pins Layr-Labs/mlx work/glm53-flash-release at 4a355746, which reverts the one-page minimum on Metal footprint quotations. Footprint charges for sub-page buffers return to the production values.
Pins Layr-Labs/mlx work/glm53-flash-release at 6ee3062c. Only fork.yaml changed since 4a355746.
Brings in #13 (explicit math modes for custom Metal kernels) and pins Layr-Labs/mlx work/glm53-flash-release at ad596687, which contains main's core pin 76a96e29 and mlx#36.
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.
Update 2026-10-21: merged main
The head is now
fa6565d4:mainmerged in (#13, explicit math modes for custom Metal kernels). It pins coread596687(mlx#37), which containsmain's core pin76a96e29.scripts/check_forkdiff.pypasses.Update: production footprint charges restored
The head is now
bd03297a. It pins Layr-Labs/mlxwork/glm53-flash-releaseat6ee3062c(mlx#37), which reverts the one-page minimum on Metal footprint quotations, so footprint charges match the current provider release. Only theGIT_TAGinCMakeLists.txtchanged; the C API is unchanged. See mlx#37 and d-inference #1516.Summary
The single-Mac C layer for GLM-5.3-Flash, with no cluster code:
f3b8ebc4c4154af, unchanged)2f1bcab9work/glm53-flash-release(2bba342d), and describe the cap API infork.yamlUntil now, the single-Mac release (d-inference #1516, mlx-swift-lm #314) pinned mlx-c
46bce47ethrough mlx-swift. That commit lives only on the cluster stack (#14 → #15), together with the JACCL bootstrap bridge, the sealed all-sum C API and the collective startup waits. Those three stay there; this branch carries only the allocation-cap interface that mlx-swift'sMemory+AllocationCapbinds.Evidence
scripts/check_forkdiff.py --upstream-ref upstream/mainpasses, with 18 changed files and all 18 described.mlx/c/memory.h,mlx/c/memory_cap.cppand example sources are byte-identical to46bce47e.git diff 46bce47e 2f1bcab9 -- mlx/c/memory.h mlx/c/memory_cap.cpp examples/cap-testsis empty.-c release, Xcode 27.1 / Swift 6.4) builds and links on the full single-Mac chain (mlx2bba342d, mlx-c2f1bcab9, mlx-swiftcf921c05, SDK3ab6dd68).darkbloomsha256 ise863e668…. No model was loaded with this build; end-to-end single-Mac qualification is the next gate.Merge danger
Door: two-way. This is a cherry-pick plus a pin, with no new source.
Blast radius: two new C entry points. They do nothing unless a caller installs the cap.
🤖 Generated with Claude Code