Skip to content

Conversation

@yagil
Copy link
Contributor

@yagil yagil commented Oct 9, 2024

(Not yet tested)

LM Studio 0.3.4 and newer supports MLX - reference

Co-authored-by: Julien Chaumond <julien@huggingface.co>
Copy link
Contributor

@Vaibhavs10 Vaibhavs10 left a comment

Choose a reason for hiding this comment

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

Niceee! Looking forward to testing this 😄

}

function isMlxModel(model: ModelData) {
return model.tags.includes("mlx");
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
return model.tags.includes("mlx");
return model.library_name === "mlx";

or maybe like this @Vaibhavs10 if we want to be pedantic about it

Copy link
Member

Choose a reason for hiding this comment

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

actually nvm because https://huggingface.co/mlx-community/Llama-3.2-3B-Instruct-4bit for instance is not library=mlx

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes! Just mlx tag would be more reliable 👍

@julien-c
Copy link
Member

CI failure is unrelated

Copy link
Contributor

@Vaibhavs10 Vaibhavs10 left a comment

Choose a reason for hiding this comment

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

Just tested with this: lmstudio://open_from_hf?model=mlx-community/Llama-3.2-1B-Instruct-4bit

Works perfectly! 🔥

@julien-c julien-c merged commit 6f22376 into huggingface:main Oct 10, 2024
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.

3 participants