Skip to content

Conversation

@davidkoski
Copy link
Contributor

Proposed changes

Support for ml-explore/mlx-swift#289 -- this will also allow SWIFTPM_BUNDLE to name a framework identifier.

Checklist

Put an x in the boxes that apply.

  • I have read the CONTRIBUTING document
  • I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the necessary documentation (if needed)

return nullptr;
}

MTL::Library* try_load_framework(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logic in try_load_bundle isn't appropriate for a framework -- they have a different layout.

davidkoski added a commit to ml-explore/mlx-swift that referenced this pull request Oct 24, 2025
davidkoski added a commit to ml-explore/mlx-swift that referenced this pull request Oct 24, 2025
davidkoski added a commit to ml-explore/mlx-swift that referenced this pull request Oct 24, 2025
davidkoski added a commit to ml-explore/mlx-swift that referenced this pull request Oct 24, 2025
tests passing with ml-explore/mlx#2702 locally applied

expose C++ API
Copy link
Member

@awni awni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@awni awni merged commit 895217f into ml-explore:main Oct 27, 2025
7 checks passed
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.

2 participants