Home
%3CLINGO-SUB%20id%3D%22lingo-sub-1399647%22%20slang%3D%22en-US%22%3ETraining%20deep%20learning%20models%20at%20scale%20in%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1399647%22%20slang%3D%22en-US%22%3E%3CP%3E%3CEM%3EThis%20post%20was%20co-authored%20by%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F210609%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40Chris%20Lauren%3C%2FA%3E%26nbsp%3B%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F213932%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40Ian%20Finder%3C%2FA%3E%26nbsp%3B%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F432899%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40David_Aronchick%3C%2FA%3E%26nbsp%3B%2C%26nbsp%3BMaxim%20Lukiyanov%2C%20Gopi%20Kumar%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMicrosoft%2C%20like%20much%20of%20the%20tech%20industry%2C%20has%20adopted%20deep%20learning%20to%20power%20features%20across%20our%20business%20and%20accelerate%20the%20value%20we%20can%20provide%20for%20users.%20We%20use%20deep%20learning%20models%20to%20improve%20user%20productivity%20and%20provide%20innovative%20experiences%20in%20Office%2C%20power%20code%20autocompletion%20in%20Visual%20Studio%2C%20improve%20search%20results%20in%20Bing%2C%20predictively%20optimize%20availability%20in%20Azure%20compute%20among%20many%20other%20scenarios%20across%20the%20company.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPart%20of%20what%20allowed%20us%20to%20move%20quickly%20to%20embrace%20this%20world%20changing%20technology%20was%20investing%20in%20the%20infrastructure%20and%20services%20necessary%20to%20increase%20our%20data%20scientists%20and%20machine%20learning%20engineers%E2%80%99%20productivity%20in%20a%20cloud-first%2C%20highly%20scalable%20manner.%20The%20combination%20of%20our%20investments%2C%20tooling%20and%20experience%20has%20allowed%20us%20to%20make%20big%20advancements%20in%20the%20efficiency%20of%20our%20teams.%20When%20we%20launched%20Azure%20Machine%20Learning%20to%20GA%2018%20months%20ago%2C%20our%20goal%20was%20to%20bring%20our%20productive%20and%20powerful%20environment%20to%20users%20of%20all%20skill%20levels%20who%20want%20to%20leverage%20machine%20learning%20and%20accelerate%20the%20practice%20of%20data%20science.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EToday%2C%20any%20ML%20developer%20can%20use%20Azure%20to%20experiment%20with%20innovative%20models%2C%20run%20distributed%20model%20training%20and%20deploy%20trained%20models%20quickly%20to%20infuse%20more%20intelligence%20into%20their%20business%20applications.%20The%20same%20machine%20learning%20platform%2C%20tools%20and%20powerful%20compute%20are%20part%20of%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FAA87dvg%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMicrosoft%E2%80%99s%20AI%20at%20Scale%20initiative%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ethat%20is%20enabling%20the%20next%20generation%20of%20AI%20capabilities%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet%E2%80%99s%20take%20a%20deeper%20look%20at%20the%20Azure%20AI%20infrastructure%20and%20the%20Azure%20Machine%20Learning%20service%20which%20together%20comprise%20the%20machine%20learning%20platform%20we%20use%20to%20power%20our%20AI%20innovations%20across%20Bing%2C%20Office%2C%20Teams%20and%20more.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EHow%20Microsoft%20uses%20AI%20at%20global%20scale%20to%20increase%20our%20user's%20productivity%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EOne%20example%20of%20how%20Microsoft%20uses%20the%20Azure%20AI%20infrastructure%20and%20Azure%20Machine%20Learning%20service%20is%20the%20new%20%E2%80%9C%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Fhow-azure-machine-learning-service-powers-suggested-replies-in-outlook%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Esuggested%20replies%3C%2FA%3E%E2%80%9D%20feature%20in%20Outlook.%20When%20you%20receive%20an%20email%20that%20can%20be%20answered%20with%20a%20quick%20response%2C%20Outlook%20suggests%20three%20responses%20that%20you%20can%20use%20to%20reply%20quickly%2C%20reducing%20the%20time%20and%20effort%20involved%20in%20replying%20to%20an%20email.%20This%20feature%20is%20powered%20by%20large%20scale%20deep%20learning%20natural%20language%20processing%20(NLP)%20model%20trained%20in%20Azure%20on%20powerful%20GPUs%20using%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fservices%2Fmachine-learning-service%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Machine%20Learning%3C%2FA%3E.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorChris%20Lauren_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20id%3D%22tinyMceEditorChris%20Lauren_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22smart-reply.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F192682i328F209E57E3497F%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22smart-reply.jpg%22%20alt%3D%22The%20Microsoft%20Outlook%20%26quot%3BSuggested%20Replies%26quot%3B%20feature%20uses%20Azure%20Machine%20Learning%20to%20train%20deep%20learning%20models%20at%20scale%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EThe%20Microsoft%20Outlook%20%22Suggested%20Replies%22%20feature%20uses%20Azure%20Machine%20Learning%20to%20train%20deep%20learning%20models%20at%20scale%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Outlook%20team%20uses%26nbsp%3B-ERR%3AREF-NOT-FOUND-Azure%20Machine%20Learning%20pipelines%26nbsp%3Bto%20process%20their%20data%20and%20train%20their%20models%20on%20a%20recurring%20basis%20in%20a%20repeatable%20manner.%20During%20the%20model%20training%2C%20the%20team%20uses%20GPU%20pools%20available%20in%20Azure.%20Once%20the%20model%20is%20created%2C%20data%20scientists%20can%20compare%20the%20model%20performance%20with%20previous%20models%20and%20evaluate%20which%20approaches%20perform%20better%20at%20recommending%20relevant%20suggested%20replies.%20Additionally%2C%20by%20using%26nbsp%3B-ERR%3AREF-NOT-FOUND-accelerated%20training%20with%20ONNX%20Runtime%26nbsp%3Bthey%20were%20able%20to%20get%20up%20to%20an%20additional%2045%25%20improvement%20in%20training%20performance%20with%20minimal%20changes%20to%20their%20existing%20model%20training%20code.%20This%20increased%20the%20team's%20productivity%20even%20further%20by%20enabling%20more%20frequent%20machine%20learning%20experiments.%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETraining%20models%20at%20this%20scale%20and%20frequency%20would%20not%20be%20possible%20without%20the%20scalable%20Azure%20AI%20infrastructure%20and%20Azure%20Machine%20Learning%20service.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EPowerful%20Azure%20AI%20infrastructure%3C%2FSTRONG%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20offers%20best-in-class%20infrastructure%20for%20AI%20workloads%20of%20all%20sizes%2C%20supporting%20GPU%20acceleration%20for%20popular%20frameworks%20like%20TensorFlow%2C%20PyTorch%2C%20and%20others%20from%20a%20single%20GPU%2C%20up%20to%20the%20flagship%20NDv2%20VM%20offering%20eight%2032%20GB%20NVIDIA%20V100%20GPUs%20with%20NVLink%2C%20as%20well%20as%20cluster-level%20100%20Gigabit%20InfiniBand%20EDR%20with%20out-of-box%20NCCL2%20support%20to%20allow%20jobs%20to%20transparently%20harness%20the%20power%20of%20close%20to%201%2C000%20GPUs%20concurrently.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure's%20virtualization%20technology%20harnesses%20features%20of%20the%20underlying%20hardware%20to%20offer%20nearly%20identical%20%26nbsp%3Bperformance%20and%20architectural%20behavior%20to%20bare%20metal%2C%20along%20with%20the%20security%20and%20manageability%20benefits%20of%20virtual%20machines.%20Even%20at%20the%20driver%20level%2C%20Azure%20VMs%20employ%20standard%20NVIDIA%20device%20drivers%2C%20and%20the%20same%20Mellanox%20OFED%20InfiniBand%20RDMA%20drivers%20a%20customer%20might%20use%20on-premise%2C%20ensuring%20a%20rapid%20and%20seamless%20lift%20for%20existing%20AI%20workloads%20to%20begin%20leveraging%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGoing%20forward%2C%20Azure%20will%20continue%20to%20invest%20in%20the%20promise%20of%20distributed%20training%20and%20interconnects%20with%20the%20latest%20technologies%20to%20deliver%20higher%20bandwidth%20and%20scale%20to%20larger%20clusters%20of%20future%20GPU%20products%2C%20like%20NVIDIA%E2%80%99s%20new%20A100%2C%20with%20the%20same%20commitment%20to%20standard%20communication%20methods%20used%20by%20workloads%20such%20as%20NCCL2.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EAzure%20Machine%20Learning%20service%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EAzure%20Machine%20Learning%20service%20runs%20on%20top%20of%20the%20Azure%20AI%20Infrastructure%20and%20provides%20a%20complete%20solution%20to%20manage%20the%20end%20to%20end%20machine%20learning%20lifecycle%3A%20preparing%20data%2C%20building%2Ftraining%20models%2C%20deploying%20the%20models%20to%20cloud%20or%20the%20edge%2C%20and%20monitoring%20models%20performance%20to%20determine%20whether%20to%20retrain%20them%20on%20new%20data%20to%20improve%20over%20time.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Chris%20Lauren_1-1589806241067.png%22%20style%3D%22width%3A%20948px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F192546i59F2DC646D60DE7E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Chris%20Lauren_1-1589806241067.png%22%20alt%3D%22Machine%20learning%20lifecycle%20using%20Azure%20Machine%20Learning%20service%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EMachine%20learning%20lifecycle%20using%20Azure%20Machine%20Learning%20service%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1147390739%22%20id%3D%22toc-hId-1167503353%22%20id%3D%22toc-hId-1167503353%22%3ETraining%20large%20scale%20deep%20learning%20models%20on%20a%20budget%3C%2FH3%3E%0A%3CP%3EUsing%20the%20latest%20GPU%20hardware%20at%20scale%20can%20be%20expensive.%20However%2C%20Azure%20Machine%20Learning%20makes%20it%20easy%20to%20minimize%20infrastructure%20costs%20to%20meet%20AI%20development%20budgets.%20AML%20has%20cost%20management%20and%20budget%20controls%20which%20enable%20your%26nbsp%3Bteams%20to%20share%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-ERR%3AREF-NOT-FOUND-AML%20compute%20clusters%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ewhich%20provision%20powerful%20GPU%20and%20CPU%20VMs%20on%20demand%20to%20train%20large%20scale%20models%20and%20turns%20them%20off%20when%20they%20are%20not%20being%20used.%20Additionally%2C%20you%20can%20further%20control%20costs%20using%20role%20based%20access%20control%20and%20quota%20management.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EPre-built%20environments%20for%20machine%20learning%20frameworks%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EData%20scientists%20spend%20a%20lot%20of%20time%20preparing%20environments%20which%20contain%20combinations%20of%20open%20source%20software%20libraries.%20These%20libraries%20are%20tested%20individually%2C%20but%20as%20data%20scientists%20create%20their%20own%20software%20environment%20(often%20in%20a%20docker%20container)%20they%20must%20test%20the%20different%20versions%20of%20these%20libraries%20on%20their%20own%20to%20resolve%20version%20conflicts.%20This%20is%20a%20time%20consuming%20process%20which%20does%20not%20directly%20accrue%20value%20to%20training%20great%20models.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20ML%20reduces%20this%20complexity%20by%20providing%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-ERR%3AREF-NOT-FOUND-pre-built%20environments%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efor%20popular%20machine%20learning%20frameworks%2C%20and%20their%20popular%20distributed%20training%20flavors.%20Among%20supported%20frameworks%20are%20standard%20PyTorch%2C%20TensorFlow%2C%20their%20native%20distributed%20training%20backends%2C%20popular%20distributed%20training%20framework%20Horovod%2C%20and%20variety%20of%20communications%20protocols%20such%20as%20MPI%2C%20NCCL%20or%20Gloo.%20Azure%20Machine%20Learning%20makes%20it%20easy%20to%20explore%20new%20distributed%20models%20or%20take%20existing%20model%20from%20research%20community%20and%20run%20it%20as%20is%20on%20Azure%20compute%20with%20minimum%20or%20no%20modifications.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAdditionally%2C%20Azure%20Machine%20Learning%20makes%20it%20easy%20to%20collaborate%20with%20other%20data%20scientists%20on%20your%20team%20using%20our%20new%20preview%20integrated%20Jupyter%20Notebooks.%20This%20further%20increases%20data%20scientists%20productivity%20and%20leverages%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-ERR%3AREF-NOT-FOUND-nteract%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%20bring%20Notebooks%20right%20into%20the%20AML%20Studio%20UI.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Chris%20Lauren_2-1589806241082.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F192547iCB5B22AD4C3D29F9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Chris%20Lauren_2-1589806241082.png%22%20alt%3D%22Azure%20Machine%20Learning's%20new%20preview%20integrated%20Jupyter%20notebooks%20will%20soon%20offer%20collaboration%20capabilities%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAzure%20Machine%20Learning's%20new%20preview%20integrated%20Jupyter%20notebooks%20will%20soon%20offer%20collaboration%20capabilities%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--660063724%22%20id%3D%22toc-hId--639951110%22%20id%3D%22toc-hId--639951110%22%3EScalable%20experimentation%20platform%3C%2FH3%3E%0A%3CP%3EBuilding%20new%20machine%20learning%20models%20requires%20iterative%20experimentation%3B%20sometimes%20it%20takes%20hundreds%20of%20iterations%20over%20the%20model%20design%2C%20algorithms%20and%20hyperparameters%20to%20achieve%20optimal%20performance.%20Some%20experiments%20that%20appear%20promising%20initially%20may%20yield%20poor%20results%20and%20researchers%20will%20have%20to%20step%20back%20and%20reassess%20results%20from%20the%20previous%20experiments.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20data%20scientists%20experiment%20in%20this%20way%2C%20it%20becomes%20increasingly%20important%20to%20share%20experiment%20results%20easily%2C%20reproduce%20any%20experiment%20reliably%20and%20collaborate%20with%20their%20team%20using%20a%20platform%20that%20is%20able%20to%20scale%20to%20handle%20large%20models%20that%20take%20days%20to%20train%20and%20produce%20GBs%20of%20output%20metrics%20per%20run.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20ML%20provides%20a%20fully%20managed%2C%20highly%20scalable%20machine%20learning%20platform.%20ML%20developers%20can%20organize%20their%20model%20training%20runs%20into%20experiments%2C%20track%20with%20each%20run%20all%20of%20the%20relevant%20parameters%20and%20metrics%20of%20the%20model%2C%20versions%20of%20training%20data%20used%2C%20source%20code%2C%20git%20commit%2C%20hyperparameters%20and%20more.%20With%20all%20the%20relevant%20data%20tracked%20by%20default%2C%20Azure%20ML%20makes%20it%20easy%20to%20compare%20the%20experiment%20runs%20and%20determine%20which%20produced%20the%20best%20model%20to%20deploy.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorChris%20Lauren_3%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20id%3D%22tinyMceEditorChris%20Lauren_3%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3EGet%20started%20with%26nbsp%3B%3CA%20title%3D%22Azure%20Machine%20Learning%22%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Ffree%2Fai%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Machine%20Learning%3C%2FA%3E%26nbsp%3Bfor%20free%20today!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELearn%20more%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Fhow-azure-machine-learning-enables-powerpoint-designer%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ELearn%20more%20about%20how%20Azure%20Machine%20Learning%20recommends%20design%20layouts%20PowerPoint%20Designer%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Fextending-the-power-of-azure-ai-to-microsoft-365-users%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ELearn%20about%20other%20ways%20Azure%20AI%20is%20used%20in%20Teams%20and%20other%20Microsoft%20365%20products%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3E%3CA%20title%3D%22Learn%20more%20about%20accelerating%20deep%20learning%20model%20training%20using%20ONNX%20Runtime%22%20href%3D%22http%3A%2F%2Faka.ms%2Fort-build2020%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ELearn%20more%20about%20accelerating%20deep%20learning%20model%20training%20using%20ONNX%20Runtime%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FA%3E%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Fbing-delivers-its-largest-improvement-in-search-experience-using-azure-gpus%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ELearn%20about%20how%20Bing%20uses%20BERT%20based%20NLP%20models%20to%20improve%20search%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fresearch%2Fblog%2Fturing-nlg-a-17-billion-parameter-language-model-by-microsoft%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ELearn%20about%20Turing-NLG%2C%20a%2017-billion-parameter%20language%20model%20by%20Microsoft%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1399647%22%20slang%3D%22en-US%22%3E%3CP%3EToday%2C%20anyone%20can%20use%20Azure%20to%20experiment%20with%20innovative%20machine%20learning%20models%2C%20run%20distributed%20model%20training%20and%20deploy%20trained%20models%20quickly%20to%20infuse%20more%20intelligence%20into%20their%20business%20applications.%20The%20same%20machine%20learning%20platform%2C%20tools%20and%20powerful%20compute%20are%20part%20of%20-ERR%3AREF-NOT-FOUND-Microsoft%E2%80%99s%20AI%20at%20Scale%20initiative%20that%20is%20enabling%20the%20next%20generation%20of%20AI%20capabilities.%20Learn%20about%20some%20interesting%20use%20cases%20across%20Office%2C%20Bing%20and%20Azure%20and%20how%20to%20get%20started%20today.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Chris%20Lauren_3-1589806241098.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F192549i45354D71A6520FCE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Chris%20Lauren_3-1589806241098.png%22%20alt%3D%22Comparing%20experiment%20metrics%20in%20Azure%20Machine%20Learning%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EComparing%20experiment%20metrics%20in%20Azure%20Machine%20Learning%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1399647%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Machine%20Learning%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMachine%20Learning%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

