Open WenjunHuang94 opened 6 months ago
Hi, I have met the same problem. Did you solve it?
Did anyone solve this error?
Same error, did anyone solve it?
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"
]
How can I resolve an error message when using the pip install - e. command to install vlm-evaluation?
The library I installed is currently as follows: