Skip to content
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

Exllamav2 integration #1009

Open
isamu-isozaki opened this issue Jun 29, 2024 · 0 comments · May be fixed by #1010
Open

Exllamav2 integration #1009

isamu-isozaki opened this issue Jun 29, 2024 · 0 comments · May be fixed by #1010

Comments

@isamu-isozaki
Copy link
Contributor

Presentation of the new feature

Currently, for exllamav2, we have an outlines model that handles it. However, in the recent update to exllamav2, a dynamic generator was added which is not compatible with current outline's generate method as it does paged attention/radix cache etc. However, exllamav2 has a way to do constrained generation with this which is called filters. A demonstration of this with lm format enforcer is here. The idea of this feature is to do the same thing by moving outlines logic to filters like in the integration scripts for other codebases.

Where does it fit in Outlines?

For the current lm format enforcer+exllamav2, the constrained generation is not reliable/a bit buggy and I noticed using outlines does solve this issue.

Are you willing to open a PR?

I already made one.

Thanks for contributing!

@isamu-isozaki isamu-isozaki linked a pull request Jun 29, 2024 that will close this issue
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 a pull request may close this issue.

1 participant