Implement the shared Mojo foundation and a quantized Metal vertical slice #86
Reference in New Issue
Block a user
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?
Goal
Build the smallest production-shaped Mojo foundation and prove the hardest representative quantized routed-MoE path on Apple Metal before translating the complete engine.
Blocked by #84 and #85. CUDA is deferred and must not block this Metal gate.
Architecture
Keep the dependency direction:
api -> models -> ops -> runtime and targets -> Mojo or approved dependencies
Implement the Apple policy and only the shared seams demonstrably needed for a future target. Do not implement NVIDIA policies, CUDA build support, or CUDA kernels in this issue.
Scope
Gates
If parity cannot be reached after profiling, fusion, and justified Apple policies, stop the broad port and update the remaining issues rather than translating easier kernels first.
Upstream candidates to reassess
Binding outcome from #84 (2026-08-31)
#84 stopped product integration on Mojo 1.0.0 because the open compiler/standard-library environment has no host-side Metal
DeviceContext. The workingmax.gpu.hostpath requires MAX plus AsyncRT/KGEN dylibs whose component-specific redistribution permission could not be established.mojo build --emit shared-libalso links@rpath/libKGENCompilerRTShared.dylibfor a trivial export.Do not create the shared Mojo GPU foundation or quantized vertical slice while the host/runtime closure is blocked. Re-run #84 first; the first slice must include an approved package closure and clean-machine app proof.
These constraints are acceptance criteria:
uv.lock; do not use nightly or an older release;max,max-core,max-mojo-libs, AsyncRT, or KGEN to the product/build/package closure without an authoritative redistribution grant naming every shipped component;docs/MOJO_SPIKE_84.md;If the runtime grant or open host API changes, update #84 evidence first so this milestone has one source of truth.
Implement the shared Mojo foundation and a quantized routed-MoE vertical sliceto Implement the shared Mojo foundation and a quantized Metal vertical sliceBased on findings in #84, all work on MOJO migration is stopped. Licene-hell.
Project decision: the Mojo backend effort is canceled. All committed spike tooling, dependencies, lockfiles, and documentation were removed in
9a33c61; generated probe state was deleted as well. The independent Apple-silicon/macOS-15 product floor remains. This issue is no longer actionable.