-
Notifications
You must be signed in to change notification settings - Fork 227
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
add mlx-image #539
add mlx-image #539
Conversation
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.
minor nit :)
@@ -532,6 +532,13 @@ export HF_HUB_ENABLE_HF_TRANS: string[]FER=1 | |||
huggingface-cli download --local-dir ${nameWithoutNamespace(model.id)} ${model.id}`, | |||
]; | |||
|
|||
export const mlxim = (model: ModelData): string[] => [ | |||
`pip install mlx-image |
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.
No need for installation part :)
@@ -192,6 +192,15 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { | |||
snippets: snippets.mlx, | |||
filter: true, | |||
}, | |||
"mlxim": { |
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.
"mlxim": { | |
mlxim: { |
Linter will complain otherwise :)
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.
LGTM. Not to be merged before https://github.com/huggingface/hub-docs/pull/1237/files
No description provided.