This post was co-authored by @Chris Lauren , @Ian Finder , @David_Aronchick , Maxim Lukiyanov, Gopi Kumar

 

Microsoft, like much of the tech industry, has adopted deep learning to power features across our business and accelerate the value we can provide for users. We use deep learning models to improve user productivity and provide innovative experiences in Office, power code autocompletion in Visual Studio, improve search results in Bing, predictively optimize availability in Azure compute among many other scenarios across the company.

 

Part of what allowed us to move quickly to embrace this world changing technology was investing in the infrastructure and services necessary to increase our data scientists and machine learning engineers’ productivity in a cloud-first, highly scalable manner. The combination of our investments, tooling and experience has allowed us to make big advancements in the efficiency of our teams. When we launched Azure Machine Learning to GA 18 months ago, our goal was to bring our productive and powerful environment to users of all skill levels who want to leverage machine learning and accelerate the practice of data science.  

 

Today, any ML developer can use Azure to experiment with innovative models, run distributed model training and deploy trained models quickly to infuse more intelligence into their business applications. The same machine learning platform, tools and powerful compute are part of Microsoft’s AI at Scale initiative that is enabling the next generation of AI capabilities

 

Let’s take a deeper look at the Azure AI infrastructure and the Azure Machine Learning service which together comprise the machine learning platform we use to power our AI innovations across Bing, Office, Teams and more.

 

