modelscope / agentscope

Start building LLM-empowered multi-agent applications in an easier way.
https://doc.agentscope.io/
Apache License 2.0
5.19k stars 316 forks source link

Improve initialization efficiency of AgentScope #353

Closed DavdGao closed 3 months ago

DavdGao commented 3 months ago

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:

Checklist

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