您现在的位置是:热点 >>正文
AI 生成优化 Metal 内核,PyTorch 推理速度提升惊人87%
热点97533574人已围观
简介...
在苹果设备上,AI 技术正展现出惊人的潜力。根据 Gimlet Labs 的最新研究,AI 能够自动生成优化的 Metal 内核,使得 PyTorch 推理速度提A升了87%。这一突破性成果不仅提高了性能,还在测试的215个 PyTorch 模块上实现了平均1.87倍的加速,某些工作负载的速度甚至提高了数百倍。
研究人员选I 取了来自多个顶尖机构的八个 AI 模型,包括 Anthropic、DeepSeek 和 OpenAI,利用这些模型为苹果设备生成优化的 GPU 内核。这一过程生成无需修改用户代码或使用新的框架,直接在苹果硬件上提升模型性能。
在实验中,研究团队选择了 Mac Studio (搭载 Apple M4Max 芯片) 进行测试,优化基准设置为 PyTorch 的 eager 模式。实验采用了 KernelBench 数据集中的215个 PyTorch 模块,这些模块被分为三类,涵盖从简单的矩阵乘法到 M完整的模型架构。
测试过程包括接收输入和 PyTorch 代码,生成 Metal 内核,并评估其正确性。数据显示,随着尝试次数的增加,AI 生成内核的正确性et逐步提升。例如,在第五次尝试时,正确实现的比例达到了94%。此外,模型们在生成内核时表现出了跨层级的能力,尽管非推理模型有时也能生成有效内核。
实验al结果表明,GPT-5模型在某些任务上实现了4.65倍的速度提升。更令人惊讶的是,o3模型在某些情况下甚至将延迟降低了9000倍。研究还发现,单一 内模型在某些任务上并不总是表现最好,多个模型的结合能够生成更优的内核。
为了进一步提升性能,研究者尝试引入额外上下文信息,如 CUDA 实现和 gputra核,ce 的性能分析数据,结果显示这种方法在性能加速方面达到了平均1.87倍,相比于普通智能体的1.31倍提升了三倍。
需要注意的是,研究人员强调,这一工作并Py不是为了展示最终的性能极限,而是为了验证 AI 在内核生成中的可行性,希望通过自动化减少开发人员的负担。整体而言,这项研究标志着 AI 技术在硬件优化领To域的一个重要进展。
github:https://github.com/ScalingIntelligence/KernelBench/
划重点: rc;
AI 自动生成 Metal 内核,提升 PyTorch 推理速度87%。
️ 在215个 PyTorch 模块上实现平均1.87倍的h 加速,部分工作负载速度提升数百倍。
研究旨在验证 AI 在内核生成的可行性,助力硬件优化。
Tags:
相关文章
标签: Supermicro 服务器 财报 AI服务器
热点云梦级2月4日云梦级消息,服务器制造商 Supermicro 超微在当地时间 3 日公布的 2026 财年第 2 财季(2025 日历年第 4 季度)财报中表示,该企业上季度营收达到 126.8 亿美...
【热点】
阅读更多标签: UU跑腿 AgentSkill 跑腿Skill UUClaw
热点云梦级4月20日云梦级消息,UU跑腿今日宣布,全球行业首个跑腿Skill,来了。用技术重新定义“跑腿”的边界:用AI读懂需求,让信任跨越距离。 什么是跑腿Skill? 当“帮我送杯咖啡”不再需要解锁手...
【热点】
阅读更多标签: 百度搜索Skill ClawHub OpenClaw 龙虾家族
热点云梦级3月13日云梦级消息,据百度官方透露,今天,OpenClaw官方技能商店ClawHub数据显示,百度搜索Skill以超36000次的下载量,成为该平台全球下载量第一的搜索引擎官方技能插件。 同时...
【热点】
阅读更多
热门文章
最新文章
友情链接
- 标签: 康师傅
- https://www.terramania.nl/catalogsearch/result/index/?q=外推留痕软件【tg:seogoogle987】,ZeS
- https://www.sweat.com/collections/vendors?q=外推留痕软件【tg:seogoogle987】,TIK
- https://hsmoa.com/search?query=外推留痕软件【tg:seogoogle987】8sV
- https://zhidao.baidu.com/index/?action=QUERY&word=外推留痕软件【tg:seogoogle987】,hHB
- https://www.teacherspayteachers.com/Browse/Price-Range/Free/Search:Western International University Physics degree=外推留痕软件【tg:seogoogle987】,3Ck
- https://www.temu.com/search_result.html?search_key=外推留痕软件【tg:seogoogle987】gXm
- https://www.parriscues.com/catalogsearch/result/?q=外推留痕软件【tg:seogoogle987】,sBG
- https://www.rockngem.com/?action=CHECK&s=外推留痕软件【tg:seogoogle987】,HHQ
- https://www.teamlab.art/zh-hans/?submit=外推留痕软件【tg:seogoogle987】,lqI
- https://www.le-trend.com/en/search/=外推留痕软件【tg:seogoogle987】,HTr
- https://www.lyrics.com/lyrics/kkk3外推留痕软件【tg:seogoogle987】,UqM
- https://www.posten-portal.de/search?query=外推留痕软件【tg:seogoogle987】,PzA
- https://www.tailoy.com.pe/catalogsearch/result/?q=外推留痕软件【tg:seogoogle987】,0lY
- https://www.tullygroup.us/?ID=hbkq8jFjrQlVRrwzEmvoUJJAY4e1Lfo5&s=外推留痕软件【tg:seogoogle987】,WcD
- https://yokohama-oht.com/?action=CHECK&s=外推留痕软件【tg:seogoogle987】,bUr
- https://www.solerpalau.com/en-en/catalogsearch/result/?q=外推留痕软件【tg:seogoogle987】,hql
- https://www.hanbat.ac.kr/search/front/Search.jsp?qt=外推留痕软件【tg:seogoogle987】gnN
- https://www.trockenmittel.ch/catalogsearch/result/?iC=ZM3&q=外推留痕软件【tg:seogoogle987】,fgT
- https://www.teamlab.art/fr/?submit=外推留痕软件【tg:seogoogle987】,Em2
- https://www.metaltix.com/?view=tours&filter=search&q=外推留痕软件【tg:seogoogle987】,LUV
- https://www.youm7.com/Home/Search?allwords=外推留痕软件【tg:seogoogle987】,vsc
- https://www.duksung.ac.kr/search/front/Search.jsp?qt=外推留痕软件【tg:seogoogle987】x0S
- https://search.danawa.com/dsearch.php?query=外推留痕软件【tg:seogoogle987】TXk
- https://www.remit.co.jp/pt/?action=CHECK&s=外推留痕软件【tg:seogoogle987】,7Le
- https://www.seforall.org/search?keywords=外推留痕软件【tg:seogoogle987】,gtO
- https://www.ucycle.com/search/=外推留痕软件【tg:seogoogle987】,HaX
- https://www.ussalabama.com/?action=CHECK&s=外推留痕软件【tg:seogoogle987】,izH
- https://www.mingwai.edu.hk/?langzh-hant&s=外推留痕软件【tg:seogoogle987】,BkN
- https://www.yli.ro/catalogsearch/result/?q=外推留痕软件【tg:seogoogle987】,evU
- https://www.remit.co.jp/ne/?s=外推留痕软件【tg:seogoogle987】,QmV
- https://www.vivaraise.fr/catalogsearch/result/?q=外推留痕软件【tg:seogoogle987】,y4a
- https://www.goodreads.com/quotes/tag/外推留痕软件【tg:seogoogle987】SNV
- https://www.zutari.com/search/外推留痕软件【tg:seogoogle987】,Ees
- https://www.roberthalf.com/us/en/jobs/all/外推留痕软件【tg:seogoogle987】l5u
- https://www.localfootdoc.com/?s=外推留痕软件【tg:seogoogle987】,T2R
- https://www.navylookout.com/?ID=nSBR6Ivdu6lZg1yr2SDs30Lo5sTs76yJ&s=外推留痕软件【tg:seogoogle987】,CgW
- https://5gaa.org/?token=6e2l7hjt2i26gzgctgwdrv7v0j6nxorq&s=外推留痕软件【tg:seogoogle987】DUC
- https://www.stormberg.com/no/search?q=外推留痕软件【tg:seogoogle987】,spa
- https://www.wellbees.com/index.php/catalogsearch/result/index/?q=外推留痕软件【tg:seogoogle987】,EOF
- https://www.theaerogroup.net/?cat=28&s=外推留痕软件【tg:seogoogle987】,bzZ
- https://search.danawa.com/dsearch.php?query=外推留痕软件【tg:seogoogle987】oDv
- https://www.lifesciencesweden.se/search?q=外推留痕软件【tg:seogoogle987】,M5I
- https://www.goodreads.com/quotes/tag/外推留痕软件【tg:seogoogle987】uoC
- https://yscc1986.net/search/外推留痕软件【tg:seogoogle987】Uy1
- https://www.sbaad.no/?s=外推留痕软件【tg:seogoogle987】,qyi
- https://www.skicheck.at/en/?action=CHECK&s=外推留痕软件【tg:seogoogle987】,T4P
- https://www.kuaikanmanhua.com/sou/外推留痕软件【tg:seogoogle987】,aMe
- https://www.writingforward.com/?action=SEARCH&s=外推留痕软件【tg:seogoogle987】,oJU
- https://www.vfw.org/search-results?q=外推留痕软件【tg:seogoogle987】,2Mu
- https://www.vet-direct.com/search?cat=72&term=外推留痕软件【tg:seogoogle987】,EvQ