SlideShare ist ein Scribd-Unternehmen logo
1 von 35
ONNX: Past, Present, and
Future
… with use cases
Jim Spohrer (IBM), Prasanth Pulavarthi (Microsoft)
Monday June 29, 2020 11:30am - 12:20pm Central Time
Today’s Speakers
6/23/2020 2
Introduction to ONNX: Past, Present, Future
Jim Spohrer (IBM) – Director, Cognitive Opentech Group/CODAIT
Linux Foundation AI – Technical Advisory Council Chairperson
ONNX Steering Committee Member
https://www.ibm.com/opensource/centers/codait/
https://www.linkedin.com/in/spohrer/
@JimSpohrer
ONNX in Practice: Why we use it and how you can too
Prasanth Pulavarthi (Microsoft) – Principal Program Manager, AI Platform
ONNX Steering Committee Member, ONNX Co-Founder
https://www.linkedin.com/in/prasanthpulavarthi/
Introduction to ONNX: Past, Present, and Future
6/23/202
0
3
› Past: Why ONNX?
› Quick Review: ONNX Website Tour
› https://onnx.ai/
› Present: Growth of Community and Tools
› Quick Review: April 2020 ONNX Community Meeting
› https://tinyurl.com/onnx-april2020
› Future: You, AI Landscape and ONNX!
› Quick Review: Call to Action
› https://landscape.lfai.foundation/
46/23/2020
Nick Pentreath
56/23/2020
Jagreet Kaur Gil
ONNX Website Tour
https://onnx.ai/
6/23/2020 6
› Home Page
› News
› About
› Getting Started
› Supported Tools
› GitHub
› Gitter
April 2020 Community Meeting
https://tinyurl.com/onnx-april2020
6/23/2020 7
› Welcome and Updates
› Partners
› IBM Chief Data Office
› Huawei Mindspore
› Microsoft Runtime Optimizations
› Xilinx FINN
› UC Santa Cruz Genomics
› Microsoft Azure OCR
› Mathworks
› SIGs and Working Groups
› Some Highlights
Registered
86/23/2020
One Year Growth
96/23/2020
From March 2019 – April 2020 As of June 22, 2020
1548 162 8.5K
1.5K 148 35
Tools
106/23/2020
You, AI Landscape, and ONNX
https://landscape.lfai.foundation/
6/23/2020 11
› > 250 GitHub Projects
› > 1.4M stars
› > $12T Market Cap of
companies
› > $5B Investment in startups
› ONNX key to interoperability
and optimizations
ONNX in Practice:
Why we use it and how you can too
126/23/2020
Microsoft 365
AI/ML at Microsoft
| Research
Edge
Common problems impacting ML productivity
• Inference latency is too high to put into production
• Training in Python but need to deploy into a C#/C++/Java app
• Model needs to run on edge/IoT devices
• Same model needs to run on different hardware and operating systems
• Need to support running models created in several different frameworks
• (more recently) Training very large models takes too long
ONNX Runtime
https://onnx.ai
@onnxai
ONNX
https://onnxruntime.ai
@onnxruntime
Compatible with PyTorch, TensorFlow, Keras, SciKit-Learn, and more
Training framework Deployment target
CPU
GPU
FPGA
NPU
Improving ML deployment productivity
Training framework Deployment target
CPU
GPU
FPGA
NPU
Improving ML deployment productivity
ONNX
Runtime
Freedom to use tool of
choice
Strong performance and
compatibility with platforms
and accelerators
Speech with ONNX Runtime
Speech Services
power a vast landscape of products and
services at MSFT. From Office, Cortana to
Xbox and Bing, the ML models service
hundreds of millions of requests a month.
ONNX Runtime powers inferencing for
Speech at high scale in production
environments including Cognitive Services,
on-premise solutions, and micro services
Agility:
10x reduction in time to
productize new models
Performance:
10% accuracy and latency improvements
Azure Cognitive Services using ONNX Runtime
Azure Kinect with ONNX Runtime
Desktop scenario
Body Tracking SDK is installed on your PC
Reduced the First Frame Processing Time by
7.8x on the GTX 1070 with ONNX Runtime with
CUDA execution provider.
Body Tracking SDK
Azure Kinect developer kit for tracks bodies in 3D
with advanced AI sensors that use sophisticated
computer vision and speech models.
IoT scenario (in progress)
Body Tracking SDK is installed on Jetson TX2
(ARM CPU + Nvidia GPU)
ONNX model portability with ONNX Runtime
model.onnx
TensorRTOpenVINO
model.onnx
CUDA
model.onnx
WindowsML with ONNX Runtime
• Windows API for machine learning
inference
• Input models are ONNX models for
broad framework support
• ONNX Runtime as engine with
DirectML acceleration
Azure Customers with ONNX Runtime
Financial ISV
• Uses AI for economic scenario modeling
• Train models in Python with SciKit-Learn and PyTorch but production environment is pure
C#
• ONNX Runtime with C# API was a good fit (bonus 2x speedup)
Transformer Inferencing
› Hugging Face provides popular transformer models, like
BERT, GPT2, etc.
› Can be trained with either PyTorch or TensorFlow
› Hugging Face module transformers.convert_graph_to_onnx
exports ONNX models
› ONNX Runtime does inferencing with speedup whether you
are using CPU or GPU
New: Transformer Training
› Integrates with PyTorch (and TensorFlow) to accelerate training and fine-
tuning of large transformer models
› Incorporates latest algorithms and techniques such as DeepSpeed/ZeRO and
Parasail/Adasum
› Used by Office, Visual Studio, and others at Microsoft
› Available as preview now
256/23/2020
Getting Started
Pre-trained ONNX models: https://onnx.ai/models
ML.NET
Creating an ONNX model
Examples: Model Conversion
python -m tf2onnx.convert
--input frozen_model.pb
--inputs input_batch:0, lengths:0
--outputs top_k:1
--fold_const
--opset 8
--output deepcc.onnx
import sklearn
import skl2onnx
initial_type = [('float_input', FloatTensorType([1, 4]))]
onnx_model = skl2onnx.convert_sklearn(pipe,
initial_types=initial_type)
with open("logreg_iris.onnx", "wb") as f:
f.write(onnx_model.SerializeToString())
ONNX Runtime: https://onnxruntime.ai
Using ONNX Runtime
C#
…… also available for C, C++, Java, and JavaScript (Node.js)
Get involved
ONNX has open governance
› Annual Steering Committee election
› Technical decisions made by SIGs and Working Groups
› All meetings open to everyone
› Calendar: https://onnx.ai/calendar
› GitHub: https://github.com/onnx
› Gitter: https://gitter.com/onnx
› Mailing List: https://lists.lfai.foundation/g/onnx-announce
336/23/2020
Thank You!
Q & A
346/23/2020
Resources
https://onnx.ai
https://onnxruntime.ai
Legal Notices
› The Linux Foundation, The Linux Foundation logos, and other marks that may be used herein are owned by The Linux Foundation or its
affiliated entities, and are subject to The Linux Foundation’s Trademark Usage Policy at https://www.linuxfoundation.org/trademark-usage, as
may be modified from time to time.
› Linux is a registered trademark of Linus Torvalds. Please see the Linux Mark Institute’s trademark usage page at https://lmi.linuxfoundation.org
for details regarding use of this trademark.
› Some marks that may be used herein are owned by projects operating as separately incorporated entities managed by The Linux Foundation,
and have their own trademarks, policies and usage guidelines.
› TWITTER, TWEET, RETWEET and the Twitter logo are trademarks of Twitter, Inc. or its affiliates.
› Facebook and the “f” logo are trademarks of Facebook or its affiliates.
› LinkedIn, the LinkedIn logo, the IN logo and InMail are registered trademarks or trademarks of LinkedIn Corporation and its affiliates in the
United States and/or other countries.
› YouTube and the YouTube icon are trademarks of YouTube or its affiliates.
› All other trademarks are the property of their respective owners. Use of such marks herein does not represent affiliation with or authorization,
sponsorship or approval by such owners unless otherwise expressly specified.
› The Linux Foundation is subject to other policies, including without limitation its Privacy Policy at https://www.linuxfoundation.org/privacy and its
Antitrust Policy at https://www.linuxfoundation.org/antitrust-policy. each as may be modified from time to time. More information about The Linux
Foundation’s policies is available at https://www.linuxfoundation.org.
› Please email legal@linuxfoundation.org with any questions about The Linux Foundation’s policies or the notices set forth on this slide.
6/23/2020 35

