Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Runtime] Reduce dependency to speed up CI and reduce image size #3195

Merged
merged 4 commits into from
Jul 31, 2024

Conversation

xingyaoww
Copy link
Contributor

@xingyaoww xingyaoww commented Jul 31, 2024

What is the problem that this fixes or functionality that this introduces? Does it fix any open issues?


Give a summary of what the PR does, explaining any non-trivial design decisions

  • Reduce dependency installed for runtime (only main and runtime) to speed up CI and reduce image size
  • Make llama-index an optional dependency (so we don't need to install torch). LongTermMemory is the only one class that depends on it, but it is not currently used anywhere in OpenDevin.
  • Make LongTermMemory optional and prompt user to manually install poetry install --with llama-index when it is needed.

Other references

@xingyaoww xingyaoww changed the title [Runtime] Reduce dependency installed for runtime to speed up CI and reduce image size [Runtime] Reduce dependency to speed up CI and reduce image size Jul 31, 2024
@xingyaoww xingyaoww requested review from neubig, rbren and enyst July 31, 2024 17:32
@xingyaoww xingyaoww marked this pull request as ready for review July 31, 2024 17:32
@xingyaoww
Copy link
Contributor Author

(good, all CI passed!)

@xingyaoww xingyaoww requested a review from tobitege July 31, 2024 17:49
Copy link
Contributor

@neubig neubig left a comment

Choose a reason for hiding this comment

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

Faster CI 🤤

@neubig neubig merged commit 1d49ef2 into main Jul 31, 2024
2 checks passed
@neubig neubig deleted the xw/cleanup-deps branch July 31, 2024 17:55
@xingyaoww xingyaoww restored the xw/cleanup-deps branch July 31, 2024 17:57
@xingyaoww xingyaoww deleted the xw/cleanup-deps branch August 6, 2024 22:50
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.

2 participants