当前位置:首页 > 报告详情

1-陈齐翔-基于 Ray 的分布式 AI Agent 框架.pdf

上传人: 张** 编号:178934 2024-10-25 22页 3.42MB

1、演讲嘉宾:陈齐翔-蚂蚁集团Who are weAnt GroupAlipayMission:“Make it easy to do business anywhere.”Ray Team2nd largest team contributing 26%+to Ray Core code)over 1.5 million CPU cores onlineOperating Ray China CommunityHistory of Ray in Ant1Background2Motivation3Design&Impl.1A typical AI AgentLLM-based AgentSour

2、ce:“A Survey on Large Language Model based Autonomous Agents”(https:/arxiv.org/abs/2308.11432)Autonomous agent frameworkTypically requires:Profile:Personality,Misson Memory:Knowledge,Experience Planning:Split intricate task to simpler sub-tasks Action:Function calling A naive RAG agent 1.Observe a T

3、ask2.Think what to do3.Utilize Tools to take actions and get the result4.Put into Memory5.Repeat 24 until task is completedReference:“ReAct:Synergizing Reasoning and Acting in Language Models”(https:/arxiv.org/abs/2210.03629)NetworkComputationDisk I/OMemoryToolsReActactionfeedbackAgentToolsVectorDBO

4、bserveThinkActKnowledgeQueryRelevant DocsQueryRealtime NewsLearn from this doc:xxxThought:Should parse and load to DBAction:index_docDeploy the agenthttps:/naive-Agent crafting platform1.No idea why my App/Pod is dead2.No metrics to spying workload3.No traffic control for heavy workload4.Low GPU uti

5、lization on hybrid workload5.Bind to the platform provided agent library6.Need to be productionized!User Complains2 MotivationAgents are very creative1.Constantly emerging innovative ideas2.Quick validation with the lowest cost3.*Easily convert proved ideas and deployed to prod.env.4.GPU+CPU+Service

6、 Calling in one user task!5.Diverse software stack across scenariosLangchainRayProsRich&friendly librariesComplete toolchain from UI to algorithmConsHuge works to do to productionizeProsOne-stop for AI workloadEasily scale from local to distributedHeterogeneous resource schedulingNot binding computa

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
本文介绍了蚂蚁集团的演讲嘉宾陈齐翔,他分享了关于蚂蚁集团和其核心产品支付宝的使命,以及他在蚂蚁集团中领导的Ray Team的工作。Ray Team是第二大贡献代码的团队,拥有超过150万CPU核心在线。陈齐翔详细介绍了Ray框架的背景、动机和设计实现,以及典型的AI代理和自动代理框架。他还讨论了Ray的优势和劣势,并提出了为什么选择Ray作为代理框架的原因。最后,他展示了如何使用Ray构建代理,并分享了未来的工作方向。
"蚂蚁集团的AI战略是什么?" "Ray Agent如何改变AI应用开发?" "如何在蚂蚁集团的多Agent系统中实现资源调度?"
客服
商务合作
小程序
服务号
折叠