How Microsoft uses AI at global scale to increase our user's productivity

One example of how Microsoft uses the Azure AI infrastructure and Azure Machine Learning service is the new “suggested replies” feature in Outlook. When you receive an email that can be answered with a quick response, Outlook suggests three responses that you can use to reply quickly, reducing the time and effort involved in replying to an email. This feature is powered by large scale deep learning natural language processing (NLP) model trained in Azure on powerful GPUs using Azure Machine Learning.

 
 

The Microsoft Outlook "Suggested Replies" feature uses Azure Machine Learning to train deep learning models at scaleThe Microsoft Outlook "Suggested Replies" feature uses Azure Machine Learning to train deep learning models at scale

 

The Outlook team uses Azure Machine Learning pipelines to process their data and train their models on a recurring basis in a repeatable manner. During the model training, the team uses GPU pools available in Azure. Once the model is created, data scientists can compare the model performance with previous models and evaluate which approaches perform better at recommending relevant suggested replies. Additionally, by using accelerated training with ONNX Runtime they were able to get up to an additional 45% improvement in training performance with minimal changes to their existing model training code. This increased the team's productivity even further by enabling more frequent machine learning experiments.     

 

Training models at this scale and frequency would not be possible without the scalable Azure AI infrastructure and Azure Machine Learning service.

 

