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

Transformer version conflict with prismatic-vlm #13

Open
tangwh20 opened this issue Jul 29, 2024 · 0 comments
Open

Transformer version conflict with prismatic-vlm #13

tangwh20 opened this issue Jul 29, 2024 · 0 comments

Comments

@tangwh20
Copy link

Hi, I met a version conflict when trying to execute pip install -e .. The error message goes like:

ERROR: Cannot install vlm-eval==0.0.1 and vlm_eval because these package versions have conflicting dependencies.

The conflict is caused by:
    vlm-eval 0.0.1 depends on transformers==4.34.1
    mosaicml-streaming 0.7.6 depends on transformers<5 and >=4.21.3
    llava 1.1.1 depends on transformers>=4.31.0
    prismatic 0.0.2 depends on transformers>=4.38.1

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

As I check on the dependencies in pyproject.toml, I find that in vlm-evaluation/pyproject.toml we have transformers==4.34.1

"transformers==4.34.1", ## Pinned to avoid namespace conflict with LLaVa models

while in prismatic-vlms/pyproject.toml we have transformers>=4.38.1

https://github.com/TRI-ML/prismatic-vlms/blob/874c5bbff52b248294a3ab97006491a7faa698e6/pyproject.toml#L45

This seems to be an update conflict. Is there any solution to this?

Thanks!

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

No branches or pull requests

1 participant