Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion environment_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pip install --upgrade pip setuptools
pip install https://github.com/Dao-AILab/flash-attention/releases/download/v2.5.8/flash_attn-2.5.8+cu122torch2.3cxx11abiFALSE-cp310-cp310-linux_x86_64.whl

# Install VILA
pip install -e ".[train,eval]"
pip install -e ".[train,eval]" --use-pep517
Comment thread
Lyken17 marked this conversation as resolved.

# Quantization requires the newest triton version, and introduce dependency issue
pip install triton==3.1.0
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ vila-infer = "llava.cli.infer:main"
vila-upload = "llava.cli.upload2hf:main"

[project.optional-dependencies]
train = ["deepspeed==0.9.5", "ninja", "wandb"]
train = ["deepspeed>=0.9.5", "ninja", "wandb"]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vila has to pin ds version to 0.9.5

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

However, if the deepspeed version is fixed at 0.9.5, when executing environment_setup.sh to install this version, the following error messages will appear:

File "/tmp/pip-install-ftvjj692/deepspeed_5070716b8c7144a6a77c6fddce4cb290/deepspeed/runtime/config_utils.py", line 116, in get_config_default
          field_name).required, f"'{field_name}' is a required field and does not have a default value"
      AttributeError: 'FieldInfo' object has no attribute 'required'. Did you mean: 'is_required'?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cannot reproduce the error on my side. What is your python version?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Python Version: 3.10.14

eval = ["word2number", "Levenshtein", "nltk", "pywsd"]

[project.urls]
Expand Down