Powerful Azure AI infrastructure          

Azure offers best-in-class infrastructure for AI workloads of all sizes, supporting GPU acceleration for popular frameworks like TensorFlow, PyTorch, and others from a single GPU, up to the flagship NDv2 VM offering eight 32 GB NVIDIA V100 GPUs with NVLink, as well as cluster-level 100 Gigabit InfiniBand EDR with out-of-box NCCL2 support to allow jobs to transparently harness the power of close to 1,000 GPUs concurrently.

 

Azure's virtualization technology harnesses features of the underlying hardware to offer nearly identical  performance and architectural behavior to bare metal, along with the security and manageability benefits of virtual machines. Even at the driver level, Azure VMs employ standard NVIDIA device drivers, and the same Mellanox OFED InfiniBand RDMA drivers a customer might use on-premise, ensuring a rapid and seamless lift for existing AI workloads to begin leveraging Azure.

 

Going forward, Azure will continue to invest in the promise of distributed training and interconnects with the latest technologies to deliver higher bandwidth and scale to larger clusters of future GPU products, like NVIDIA’s new A100, with the same commitment to standard communication methods used by workloads such as NCCL2.

 

Azure Machine Learning service

Azure Machine Learning service runs on top of the Azure AI Infrastructure and provides a complete solution to manage the end to end machine learning lifecycle: preparing data, building/training models, deploying the models to cloud or the edge, and monitoring models performance to determine whether to retrain them on new data to improve over time.

