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

conflict error: pip install - e . #11

Open
WenjunHuang94 opened this issue May 22, 2024 · 4 comments
Open

conflict error: pip install - e . #11

WenjunHuang94 opened this issue May 22, 2024 · 4 comments

Comments

@WenjunHuang94
Copy link

How can I resolve an error message when using the pip install - e. command to install vlm-evaluation?
image

The library I installed is currently as follows:
image

@Liuxueyi
Copy link

Hi, I have met the same problem. Did you solve it?

@benoriol
Copy link

benoriol commented Jul 1, 2024

Did anyone solve this error?

@tangwh20
Copy link

Same error, did anyone solve it?

@Shinechaote
Copy link

Shinechaote commented Sep 18, 2024

Hey, I solved this problem. If you look at the logs (the error is not in the picture of the original poster) you will see that pip cannot find a version that fits all the requirements. You need to add a version for a few of the packages specified in pyproject.toml.
Also if you want to install a transformer version that is newer than 4.34.1 you need comment out.from .llava import LLaVa in vlm_eval/models/init.py

If someone has a better way of dealing with this please let me know.

I currently do not have time to make sure that the versions I specified but this is what the dependencies section in my pyproject.toml looks like:

dependencies = [
    "accelerate>=0.25.0",
    "ascii_magic",
    "draccus @ git+https://github.com/dlwh/draccus",
    "gradio==3.35.2",
    "gradio_client==0.2.9",
    "pydantic==1.10.14",
    "jsonlines",
    "jinja2==3.0.3",
    "llava @ git+https://github.com/suraj-nair-tri/LLaVA",
    "mosaicml-streaming>=0.5.0",
    "openai",
    "prismatic @ git+https://github.com/TRI-ML/prismatic-vlms",
    "pycocotools",
    "rich",
    "scikit-image",
    "salesforce-lavis @ git+https://github.com/siddk/LAVIS",
    "torch>=2.1.0",
    "torchvision",
    "torchaudio",
    "transformers>=4.34.1", ## Pinned to avoid namespace conflict with LLaVa models
    "webdataset",
    "pymongo",
    "spacy==3.7.3"
]

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

5 participants