Weitere ähnliche Inhalte

Ă„hnlich wie Onnx at lf oss na 20200629 v5

Tracing The Evolution Open Source & Embedded Systems - Mr. Jayakumar Balasubr...
Tracing The Evolution Open Source & Embedded Systems - Mr. Jayakumar Balasubr...Tracing The Evolution Open Source & Embedded Systems - Mr. Jayakumar Balasubr...
Tracing The Evolution Open Source & Embedded Systems - Mr. Jayakumar Balasubr...Lounge47
 
Open Source on the Mainframe Mini-Summit 2019 - How Open Source is Modernizin...
Open Source on the Mainframe Mini-Summit 2019 - How Open Source is Modernizin...Open Source on the Mainframe Mini-Summit 2019 - How Open Source is Modernizin...
Open Source on the Mainframe Mini-Summit 2019 - How Open Source is Modernizin...Open Mainframe Project
 
Professional Open Source
Professional Open SourceProfessional Open Source
Professional Open SourceSebastiaan Deckers
 
Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (...
Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (...Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (...
Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (...Open Mobile Alliance
 
OpenNTF Webinar 05/07/13: OpenNTF - The IBM Collaboration Solutions App Dev C...
OpenNTF Webinar 05/07/13: OpenNTF - The IBM Collaboration Solutions App Dev C...OpenNTF Webinar 05/07/13: OpenNTF - The IBM Collaboration Solutions App Dev C...
OpenNTF Webinar 05/07/13: OpenNTF - The IBM Collaboration Solutions App Dev C...Niklas Heidloff
 
Open Source Governance at HP
Open Source Governance at HPOpen Source Governance at HP
Open Source Governance at HPBruno Cornec
 
Dev Ops for systems of record - Talk at Agile Australia 2015
Dev Ops for systems of record - Talk at Agile Australia 2015Dev Ops for systems of record - Talk at Agile Australia 2015
Dev Ops for systems of record - Talk at Agile Australia 2015Mirco Hering
 
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...OpenShift Origin
 
Gdsc IIIT Surat Orientation 2022.pdf
Gdsc IIIT Surat Orientation 2022.pdfGdsc IIIT Surat Orientation 2022.pdf
Gdsc IIIT Surat Orientation 2022.pdfSparshJhariya2
 
Machine learning and Deep learning on edge devices using TensorFlow
Machine learning and Deep learning on edge devices using TensorFlowMachine learning and Deep learning on edge devices using TensorFlow
Machine learning and Deep learning on edge devices using TensorFlowAditya Bhattacharya
 
A Journey Down the Open Road - SymfonyCon Paris 2015
A Journey Down the Open Road - SymfonyCon Paris 2015A Journey Down the Open Road - SymfonyCon Paris 2015
A Journey Down the Open Road - SymfonyCon Paris 2015Yoav Kutner
 
Open, Secure & Transparent AI Pipelines
Open, Secure & Transparent AI PipelinesOpen, Secure & Transparent AI Pipelines
Open, Secure & Transparent AI PipelinesNick Pentreath
 
IPMI is dead, Long live Redfish
IPMI is dead, Long live RedfishIPMI is dead, Long live Redfish
IPMI is dead, Long live RedfishBruno Cornec
 
Hippo nuxeo world
Hippo nuxeo worldHippo nuxeo world
Hippo nuxeo worldserraalink
 
Lessons learned in Using Intel Xeon Phi Coprocessors in Engr Applications
Lessons learned in Using Intel Xeon Phi Coprocessors in Engr ApplicationsLessons learned in Using Intel Xeon Phi Coprocessors in Engr Applications
Lessons learned in Using Intel Xeon Phi Coprocessors in Engr ApplicationsIntel IT Center
 
Oss the freedom dpm 2018
Oss the freedom dpm 2018Oss the freedom dpm 2018
Oss the freedom dpm 2018BIT DURG
 

Ă„hnlich wie Onnx at lf oss na 20200629 v5 (20)

Tracing The Evolution Open Source & Embedded Systems - Mr. Jayakumar Balasubr...
Tracing The Evolution Open Source & Embedded Systems - Mr. Jayakumar Balasubr...Tracing The Evolution Open Source & Embedded Systems - Mr. Jayakumar Balasubr...
Tracing The Evolution Open Source & Embedded Systems - Mr. Jayakumar Balasubr...
 
Open Source on the Mainframe Mini-Summit 2019 - How Open Source is Modernizin...
Open Source on the Mainframe Mini-Summit 2019 - How Open Source is Modernizin...Open Source on the Mainframe Mini-Summit 2019 - How Open Source is Modernizin...
Open Source on the Mainframe Mini-Summit 2019 - How Open Source is Modernizin...
 
Professional Open Source
Professional Open SourceProfessional Open Source
Professional Open Source
 
Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (...
Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (...Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (...
Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (...
 
OpenNTF Webinar 05/07/13: OpenNTF - The IBM Collaboration Solutions App Dev C...
OpenNTF Webinar 05/07/13: OpenNTF - The IBM Collaboration Solutions App Dev C...OpenNTF Webinar 05/07/13: OpenNTF - The IBM Collaboration Solutions App Dev C...
OpenNTF Webinar 05/07/13: OpenNTF - The IBM Collaboration Solutions App Dev C...
 
Open Source Governance at HP
Open Source Governance at HPOpen Source Governance at HP
Open Source Governance at HP
 
General Learning.pptx
General Learning.pptxGeneral Learning.pptx
General Learning.pptx
 
Dev Ops for systems of record - Talk at Agile Australia 2015
Dev Ops for systems of record - Talk at Agile Australia 2015Dev Ops for systems of record - Talk at Agile Australia 2015
Dev Ops for systems of record - Talk at Agile Australia 2015
 
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
 
Gdsc IIIT Surat Orientation 2022.pdf
Gdsc IIIT Surat Orientation 2022.pdfGdsc IIIT Surat Orientation 2022.pdf
Gdsc IIIT Surat Orientation 2022.pdf
 
Machine learning and Deep learning on edge devices using TensorFlow
Machine learning and Deep learning on edge devices using TensorFlowMachine learning and Deep learning on edge devices using TensorFlow
Machine learning and Deep learning on edge devices using TensorFlow
 
A Journey Down the Open Road - SymfonyCon Paris 2015
A Journey Down the Open Road - SymfonyCon Paris 2015A Journey Down the Open Road - SymfonyCon Paris 2015
A Journey Down the Open Road - SymfonyCon Paris 2015
 
Introduction to the Python
Introduction to the PythonIntroduction to the Python
Introduction to the Python
 
Python
PythonPython
Python
 
Open, Secure & Transparent AI Pipelines
Open, Secure & Transparent AI PipelinesOpen, Secure & Transparent AI Pipelines
Open, Secure & Transparent AI Pipelines
 
IPMI is dead, Long live Redfish
IPMI is dead, Long live RedfishIPMI is dead, Long live Redfish
IPMI is dead, Long live Redfish
 
Hippo nuxeo world
Hippo nuxeo worldHippo nuxeo world
Hippo nuxeo world
 
Sundance's presentation at B:RAI 2020
Sundance's presentation at B:RAI 2020Sundance's presentation at B:RAI 2020
Sundance's presentation at B:RAI 2020
 
Lessons learned in Using Intel Xeon Phi Coprocessors in Engr Applications
Lessons learned in Using Intel Xeon Phi Coprocessors in Engr ApplicationsLessons learned in Using Intel Xeon Phi Coprocessors in Engr Applications
Lessons learned in Using Intel Xeon Phi Coprocessors in Engr Applications
 
Oss the freedom dpm 2018
Oss the freedom dpm 2018Oss the freedom dpm 2018
Oss the freedom dpm 2018
 

Mehr von ISSIP

AI and Education 20240327 v16 for Northeastern.pptx
AI and Education 20240327 v16 for Northeastern.pptxAI and Education 20240327 v16 for Northeastern.pptx
AI and Education 20240327 v16 for Northeastern.pptxISSIP
 
Semiconductors 20240320 v14 corrected slides.pptx
Semiconductors 20240320 v14 corrected slides.pptxSemiconductors 20240320 v14 corrected slides.pptx
Semiconductors 20240320 v14 corrected slides.pptxISSIP
 
Semiconductors 20240320 v14 Narayanasamy event.pptx
Semiconductors 20240320 v14 Narayanasamy event.pptxSemiconductors 20240320 v14 Narayanasamy event.pptx
Semiconductors 20240320 v14 Narayanasamy event.pptxISSIP
 
UCSC-SV HCI_Masters 20240308 v13 AI.pptx
UCSC-SV HCI_Masters 20240308 v13 AI.pptxUCSC-SV HCI_Masters 20240308 v13 AI.pptx
UCSC-SV HCI_Masters 20240308 v13 AI.pptxISSIP
 
UCSC Tech4Good 20240306 v12 David_Lee Leadership_and_Career
UCSC Tech4Good 20240306 v12 David_Lee Leadership_and_CareerUCSC Tech4Good 20240306 v12 David_Lee Leadership_and_Career
UCSC Tech4Good 20240306 v12 David_Lee Leadership_and_CareerISSIP
 
Brno-IESS 20240207 service-science ai-era v12.pptx
Brno-IESS 20240207 service-science ai-era v12.pptxBrno-IESS 20240207 service-science ai-era v12.pptx
Brno-IESS 20240207 service-science ai-era v12.pptxISSIP
 
Brno-IESS 20240207 v11 service-science ai.pptx
Brno-IESS 20240207 v11 service-science ai.pptxBrno-IESS 20240207 v11 service-science ai.pptx
Brno-IESS 20240207 v11 service-science ai.pptxISSIP
 
Brno-IESS 20240205 v9 service-science ai.pptx
Brno-IESS 20240205 v9 service-science ai.pptxBrno-IESS 20240205 v9 service-science ai.pptx
Brno-IESS 20240205 v9 service-science ai.pptxISSIP
 
Brno-IESS 20240206 v10 service science ai.pptx
Brno-IESS 20240206 v10 service science ai.pptxBrno-IESS 20240206 v10 service science ai.pptx
Brno-IESS 20240206 v10 service science ai.pptxISSIP
 
NordicHouse 20240116 AI Quantum IFTF dfiscussionv7.pptx
NordicHouse 20240116 AI Quantum IFTF dfiscussionv7.pptxNordicHouse 20240116 AI Quantum IFTF dfiscussionv7.pptx
NordicHouse 20240116 AI Quantum IFTF dfiscussionv7.pptxISSIP
 
20240104 HICSS Panel on AI and Legal Ethical 20240103 v7.pptx
20240104 HICSS  Panel on AI and Legal Ethical 20240103 v7.pptx20240104 HICSS  Panel on AI and Legal Ethical 20240103 v7.pptx
20240104 HICSS Panel on AI and Legal Ethical 20240103 v7.pptxISSIP
 
Bayesian_40Years_Celebration 20231217 v2.pptx
Bayesian_40Years_Celebration 20231217 v2.pptxBayesian_40Years_Celebration 20231217 v2.pptx
Bayesian_40Years_Celebration 20231217 v2.pptxISSIP
 
NextCollab Hallucinations 202311280 v1.pptx
NextCollab Hallucinations 202311280 v1.pptxNextCollab Hallucinations 202311280 v1.pptx
NextCollab Hallucinations 202311280 v1.pptxISSIP
 
EIT-Digital_Spohrer_AI_Intro 20231128 v1.pptx
EIT-Digital_Spohrer_AI_Intro 20231128 v1.pptxEIT-Digital_Spohrer_AI_Intro 20231128 v1.pptx
EIT-Digital_Spohrer_AI_Intro 20231128 v1.pptxISSIP
 
Ntegra 20231003 v3.pptx
Ntegra 20231003 v3.pptxNtegra 20231003 v3.pptx
Ntegra 20231003 v3.pptxISSIP
 
ICServ2023 20230914 v8.pptx
ICServ2023 20230914 v8.pptxICServ2023 20230914 v8.pptx
ICServ2023 20230914 v8.pptxISSIP
 
Spohrer Open Innovation Reflections 20230911 v2.pptx
Spohrer Open Innovation Reflections 20230911 v2.pptxSpohrer Open Innovation Reflections 20230911 v2.pptx
Spohrer Open Innovation Reflections 20230911 v2.pptxISSIP
 
Spohrer Terraces 20230711 v17.pptx
Spohrer Terraces 20230711 v17.pptxSpohrer Terraces 20230711 v17.pptx
Spohrer Terraces 20230711 v17.pptxISSIP
 
Worker Productivity 20230628 v1.pptx
Worker Productivity 20230628 v1.pptxWorker Productivity 20230628 v1.pptx
Worker Productivity 20230628 v1.pptxISSIP
 
Spohrer GAMP 20230628 v17.pptx
Spohrer GAMP 20230628 v17.pptxSpohrer GAMP 20230628 v17.pptx
Spohrer GAMP 20230628 v17.pptxISSIP
 

Mehr von ISSIP (20)

AI and Education 20240327 v16 for Northeastern.pptx
AI and Education 20240327 v16 for Northeastern.pptxAI and Education 20240327 v16 for Northeastern.pptx
AI and Education 20240327 v16 for Northeastern.pptx
 
Semiconductors 20240320 v14 corrected slides.pptx
Semiconductors 20240320 v14 corrected slides.pptxSemiconductors 20240320 v14 corrected slides.pptx
Semiconductors 20240320 v14 corrected slides.pptx
 
Semiconductors 20240320 v14 Narayanasamy event.pptx
Semiconductors 20240320 v14 Narayanasamy event.pptxSemiconductors 20240320 v14 Narayanasamy event.pptx
Semiconductors 20240320 v14 Narayanasamy event.pptx
 
UCSC-SV HCI_Masters 20240308 v13 AI.pptx
UCSC-SV HCI_Masters 20240308 v13 AI.pptxUCSC-SV HCI_Masters 20240308 v13 AI.pptx
UCSC-SV HCI_Masters 20240308 v13 AI.pptx
 
UCSC Tech4Good 20240306 v12 David_Lee Leadership_and_Career
UCSC Tech4Good 20240306 v12 David_Lee Leadership_and_CareerUCSC Tech4Good 20240306 v12 David_Lee Leadership_and_Career
UCSC Tech4Good 20240306 v12 David_Lee Leadership_and_Career
 
Brno-IESS 20240207 service-science ai-era v12.pptx
Brno-IESS 20240207 service-science ai-era v12.pptxBrno-IESS 20240207 service-science ai-era v12.pptx
Brno-IESS 20240207 service-science ai-era v12.pptx
 
Brno-IESS 20240207 v11 service-science ai.pptx
Brno-IESS 20240207 v11 service-science ai.pptxBrno-IESS 20240207 v11 service-science ai.pptx
Brno-IESS 20240207 v11 service-science ai.pptx
 
Brno-IESS 20240205 v9 service-science ai.pptx
Brno-IESS 20240205 v9 service-science ai.pptxBrno-IESS 20240205 v9 service-science ai.pptx
Brno-IESS 20240205 v9 service-science ai.pptx
 
Brno-IESS 20240206 v10 service science ai.pptx
Brno-IESS 20240206 v10 service science ai.pptxBrno-IESS 20240206 v10 service science ai.pptx
Brno-IESS 20240206 v10 service science ai.pptx
 
NordicHouse 20240116 AI Quantum IFTF dfiscussionv7.pptx
NordicHouse 20240116 AI Quantum IFTF dfiscussionv7.pptxNordicHouse 20240116 AI Quantum IFTF dfiscussionv7.pptx
NordicHouse 20240116 AI Quantum IFTF dfiscussionv7.pptx
 
20240104 HICSS Panel on AI and Legal Ethical 20240103 v7.pptx
20240104 HICSS  Panel on AI and Legal Ethical 20240103 v7.pptx20240104 HICSS  Panel on AI and Legal Ethical 20240103 v7.pptx
20240104 HICSS Panel on AI and Legal Ethical 20240103 v7.pptx
 
Bayesian_40Years_Celebration 20231217 v2.pptx
Bayesian_40Years_Celebration 20231217 v2.pptxBayesian_40Years_Celebration 20231217 v2.pptx
Bayesian_40Years_Celebration 20231217 v2.pptx
 
NextCollab Hallucinations 202311280 v1.pptx
NextCollab Hallucinations 202311280 v1.pptxNextCollab Hallucinations 202311280 v1.pptx
NextCollab Hallucinations 202311280 v1.pptx
 
EIT-Digital_Spohrer_AI_Intro 20231128 v1.pptx
EIT-Digital_Spohrer_AI_Intro 20231128 v1.pptxEIT-Digital_Spohrer_AI_Intro 20231128 v1.pptx
EIT-Digital_Spohrer_AI_Intro 20231128 v1.pptx
 
Ntegra 20231003 v3.pptx
Ntegra 20231003 v3.pptxNtegra 20231003 v3.pptx
Ntegra 20231003 v3.pptx
 
ICServ2023 20230914 v8.pptx
ICServ2023 20230914 v8.pptxICServ2023 20230914 v8.pptx
ICServ2023 20230914 v8.pptx
 
Spohrer Open Innovation Reflections 20230911 v2.pptx
Spohrer Open Innovation Reflections 20230911 v2.pptxSpohrer Open Innovation Reflections 20230911 v2.pptx
Spohrer Open Innovation Reflections 20230911 v2.pptx
 
Spohrer Terraces 20230711 v17.pptx
Spohrer Terraces 20230711 v17.pptxSpohrer Terraces 20230711 v17.pptx
Spohrer Terraces 20230711 v17.pptx
 
Worker Productivity 20230628 v1.pptx
Worker Productivity 20230628 v1.pptxWorker Productivity 20230628 v1.pptx
Worker Productivity 20230628 v1.pptx
 
Spohrer GAMP 20230628 v17.pptx
Spohrer GAMP 20230628 v17.pptxSpohrer GAMP 20230628 v17.pptx
Spohrer GAMP 20230628 v17.pptx
 

KĂĽrzlich hochgeladen

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 

KĂĽrzlich hochgeladen (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 

Onnx at lf oss na 20200629 v5

  • 1. ONNX: Past, Present, and Future … with use cases Jim Spohrer (IBM), Prasanth Pulavarthi (Microsoft) Monday June 29, 2020 11:30am - 12:20pm Central Time
  • 2. Today’s Speakers 6/23/2020 2 Introduction to ONNX: Past, Present, Future Jim Spohrer (IBM) – Director, Cognitive Opentech Group/CODAIT Linux Foundation AI – Technical Advisory Council Chairperson ONNX Steering Committee Member https://www.ibm.com/opensource/centers/codait/ https://www.linkedin.com/in/spohrer/ @JimSpohrer ONNX in Practice: Why we use it and how you can too Prasanth Pulavarthi (Microsoft) – Principal Program Manager, AI Platform ONNX Steering Committee Member, ONNX Co-Founder https://www.linkedin.com/in/prasanthpulavarthi/
  • 3. Introduction to ONNX: Past, Present, and Future 6/23/202 0 3 › Past: Why ONNX? › Quick Review: ONNX Website Tour › https://onnx.ai/ › Present: Growth of Community and Tools › Quick Review: April 2020 ONNX Community Meeting › https://tinyurl.com/onnx-april2020 › Future: You, AI Landscape and ONNX! › Quick Review: Call to Action › https://landscape.lfai.foundation/
  • 6. ONNX Website Tour https://onnx.ai/ 6/23/2020 6 › Home Page › News › About › Getting Started › Supported Tools › GitHub › Gitter
  • 7. April 2020 Community Meeting https://tinyurl.com/onnx-april2020 6/23/2020 7 › Welcome and Updates › Partners › IBM Chief Data Office › Huawei Mindspore › Microsoft Runtime Optimizations › Xilinx FINN › UC Santa Cruz Genomics › Microsoft Azure OCR › Mathworks › SIGs and Working Groups › Some Highlights
  • 9. One Year Growth 96/23/2020 From March 2019 – April 2020 As of June 22, 2020 1548 162 8.5K 1.5K 148 35
  • 11. You, AI Landscape, and ONNX https://landscape.lfai.foundation/ 6/23/2020 11 › > 250 GitHub Projects › > 1.4M stars › > $12T Market Cap of companies › > $5B Investment in startups › ONNX key to interoperability and optimizations
  • 12. ONNX in Practice: Why we use it and how you can too 126/23/2020
  • 13. Microsoft 365 AI/ML at Microsoft | Research Edge
  • 14. Common problems impacting ML productivity • Inference latency is too high to put into production • Training in Python but need to deploy into a C#/C++/Java app • Model needs to run on edge/IoT devices • Same model needs to run on different hardware and operating systems • Need to support running models created in several different frameworks • (more recently) Training very large models takes too long
  • 16. Training framework Deployment target CPU GPU FPGA NPU Improving ML deployment productivity
  • 17. Training framework Deployment target CPU GPU FPGA NPU Improving ML deployment productivity ONNX Runtime Freedom to use tool of choice Strong performance and compatibility with platforms and accelerators
  • 18. Speech with ONNX Runtime Speech Services power a vast landscape of products and services at MSFT. From Office, Cortana to Xbox and Bing, the ML models service hundreds of millions of requests a month. ONNX Runtime powers inferencing for Speech at high scale in production environments including Cognitive Services, on-premise solutions, and micro services Agility: 10x reduction in time to productize new models Performance: 10% accuracy and latency improvements
  • 19. Azure Cognitive Services using ONNX Runtime
  • 20. Azure Kinect with ONNX Runtime Desktop scenario Body Tracking SDK is installed on your PC Reduced the First Frame Processing Time by 7.8x on the GTX 1070 with ONNX Runtime with CUDA execution provider. Body Tracking SDK Azure Kinect developer kit for tracks bodies in 3D with advanced AI sensors that use sophisticated computer vision and speech models. IoT scenario (in progress) Body Tracking SDK is installed on Jetson TX2 (ARM CPU + Nvidia GPU)
  • 21. ONNX model portability with ONNX Runtime model.onnx TensorRTOpenVINO model.onnx CUDA model.onnx
  • 22. WindowsML with ONNX Runtime • Windows API for machine learning inference • Input models are ONNX models for broad framework support • ONNX Runtime as engine with DirectML acceleration
  • 23. Azure Customers with ONNX Runtime Financial ISV • Uses AI for economic scenario modeling • Train models in Python with SciKit-Learn and PyTorch but production environment is pure C# • ONNX Runtime with C# API was a good fit (bonus 2x speedup)
  • 24. Transformer Inferencing › Hugging Face provides popular transformer models, like BERT, GPT2, etc. › Can be trained with either PyTorch or TensorFlow › Hugging Face module transformers.convert_graph_to_onnx exports ONNX models › ONNX Runtime does inferencing with speedup whether you are using CPU or GPU
  • 25. New: Transformer Training › Integrates with PyTorch (and TensorFlow) to accelerate training and fine- tuning of large transformer models › Incorporates latest algorithms and techniques such as DeepSpeed/ZeRO and Parasail/Adasum › Used by Office, Visual Studio, and others at Microsoft › Available as preview now 256/23/2020
  • 27. Pre-trained ONNX models: https://onnx.ai/models
  • 29. Examples: Model Conversion python -m tf2onnx.convert --input frozen_model.pb --inputs input_batch:0, lengths:0 --outputs top_k:1 --fold_const --opset 8 --output deepcc.onnx import sklearn import skl2onnx initial_type = [('float_input', FloatTensorType([1, 4]))] onnx_model = skl2onnx.convert_sklearn(pipe, initial_types=initial_type) with open("logreg_iris.onnx", "wb") as f: f.write(onnx_model.SerializeToString())
  • 31. Using ONNX Runtime C# …… also available for C, C++, Java, and JavaScript (Node.js)
  • 33. ONNX has open governance › Annual Steering Committee election › Technical decisions made by SIGs and Working Groups › All meetings open to everyone › Calendar: https://onnx.ai/calendar › GitHub: https://github.com/onnx › Gitter: https://gitter.com/onnx › Mailing List: https://lists.lfai.foundation/g/onnx-announce 336/23/2020
  • 34. Thank You! Q & A 346/23/2020 Resources https://onnx.ai https://onnxruntime.ai
  • 35. Legal Notices › The Linux Foundation, The Linux Foundation logos, and other marks that may be used herein are owned by The Linux Foundation or its affiliated entities, and are subject to The Linux Foundation’s Trademark Usage Policy at https://www.linuxfoundation.org/trademark-usage, as may be modified from time to time. › Linux is a registered trademark of Linus Torvalds. Please see the Linux Mark Institute’s trademark usage page at https://lmi.linuxfoundation.org for details regarding use of this trademark. › Some marks that may be used herein are owned by projects operating as separately incorporated entities managed by The Linux Foundation, and have their own trademarks, policies and usage guidelines. › TWITTER, TWEET, RETWEET and the Twitter logo are trademarks of Twitter, Inc. or its affiliates. › Facebook and the “f” logo are trademarks of Facebook or its affiliates. › LinkedIn, the LinkedIn logo, the IN logo and InMail are registered trademarks or trademarks of LinkedIn Corporation and its affiliates in the United States and/or other countries. › YouTube and the YouTube icon are trademarks of YouTube or its affiliates. › All other trademarks are the property of their respective owners. Use of such marks herein does not represent affiliation with or authorization, sponsorship or approval by such owners unless otherwise expressly specified. › The Linux Foundation is subject to other policies, including without limitation its Privacy Policy at https://www.linuxfoundation.org/privacy and its Antitrust Policy at https://www.linuxfoundation.org/antitrust-policy. each as may be modified from time to time. More information about The Linux Foundation’s policies is available at https://www.linuxfoundation.org. › Please email legal@linuxfoundation.org with any questions about The Linux Foundation’s policies or the notices set forth on this slide. 6/23/2020 35

Hinweis der Redaktion

  1. Link: https://sched.co/c3WZ Abstract: https://events.linuxfoundation.org/open-source-summit-north-america/program/schedule/ ONNX: Past, Present, and Future ONNX is now a graduated project in Linux Foundation AI. Are you a developer looking to operationalize machine learning models from different sources without compromising performance? Are you a data scientist who wishes there was a way to use the machine learning framework you want without worrying about how to deploy it to a variety of end points on cloud and edge? We'll describe ONNX, which provides a common format supported by many popular AI frameworks and hardware. Learn about ONNX and its core concepts and find out how to create ONNX models using frameworks like TensorFlow, PyTorch, and SciKit-Learn. We'll explain how to deploy models to cloud or edge using the high-performance, cross-platform ONNX Runtime, which leverages accelerators like NVIDIA TensorRT. Come learn how ONNX is being used in other LF AI projects, as well as about ONNX Work Groups that you can participate in. Finally, this talk will include case studies of Microsoft teams improving latency and reducing costs, thanks to ONNX. Speakers: Jim Spohrer IBM IBM Cognitive Opentech Group Jim Spohrer directs IBM’s open source Artificial Intelligence developer ecosystem effort. He led IBM Global University Programs, co-founded Almaden Service Research, and was CTO Venture Capital Group. After his MIT BS in Physics, he developed speech recognition systems at Verbex (Exxon) before receiving his Yale PhD in Computer Science/AI. In the 1990’s, he attained Apple Computers’ Distinguished Engineer Scientist and Technologist role for next generation learning platforms. With over ninety publications and nine patents, he received the Gummesson Service Research award, Vargo and Lusch Service-Dominant Logic award, Daniel Berg Service Systems award, and a PICMET Fellow for advancing service science. Prasanth Pulavarthi Microsoft AI Platform at Microsoft Prasanth Pulavarthi is Principal Program Manager, AI Platform and Co-Founder of ONNX. With nearly two decades of leading software development projects, Prasanth has a MS Computer Science from Stanford. ONNX is a now a graduated projected in Linux Foundation Artificial Intelligence. Monday June 29, 2020 11:30am - 12:20pm Conference Room 10   AI/ML/DL hosted by LF AI, Machine and Deep Learning (Framework, Libraries, Platform, Tools) Skill Level Entry level
  2. Nick Pentreath Presentation:
  3. What is ONNX? Open Neural Network Exchange Advantages Jagreet Kaur Gill | Data Science | 3 mins read | May 07, 2019 https://www.xenonstack.com/blog/onnx/
  4. Intel UpSquare
  5. Here are some of the popular frameworks that support conversion to ONNX. For some of these, like PyTorch, ONNX format export is built in natively, and for others, like Tensorflow or Keras, there are separate installable packages that handle the conversion. Support is available for popular models including object detection such as Mask RCNN and Faster RCNN, speech, and NLP including BERT and Transformer models.