ms-agent
ms-agent copied to clipboard
MS-Agent: Lightweight Framework for Empowering Agents with Autonomous Exploration in Complex Task Scenarios
背景:在本地部署ModelScope-Agent-7B,机器为nvidia的A100,速度特别慢,chat一次平均耗时18秒 已经按照[https://modelscope.cn/models/iic/ModelScope-Agent-7B/summary的步骤安装了flash-attention==2.3.5、layer_norm、rotary-embedding-torch==0.5.3] 启动ModelScope-Agent-7B 还是报:Warning: import flash_attn rotary fail, please install FlashAttention rotary to get higher efficiency https://github.com/Dao-AILab/flash-attention/tree/main/csrc/rotary
## Change Summary ## Related issue number ## Checklist * [ ] The pull request title is a good summary of the changes - it will be used in the...
1. add traceback info when call llm failed at the retry decorator; 2. add zhipu function call at the no_stream mode; 3. remove useless code;
## Change Summary ## Related issue number ## Checklist * [ ] The pull request title is a good summary of the changes - it will be used in the...
## Change Summary ## Related issue number ## Checklist * [ ] The pull request title is a good summary of the changes - it will be used in the...
### Initial Checks - [X] I have searched Google & GitHub for similar requests and couldn't find anything - [X] I have read and followed [the docs & demos](https://github.com/modelscope/modelscope-agent/tree/master/demo) and...
我用mofelscope社区搭了一个简单的agent,线上一切正常。本地把代码下载下来后正常运行了 。 模型用的是企业版本的glm4。使用企业的key,需要修改api_key 和base_url。我真对zhipu.py进行了修改 修改后, agent无回复  且无任何报错 换成我个人的glm4 api _key 就没有问题了, agent就可以正常回复
智能体编排
### Initial Checks - [X] I have searched Google & GitHub for similar requests and couldn't find anything - [X] I have read and followed [the docs & demos](https://github.com/modelscope/modelscope-agent/tree/master/demo) and...
### Initial Checks - [X] I have searched GitHub for a duplicate issue and I'm sure this is something new - [X] I have read and followed [the docs &...