Machine learning lifecycle using Azure Machine Learning serviceMachine learning lifecycle using Azure Machine Learning service

 

 

Training large scale deep learning models on a budget

Using the latest GPU hardware at scale can be expensive. However, Azure Machine Learning makes it easy to minimize infrastructure costs to meet AI development budgets. AML has cost management and budget controls which enable your teams to share AML compute clusters which provision powerful GPU and CPU VMs on demand to train large scale models and turns them off when they are not being used. Additionally, you can further control costs using role based access control and quota management.

 

Pre-built environments for machine learning frameworks

Data scientists spend a lot of time preparing environments which contain combinations of open source software libraries. These libraries are tested individually, but as data scientists create their own software environment (often in a docker container) they must test the different versions of these libraries on their own to resolve version conflicts. This is a time consuming process which does not directly accrue value to training great models.

 

Azure ML reduces this complexity by providing pre-built environments for popular machine learning frameworks, and their popular distributed training flavors. Among supported frameworks are standard PyTorch, TensorFlow, their native distributed training backends, popular distributed training framework Horovod, and variety of communications protocols such as MPI, NCCL or Gloo. Azure Machine Learning makes it easy to explore new distributed models or take existing model from research community and run it as is on Azure compute with minimum or no modifications.

 

Additionally, Azure Machine Learning makes it easy to collaborate with other data scientists on your team using our new preview integrated Jupyter Notebooks. This further increases data scientists productivity and leverages nteract to bring Notebooks right into the AML Studio UI.

Azure Machine Learning's new preview integrated Jupyter notebooks will soon offer collaboration capabilitiesAzure Machine Learning's new preview integrated Jupyter notebooks will soon offer collaboration capabilities

 

Scalable experimentation platform

Building new machine learning models requires iterative experimentation; sometimes it takes hundreds of iterations over the model design, algorithms and hyperparameters to achieve optimal performance. Some experiments that appear promising initially may yield poor results and researchers will have to step back and reassess results from the previous experiments.

 

As data scientists experiment in this way, it becomes increasingly important to share experiment results easily, reproduce any experiment reliably and collaborate with their team using a platform that is able to scale to handle large models that take days to train and produce GBs of output metrics per run.

 

Azure ML provides a fully managed, highly scalable machine learning platform. ML developers can organize their model training runs into experiments, track with each run all of the relevant parameters and metrics of the model, versions of training data used, source code, git commit, hyperparameters and more. With all the relevant data tracked by default, Azure ML makes it easy to compare the experiment runs and determine which produced the best model to deploy.

 
 

Get started with Azure Machine Learning for free today!

 

Learn more: