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

Make transformers dependency explicit #240

Merged
merged 3 commits into from
Aug 16, 2023

Conversation

rlouf
Copy link
Member

@rlouf rlouf commented Aug 16, 2023

Made the transformers requirement more explicit, by stating it in the README and raising an informative exception when trying to instantiate a model when the library is not installed.Closes #222.

I also updated pyproject.toml to match the required Python version. Closes #234, #219.

I also fixed an example in the README that was unclear. Closes #218

@rlouf rlouf linked an issue Aug 16, 2023 that may be closed by this pull request
@rlouf rlouf mentioned this pull request Aug 16, 2023
@rlouf rlouf merged commit 4c2eb4e into outlines-dev:main Aug 16, 2023
4 checks passed
@rlouf rlouf deleted the transformers-dependency branch August 16, 2023 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant