Skip to content

Do not load the default lib if another is requested - #2055

Merged
angeloskath merged 2 commits into
mainfrom
register_library
Apr 9, 2025
Merged

angeloskath merged 2 commits into
mainfrom
register_library

Conversation

@angeloskath

Copy link
Copy Markdown
Member

Before:
Calling register_library("foo") succeeds and registers the default metal library under the key foo.

Now:
It will fail to load the library and will report an error with the attempted collocated path.

@angeloskath
angeloskath requested a review from awni April 8, 2025 22:24

@awni awni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Awesome thanks!!

@angeloskath
angeloskath merged commit 9ecefd5 into main Apr 9, 2025
@angeloskath
angeloskath deleted the register_library branch April 9, 2025 20:31
faisalmemon pushed a commit to faisalmemon/mlx that referenced this pull request Oct 30, 2025
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