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

Improve initialization efficiency of AgentScope #353

Merged
merged 3 commits into from
Jul 23, 2024

Conversation

DavdGao
Copy link
Collaborator

@DavdGao DavdGao commented Jul 19, 2024

Description

Currently, the initialization of AgentScope import agentscope is very slow. So I checked the execution time of all files and move the parts which take the most time to where they're used.

FYI: The top-3 that take the most time are:

  • import litellm
  • import llama-index
  • import openai

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has passed all tests
  • Docstrings have been added/updated in Google Style
  • Documentation has been updated
  • Code is ready for review

@DavdGao DavdGao linked an issue Jul 19, 2024 that may be closed by this pull request
@DavdGao DavdGao merged commit 527d274 into modelscope:main Jul 23, 2024
13 checks passed
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.

Figure out the bottleneck in AgentScope initialization
1 participant