-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lmstudio deeplink for MLX models #963
Conversation
Co-authored-by: Julien Chaumond <julien@huggingface.co>
There was a problem hiding this 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 😄
@@ -82,6 +82,10 @@ function isLlamaCppGgufModel(model: ModelData) { | |||
return !!model.gguf?.context_length; | |||
} | |||
|
|||
function isMlxModel(model: ModelData) { | |||
return model.tags.includes("mlx"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return model.tags.includes("mlx"); | |
return model.library_name === "mlx"; |
or maybe like this @Vaibhavs10 if we want to be pedantic about it
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 👍
CI failure is unrelated |
There was a problem hiding this 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! 🔥
(Not yet tested)
LM Studio 0.3.4 and newer supports MLX - reference