specified numpy version at 1.26.x and added decord==0.6.0#29
Open
HayatoHongo wants to merge 1 commit intoictnlp:mainfrom
Open
specified numpy version at 1.26.x and added decord==0.6.0#29HayatoHongo wants to merge 1 commit intoictnlp:mainfrom
HayatoHongo wants to merge 1 commit intoictnlp:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.40.6.0Background
When setting up the environment on AWS Lambda Cloud (A100 40GB) using the README Quick Start, I faced two problems:
decordwas not installednumpywas 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.0numpy==1.26.4After 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.