specified numpy version at 1.26.x and added decord==0.6.0 #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes setup errors by updating
pyproject.toml
:1.26.4
0.6.0
Background
When setting up the environment on AWS Lambda Cloud (A100 40GB) using the README Quick Start, I faced two problems:
decord
was not installednumpy
was not pinned, so the latest version (2.2) was installed.This caused compatibility errors with other libraries.
See setup logs (errors included):
https://github.com/HayatoHongo/LLaVA-Mini/blob/main/setup_logs/cleansed/original_setup_cleansed.log
Solution
I updated
pyproject.toml
:decord==0.6.0
numpy==1.26.4
After this change, the environment built successfully.
See setup logs after fix:
https://github.com/HayatoHongo/LLaVA-Mini/blob/main/setup_logs/cleansed/suggested_setup_cleansed.log
Note
The logs also show a change in
README.md
(settingflash-attn==2.3.4
),but that will be submitted in a separate PR.
This PR only changes
pyproject.toml
.