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

Do not hard pin the transformers dependency version #22

Closed
lmmx opened this issue Feb 17, 2024 · 1 comment · Fixed by #23
Closed

Do not hard pin the transformers dependency version #22

lmmx opened this issue Feb 17, 2024 · 1 comment · Fixed by #23

Comments

@lmmx
Copy link
Contributor

lmmx commented Feb 17, 2024

Hard pinning the transformers version is causing a dependency conflict in pip

transformers==4.37.0

Successfully built transformers
Installing collected packages: transformers
  Attempting uninstall: transformers
    Found existing installation: transformers 4.37.0
    Uninstalling transformers-4.37.0:
      Successfully uninstalled transformers-4.37.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
aqlm 1.0.1 requires transformers==4.37.0, but you have transformers 4.38.0.dev0 which is incompatible.
Successfully installed transformers-4.38.0.dev0

If you change == to >= it would allow for later versions with updates (in this case, the update was for AQLM compatibility!)

@lmmx lmmx changed the title Do not hard pin the transformers version Do not hard pin the transformers dependency version Feb 17, 2024
lmmx added a commit to lmmx/AQLM that referenced this issue Feb 17, 2024
@BlackSamorez
Copy link
Collaborator

We're waiting for a proper transformers 4.38.0 release to revamp the dispatch code.
Once it's released, we'll update the dependencies and model checkpoints on Hugging Face.
P.S. here's what new dispatch will look like: Colab Example. No trust_remote_code=True and no custom modeling_* files needed.

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.

2 participants