Skip to content

Preserve Swift Cmlx bootstrap exports and captured dependency pins - #33

Draft
Gajesh2007 wants to merge 1 commit into
mainfrom
codex/import-cluster-bootstrap-20260928
Draft

Gajesh2007 wants to merge 1 commit into
mainfrom
codex/import-cluster-bootstrap-20260928

Conversation

@Gajesh2007

Copy link
Copy Markdown
Member

Expose the captured JACCL bootstrap declarations in both generated Cmlx header surfaces and pin the imported native MLX and MLX-C commits. The two header additions are copied from the remote workspace; only submodule pointers were added to make its formerly dirty nested sources reproducible.

Base: 6d6796d7a81b656d2749d39067e0a6bea2bc2986. This draft intentionally retains that historical base. It requires the companion MLX and MLX-C preservation PRs; resolving current-main integration and any functional defects is deferred.

Validation: the companion d-inference BootstrapChecks/run.sh passed against these declarations and the exact captured MLX-C implementation. It includes compiled C/Swift ABI checks with native stand-ins. Privacy review found no credentials in these files.

Before

flowchart LR
  A["Swift cluster runtime imports Cmlx"]:::entry --> B["Existing exported headers"]:::code
  B --> C["Bootstrap bridge unavailable; native edits uncommitted"]:::result
  classDef entry fill:#dbeafe,stroke:#1d4ed8,color:#172554
  classDef code fill:#ede9fe,stroke:#6d28d9,color:#2e1065
  classDef result fill:#dcfce7,stroke:#15803d,color:#052e16
Loading

After

flowchart LR
  A["Swift cluster runtime imports Cmlx"]:::entry --> B["Both distributed_group header surfaces"]:::code
  B --> C["Owned bootstrap C ABI with pinned native commits"]:::code
  C --> D["Captured workspace can resolve its native sources"]:::result
  classDef entry fill:#dbeafe,stroke:#1d4ed8,color:#172554
  classDef code fill:#ede9fe,stroke:#6d28d9,color:#2e1065
  classDef result fill:#dcfce7,stroke:#15803d,color:#052e16
Loading

jonathan308 added a commit that referenced this pull request Oct 27, 2026
Source/Cmlx/mlx 187b6c67 -> 283017ce (core #33 with main 6bc9de5b merged: the fix behind provider 0.10.3). No generated source changes (jit_kernels.cpp only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant