Skip to content

Conversation

HayatoHongo
Copy link

Summary

This PR fixes setup errors by updating pyproject.toml:

  • Pin NumPy to 1.26.4
  • Add Decord as 0.6.0

Background

When setting up the environment on AWS Lambda Cloud (A100 40GB) using the README Quick Start, I faced two problems:

  1. decord was not installed
  2. numpy 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:

  • Added decord==0.6.0
  • Pinned 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 (setting flash-attn==2.3.4),
but that will be submitted in a separate PR.
This PR only changes pyproject.toml.

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

Successfully merging this pull request may close these issues.

1 participant