论前沿训练基础模式.pptx

编号:402863 PPTX 24页 6.45MB 下载积分:VIP专享
下载报告请您先登录!

论前沿训练基础模式.pptx

1、On Training Foundation Models on Frontier,Sajal DashAnalytics and AI Methods at Scale(AAIMS)NCCS,ORNLdashsornl.gov,Outline,Distributed training of LLMsPreparing a training software stack for FrontierFinding best distributed training strategiesTraining a Trillion parameter model on Frontier(for a few

2、 iterations)Training“Sparsely Activated”models,Transformer Model Architecture,BERT,GPT,Inside a Transformer Layer,Model Parallelism:Why and How,Models(or Memory needed for their training)are too big to fit in a single GPUSo,we need to break the model into piecesWhats broken needs to be rebuilt from

3、the piecesIts like Kintsugi,but with a more practical concern such as price of gold(comm.Latency),Kintsugi,Tensor Parallelism(TP=4),Lessons Learnt From Tensor Parallelism,Pipeline Parallelism(PP=2),Pipeline Parallelism(Gpipe),Pipeline Bubble vs#Microbatches,Increasing the#Microbatches will reduce th

4、e bubbleBut that will result in large global batch size,hurting the convergence,3D Parallelism using Megatron-DeepSpeed,Megatron-DeepSpeed is a state-of-the-art training framework developed by Microsoft and NVIDIAIt supports 3D+parallelism(Tensor,Pipeline,Data,Sharded Data)We ported this Framework t

5、o Frontier through hipify and combining with ROCM specific packageshttps:/,3D Parallelism,A Combination of Tensor,Pipeline,and Data ParallelismDetermine how many GPUs(world-size)you need to fit the modelFactorize world-size into TP(tensor parallel size)and PP(pipeline parallel size),Hybrid(TP=4,PP=2

6、),Node 1,Node 2,Best practices with parallelism paradigms,Tensor Parallelism Keep it within the node(TP 8)Pipeline Parallelism Use large number of micro-batches(But that can increase the global batch-size)Data ParallelismCant use too much data parallelism.A la

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(论前沿训练基础模式.pptx)为本站 (alkaid) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