-
Notifications
You must be signed in to change notification settings - Fork 561
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
mlx
library integration (via mlx-lm
)
#918
Comments
There is a separate library that integrates outlines with mlx. I thought I would post it here in case it is useful: https://github.com/sacha-ichbiah/outlines-mlx I have also pinged the author. |
In the meantime, note that it's possible to use MLX via the OpenAI API. Of course, then, one is limited to generators This is what I did to get it working:
|
You will be able to use every generator once #926 is merged |
An additional library integration for mlx.
Context
mlx
is an ML framework that support high-performance inference on apple silicon (amongst other things). It has now has a rich ecosystem and vibrant community of users.Request
The
mlx-lm
python library provides some simple utilities for text generation and it would be great if there were an integration with outlines.Extra detail
mlx-lm
supports alogit_bias
param in its top level generate functionRelated to #806
The text was updated successfully, but these errors were encountered: