Chapter 4 Introduction To Huawei Cloud ModelArts
Chapter 4 Introduction To Huawei Cloud ModelArts
Foreword
⚫ ModelArts is a one-stop AI development platform. It provides data
preprocessing, semi-automated data labeling, large-scale
distributed training, automated model generation, and model
deployment on devices, edge devices, and the cloud. It helps you
develop and deploy models quickly and manage the AI
development lifecycle for machine learning and deep learning.
⚫ This chapter describes the main functions of Huawei ModelArts,
helping you better understand and use it.
1
Objectives
⚫ Upon completion of this course, you will understand:
Basic concepts of ModelArts.
Functions and usage of ModelArts.
2
Contents
1. ModelArts Overview
2. ModelArts Functions
3
From AI+ to +AI : AI Explores Industry Best Practices
AI+ +AI
Exploring AI capabilities AI is empowering enterprises' core
production systems
EfficientNet model accuracy:
Image 98.7% for the top 5 labels,
Smart city Smart campus
classification surpassing the human-level
accuracy of 96%
.
accuracy of 94.17%
4
A Long Way to Go from the Thought of "AI + Industry"
to Product-based Applications
Algorithm vs. Precision iteration acceleration
(image classification as an example)
AI development difficulties AI implementation challenges
Fast algorithm update; difficult
algorithm selection and tuning
50% 100+
Annual growth rate of Annual algorithm iteration Difficult data Difficult industry Difficult knowledge
global papers on AI in a single domain acquisition knowledge distillation computing
5
Global AI Research Deployment: Building Core
Capabilities Around Computing, Algorithm, and Data
Governance
Ireland
Video algorithm
Algorithm
Minsk, Russia Vancouver/Toronto/Ottawa/Montreal Computer
vision algorithm, interpretability, and security
Inference and decision-making • Deep learning
Germany algorithm center and big data Vancouver
Streaming, cryptography and • Data mining
competence center Big data scheduling algorithm competence
security, and simulator • Knowledge graph
center, hardware acceleration, data
France • Cognitive computing
Mathematics lake/data lineage, and supercomputing
research Israel competence center
Algorithm acceleration
Hong Kong, Shenzhen, Data
Beijing, Shanghai, Hangzhou,
governance Compute
Xi'an, and Nanjing
Huawei power
India • Big data mgmt platform
Big data open
source competence Singapore
• Mass data storage
platform
AI •• Ascend processor
Kunpeng processor
center, CarbonData Algorithm and security
• Intelligent data lake
AI platform/
Algorithm
framework
• ModelArts
• MindSpore
6
Building Powerful AI Technologies for ModelArts by
Continuous Innovation and Research
No.1 on MS COCO
No. 1 on ImageNet-1000 56.8% single-model accuracy and 58.8%
The highest accuracy of 85.8% on the multi-model accuracy on MS-COCO, one of
industry's most widely used, large-scale the most widely used large-scale object
image classification dataset
Intelligent detection datasets
Huawei Cloud
EI
7
ModelArts: Ascend-based Full-Stack AI Platform
Fully controllable AI technology stack Advantages
environment
Distributed AI scientific Built-in Ascend
Double first
Data labeling Distributed • A single task supports
debugging computing algorithms
Data AI asset optimization ≥ 4,096 cards
AI training AI inference
management marketplace
• A single cluster supports
Full-stack AI
Same 965
software synergy (images/second)
In-house chips with intellectual property
infrastructure
computing
Hardware
Planning Civil
Electricity
Cooling, 800+ projects & practices in 10+ industries,
and design works ventilation, etc
creating new value with AI software
8
ModelArts: Core Technologies for AI Adoption
Multimodal knowledge Adversarial learning and
Knowledge graph Auto labeling
representation sample generation
Industry expression
Reduce 𝑓𝑇𝐼 →𝑇𝐴
AI development
9
ModelArts: AI Enablement Platform That Drives Intelligent
Upgrade Across Industries
City Transport Manufacturing Healthcare Finance Network Scientific Meteorology Water e-Gov
research
800+ Huawei projects, AI entered 30%+ of enterprise production systems, 18% higher profitability
Resource
scheduling AI Gallery
engine
MoXing MLOps
Model evaluation
ExeML
Elastic training
10
ModelArts Empowers RFCx to Conserve
Tropical Rainforests
11
Contents
1. ModelArts Overview
2. ModelArts Functions
2.1 ExeML
2.2 Development Environment
2.3 Data Management
2.4 Training Platform
2.5 Inference Platform
2.6 AI Gallery
12
ModelArts Service Overview
13
ExeML Engine for Creating an AI Model in Three Steps
Step 1:
Step 2:
Train a model.
Zero
AI experience Step 3:
Evaluate and
publish the model.
The training job is completed within 20 minutes.
14
Contents
1. ModelArts Overview
2. ModelArts Functions
2.1 ExeML
2.2 Development Environment
2.3 Data Management
2.4 Training Platform
2.5 Inference Platform
2.6 AI Gallery
15
ModelArts notebook for seamless in-cloud and on-
premises collaboration
16
ModelArts CodeLab Makes AI Exploration and
Teaching
•
Easier
In-cloud notebook, case access and sharing
in seconds Keywords
• Serverless instance management for Out-of-the-
Case access Flexible
automated resource reclamation, which is free box usage
Free AI Sharing and
• Free compute power and on-demand change compute power exploration
of specifications
17
ModelArts IDE SDKs
• Code development and debugging: Local IDE + ModelArts
plugins for remote development, tailored to your needs Keywords
• Cloud-based development environment with AI compute
Remote
resources, cloud storage, and built-in AI engines ModelArts IDE
development
• Customizable runtime environment: Development Multi-person Flexible AI Efficient
environment saved as an image for training and inference collaboration compute resources development
ModelArts on cloud
Developers' local Remote
environment Development
development
environment
Data
+ ModelArts plugins
management
Training system
18
Contents
1. ModelArts Overview
2. ModelArts Functions
2.1 ExeML
2.2 Development Environment
2.3 Data Management
2.4 Training Platform
2.5 Inference Platform
2.6 AI Gallery
19
Data Management
20
Contents
1. ModelArts Overview
2. ModelArts Functions
2.1 ExeML
2.2 Development Environment
2.3 Data Management
2.4 Training Platform
2.5 Inference Platform
2.6 AI Gallery
21
Dual-stack AI computing power: Stable and Secure
Computing Base, Fast and Simple Model Training
GPU and Ascend dual-stack AI computing power supports the management of 10,000-node compute
clusters.
Large-scale distributed training accelerates foundation model development.
桂洵
22
Integrated Development and Training with
Intelligent Fault Diagnosis
Algorithm debugging Before training In training After training
IDE-based debugging FAQs Job exception prompts Job failure cause prompts
Large-scale training: foundation model development, AIGC, autonomous Small-scale training: industrial AI application
driving, and more development
• Large model size, complex logic, ① Multiple nodes, long training time, and • Model development ① Insufficient problem
and multiple parallel modes increased likelihood of errors using open-source locating
• Large-scale data trained across ② Lack of tools and inefficient fault locating algorithms ② Insufficient
multiple nodes ③ Few monitoring metrics for performance • Lack of AI development performance analysis
analysis professionals
23
Contents
1. ModelArts Overview
2. ModelArts Functions
2.1 ExeML
2.2 Development Environment
2.3 Data Management
2.4 Training Platform
2.5 Inference Platform
2.6 AI Gallery
24
Flexible Model Deployment on Devices, Edge
Devices, or the Cloud
Real-time service
API ▪ High throughput, low latency, and
automatic scale-in
▪ Inference optimization
Batch
Batch service
▪ Batch data inference task
▪ Efficient distributed computing
Edge model optimization
(devices, latency, and accuracy)
AI model Edge service
Model compression ▪ In-depth integration with IEF
▪ Support for Huawei Ascend AI chips
Network Test bed
Model pruning
distillation verification
Model quantization Edge service
▪ Support for Huawei HiLens, SDC, and CloudLink
25
Model Repositories for Unified Management of
Models with Different Frameworks and Functions
from Different Vendors
Customer models Huawei-built models Third-party algorithm vendors
Highlights
⚫ AI algorithms with different frameworks and Training
Models/Images Models/Images
functions from different vendors can be centrally jobs/Models/Images
managed.
⚫ Third-party AI algorithms can be quickly released
as inference services through Docker images. Model repository
⚫ Algorithms can be quickly released as inference
services in the form of model files.
01 02 03
⚫ Large model deployment and model update
within seconds Importing Importing Importing a
a model a model model
⚫ Separate maintenance and upgrade of different from a from a from a custom
AI models training job template image
⚫ You can customize the model inference
specifications according to your needs. The
supported granularity of CPU, GPU, and Ascend
310 is 0.01. The memory allocation has a Trained models: You can Model templates: Each Custom images: You can
granularity of 1 MB. import ModelArts template corresponds to a create a Docker image using
⚫ Easy-to-use operations and management on UI training job results. specific AI engine and your model or upload your
inference mode. With the model to OBS and import it
templates, you can quickly as a model specification
import models to ModelArts. package.
26
Contents
1. ModelArts Overview
2. ModelArts Functions
2.1 ExeML
2.2 Development Environment
2.3 Data Management
2.4 Training Platform
2.5 Inference Platform
2.6 AI Gallery
27
AI Gallery: Bridging Supply and Demand in the
AI Ecosystem
Supply AI Gallery Demand
AI Provide AI use cases to AI use cases Leverage AI use cases to
gain profit and reputation. solve business problems.
implementation (Scenario-specific AI asset portfolios,
and ways to deploy them)
AI enterprises and AI assets, which can be
Industry customers
senior developers combined to build AI use cases
ModelArts
Data processing Code development Algorithm management Model training Model management Service deployment
28
Building a Comprehensive Learning System for AI
Developers
Comprehensive courses One-stop learning experience Follow-up teaching plans
AI concept, structure, and development Python programming knowledge Action recognition Wildlife identification
AI model creation without writing code Domain knowledge application Lane line detection More
29
Q&A
1. Which of the following function modules are provided by
ModelArts? ( )
A.ExeML
B. Data management
C. Inference platform
D.AI Gallery
30
Summary
• This chapter describes the main functions of Huawei one-stop
development platform ModelArts, including ExeML, data
management, development environment, training, inference, and
AI Gallery.
31
Acronyms and Abbreviations
⚫ Bidirectional Encoder Representations from Transformers (BERT),
a pre-trained language representation model
⚫ Recurrent Neural Network (RNN)
32
Thank You.
Copyright © 2024 Huawei Technologies Co., Ltd. All Rights Reserved.
The information in this document may contain predictive statements including,
without limitation, statements regarding the future financial and operating results,
future product portfolio, new technology, etc. There are a number of factors that
could cause actual results and developments to differ materially from those
expressed or implied in the predictive statements. Therefore, such information is
provided for reference purpose only and constitutes neither an offer nor an
acceptance. Huawei may change the information at any time without notice.
33