Running Large-Scale Machine Learning Experiments in the Cloud

Total Page:16

File Type:pdf, Size:1020Kb

Running Large-Scale Machine Learning Experiments in the Cloud O’REILLY Artificial Intelligence Conference, San Jose 2019 Running large-scale machine learning experiments in the cloud Shashank Prasanna, Amazon Web Services @shshnkp September 12, 2019 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda • Machine Learning, experiments and the scientific method • Scaling challenges with machine learning setups • Containers technologies for large-scale machine learning • Demo 1: Hyperparameter optimization with Amazon SageMaker • Demo 2: Custom designed experiments with Amazon SageMaker • Demo 3: Hyperparameter optimization with Kubernetes, Kubeflow and Katib • Summary and additional resources © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Experimentation in machine learning Data acquisition Data preparation for Design and run curation and labeling training experiments Model optimization Distributed Deployment and validation training © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why do we run experiments? The scientific method Question Hypothesis empirical procedure to determine Experiment whether observations agree or conflict with our hypothesis Interpret Iterate © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why do we run machine learning experiments? Machine learning researcher may want to: Question • Identify factors that affect model performance Hypothesis • Explain the root causes of performance Experiment • Choose between alternate models Interpret • Study variability and robustness of a model Iterate • Pareto-optimal model (e.g. accuracy vs. complexity) Hyperparameter optimization © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. en.wikipedia.org/wiki/Scientific_method Machine learning experiments Response Machine Learning factors System Controlled Factors: Responses : • ML algorithms (trees, glm, dnn, …) • Generalization accuracy, error • Datasets and features • Variability • DNN network architectures • Reproducibility • Model hyperparameters • Model execution time © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • others Common machine learning setups On-premises 1. Code & frameworks CLI 2. Compute (CPUs, GPUs) 3. Storage EC2 instance CLI DL AMI 8x GPUs Amazon S3 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Most experiment runs can be scaled out Cluster EC2 instance CLI CLI ML experiment runs are computationally expensive, but are usually embarrassingly parallel jobs © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. …but there are challenges to scaling Cluster Code and dependencies Cluster CLI management Infrastructure management © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Machine learning stack is complex • “My code requires building several dependencies from source” • “My code isn’t taking advantage the GPU/GPUs” • “is cudnn, nccl installed, is it the right version?” • “My code is running slow on CPUs” • “oh wait, is it taking advantage of AVX instruction set ?!?” • “I updated my drivers and training is now slower/errors out” • “My cluster runs a different version of framework/linux distro” Makes portability, collaboration, scaling experiment runs really really hard! © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. My code TensorFlow 1.13 TensorFlow 1.14 Keras scikit-learn Keras scikit-learn horovod pandas horovod pandas numpy openmpi numpy openmpi scipy Python scipy Python others… Multiple others… points CPU:DevelopmentMkl 2019 v3 of failure CPU: MklTraining2019 v2 GPU: systemcudnn 7.1 GPU: cudnncluster7.5 cublas 10 cublas 10 nccl 2 nccl 2.4 CUDA toolkit 10 CUDA toolkit 10 NVIDIA drivers 436.15 NVIDIA drivers 410.68 Ubuntu 16.04 Centos 7 Development Training © 2019, Amazonsystem Web Services, Inc. or its Affiliates. All rights reserved. cluster TensorFlow Packages: Keras scikit- learn horovod pandas numpy Containers openmpi TensorFlow scipy Container Python Image for others… ML environments that are: Machine CPU: mkl Learning GPU: cudnn cublas Nccl CUDA toolkit Container runtime NVIDIA drivers Host OS © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Infrastructure TensorFlow TensorFlow Keras scikit- Keras scikit- learn learn horovod horovod pandas pandas numpy numpy TensorFlow TensorFlow openmpi push openmpi scipy Container scipy Container Python Image pull Python Image others… others… CPU: mkl CPU: mkl GPU: cudnn GPU: cudnn cublas cublas Nccl Nccl CUDA toolkit CUDA toolkit Container Container runtime registry Container runtime NVIDIA drivers NVIDIA drivers Host OS Host OS © 2019, AmazonDevelopment Web Services, Inc. or its Affiliates.system All rights reserved. Training cluster AWS Deep Learning Containers https://docs.aws.amazon.com/dlami/latest/devguide/deep-learning-containers-images.html © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Challenges with scaling ML experiments Cluster ML code and dependencies Cluster CLI management Infrastructure management © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ML infrastructure and cluster management Amazon SageMaker ML services Fully-managed service that covers the entire machine learning workflow Jupyter notebook high performance Large-scale Optimization One-click Fully managed with instances algorithms training deployment auto-scaling Image registry Container image repository Management Amazon Elastic Amazon Elastic Deployment, scheduling, Container Service Kubernetes Service Amazon Elastic scaling, and management of (Amazon ECS) (Amazon EKS) Container Registry containerized applications (Amazon ECR) Compute Amazon EC2 Where the containers run © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DEMO 1: Random Search for hyperparameter optimization with Amazon SageMaker Approach: • Bring Your Own Training Script • Choose hyperparameter search strategy (Bayesian, random, custom) • Launch a tuning job Learning rate Between 0.0001 and 0.1 on log scale Batch size 32, 128, 512, 1024 Momentum Between 0.9 and 0.99 Optimizer SGD, Adam © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Hyperparameter optimization with Amazon SageMaker Pre-built SageMaker SDK Deep Learning cifar10.py Container Container registry Training script 1 Instance type (CPU, GPU), … 2 Hyperparameter ranges Number of parallel jobs (10, 100, …) 3 Amazon S3 Objective metric, … Fully-managed SageMaker cluster © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DEMO 2: Custom experiment with bring your own container on Amazon SageMaker Approach: • Bring Your Own Docker Container • Specify parameter values • Launch a tuning job © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Large-scale experiments with Amazon SageMaker Custom container Docker build SageMaker SDK Code files Container registry Build docker image 1 Instance type (CPU, GPU), … 2 Specify parameters to vary Number of parallel jobs (10, 100, …) Amazon S3 3 Fully-managed SageMaker cluster © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DEMO 3: Hyperparameter optimization with Amazon EKS, Kubeflow and Katib Hyperparameter Tuning and Neural Architecture Search Machine learning workflows on Kubernetes Amazon Elastic Kubernetes Service (Amazon EKS) © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Create a Kubernetes cluster Create cluster Submit a training jobs eksctl create cluster \ --name eks-gpu \ --version 1.12 \ --region us-west-2 \ --nodegroup-name gpu-nodes \ --node-type p3.8xlarge \ CLI --nodes 8 \ --timeout=40m \ --ssh-access \ --ssh-public-key=<public-key> \ --auto-kubeconfig SUMMIT © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Hyperparameter optimization with Kubeflow and Katib Custom container SageMaker SDK Code files Container registry Create a Kubernetes cluster 1 Install Kubeflow 2 Build custom container 3 Specify hyperparameter search space Amazon EKS cluster 4 © 2019, Amazon Web Services, Inc. or its Affiliates.Launch All rights reserved. Takeaways • Apply scientific method to machine learning experiments Code and • Embrace containers – they let you build dependencies l Cluster management • Leverage services such as Amazon SageMaker and Kubernetes + Kubeflow Infrastructure management to manage large-scale ML workloads. • Choose fully-managed or self-managed based on needs © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demos: github.com/shashankprasanna/oreilly-ai-conference-sanjose19.git Resources Documentation Examples on GitHub AWS ML Blog docs.aws.amazon.com/sagemaker/ github.com/awslabs/ aws.amazon.com/blogs/machine- latest/dg/whatis.html amazon-sagemaker-examples learning/category/artificial-intelligence/ sagemaker/ © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you and happy experimenting! Shashank Prasanna, Sr. Technical Evangelist, AI/ML Please rate Questions? Happy to help: this session! Twitter: @shshnkp LinkedIn: linkedin.com/in/shashankprasanna © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved..
Recommended publications
  • Running ML/DL Workloads Using Red Hat Openshift Container Platform V3.11 Accelerate Your ML/DL Projects Platform Using Kubeflow and NVIDIA Gpus
    Running ML/DL Workloads Using Red Hat OpenShift Container Platform v3.11 Accelerate your ML/DL Projects Platform using Kubeflow and NVIDIA GPUs January 2021 H17913.2 White Paper Abstract This white paper describes how to deploy Kubeflow v0.5 on Red Hat OpenShift Container Platform and provides recommendations for achieving optimal performance for ML/DL workloads using the latest NVIDIA Tesla GPUs. Dell Technologies Solutions Copyright The information in this publication is provided as is. Dell Inc. makes no representations or warranties of any kind with respect to the information in this publication, and specifically disclaims implied warranties of merchantability or fitness for a particular purpose. Use, copying, and distribution of any software described in this publication requires an applicable software license. Copyright © 2021 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Intel, the Intel logo, the Intel Inside logo and Xeon are trademarks of Intel Corporation in the U.S. and/or other countries. Other trademarks may be trademarks of their respective owners. Published in the USA 01/21 White Paper H17913.2. Dell Inc. believes the information in this document is accurate as of its publication date. The information is subject to change without notice. 2 Running ML/DL Workloads Using Red Hat OpenShift Container Platform v3.11 Accelerate your ML/DL Projects Platform using Kubeflow and NVIDIA GPUs White Paper Contents Contents Executive summary ........................................................................................................................ 4 Solution architecture ...................................................................................................................... 6 GPU accelerated TensorFlow training using TFJobs .................................................................. 9 Installing the GPU device plug-in ...............................................................................................
    [Show full text]
  • Application Development with Azure
    Application Development with Azure Karim Vaes Specialist – Azure Application Development 0032 497 219577 @kvaes Agenda • Kubernetes Kubernetes Kubernetes momentum “By 2020, more than 50% of enterprises Larger companies will run mission-critical, containerized are leading the cloud-native applications in production.” adoption. 77% For the organizations running Kubernetes today, 77%1 of those with more than 1,000 developers are running it in production. 1Heptio: state of Kubernetes 2018 What’s behind the growth? Kubernetes: the leading orchestrator shaping the future app development and management It’s widely used It’s vendor-neutral It’s community-supported Kubernetes is in production for A variety of cloud providers There’s a huge community of active global companies across industries1 offer robust Kubernetes support contributors supporting Kubernetes3 24,000 1.1 million contributors contributions since 2016 since 2016 1Kubernetes.io. “Kubernetes User Case Studies.” 2CNCF. “Kubernetes Is First…” 3CNCF. Keynote address. Azure Kubernetes Service (AKS) Ship faster, operate easily, and scale confidently with managed Kubernetes on Azure Manage Kubernetes Accelerate Build on an Run anything, with ease containerized enterprise-grade, anywhere development secure foundation Top scenarios for Kubernetes on Azure Lift and shift Machine Microservices IoT Secure DevOps to containers learning Cost saving Agility Performance Portability Automation without refactoring Faster application Low latency Build once, Deliver code faster and your app development processing run anywhere securely at scale Azure Kubernetes momentum Trusted by thousands of customers 30x Azure Kubernetes Service usage grew 30x since it was made generally available in June 2018 Dated November 2018 How Kubernetes works Kubernetes control Worker node Internet kubelet kube-proxy 1.
    [Show full text]
  • Chapter 1 - Overview
    Reference architecture Chapter 1 - Overview This document provides a complete reference architecture guide for infrastructure required for machine learning use cases. This document specifically covers open source machine learning software that includes Kubeflow using Charmed Kubernetes solution on Dell EMC hardware delivered by Canonical. This includes Dell EMC PowerEdge servers for workloads and storage based on Intel® Xeon® Scalable Processors and Dell EMC Networking. This guide discusses the Dell EMC hardware specifications and the tools and services to set up both the hardware and software, including the foundation cluster and the Kubernetes cluster to run machine learning workloads. It also covers other tools used for the monitoring and management of the cluster in detail and how all these components work together in the system. The guide also provides the deployment steps and references to configuration and automation scripts developed by Dell EMC and Canonical for the deployment process. Document ID Revisions Revisions Date Description March 2020 Initial release Acknowledgements This paper was produced by the following: Author: Andrey Grebennikov Support: Other: The information in this publication is provided “as is.” Dell Inc. makes no representations or warranties of any kind with respect to the information in this publication, and specifically disclaims implied warranties of merchantability or fitness for a particular purpose. Use, copying, and distribution of any software described in this publication requires an applicable software license. Copyright © Dell Inc. or its subsidiaries. All Rights Reserved. Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners.
    [Show full text]
  • Tensorflow 2.0 and Kubeflow for Scalable and Reproducable Enterprise Ai
    TENSORFLOW 2.0 AND KUBEFLOW FOR SCALABLE AND REPRODUCABLE ENTERPRISE AI Romeo Kienzler1, 2, Holger Kyas2, 3, 4 1IBM Center for Open Source Data and AI Technologies, 505 Howard St, San Francisco, CA, USA 2Berne University of Applied Sciences, Technology and Informatics, Wankdorffeldstrasse 102, 3014 Berne, Switzerland 3Open Group, 548 Market St #54820, San Francisco, CA 94104-5401 4Helvetia Insurance Switzerland, St. Alban-Anlage 26, 4002 Basel, Switzerland ABSTRACT Towards the End of 2015 Google released TensorFlow 1.0, which started out as just another numerical library, but has grown to become a de-facto standard in AI technologies. TensorFlow received a lot of hype as part of its initial release, in no small part because it was released by Google. Despite the hype, there have been complaints on usability as well. Especially, for example, the fact that debugging was only possible after construction of a static execution graph. In addition to that, neural networks needed to be expressed as a set of linear algebra operations which was considered as too low level by many practitioners. PyTorch and Keras addressed many of the flaws in TensorFlow and gained a lot of ground. TensorFlow 2.0 successfully addresses these complaints and promises to become the go-to framework for many AI problems. This paper introduces the most prominent changes in TensorFlow 2.0 targeted towards ease of use followed by introducing TensorFlow Extended Pipelines and KubeFlow in order to illustrate the latest TensorFlow and Kubernetes ecosystem movements towards simplification for large scale Enterprise AI adoption. KEYWORDS Artificial Intelligence, TensorFlow, Keras, Kubernetes, KubeFlow, TFX, TFX Pipelines 1.
    [Show full text]
  • Using Ipus from Docker Release 1.4.0
    Using IPUs from Docker Release 1.4.0 Graphcore Ltd Dec 08, 2020 CONTENTS 1 Introduction 1 2 Initial setup 2 3 Using gc-docker 3 3.1 Loading docker images.............................................3 3.2 Verifying IPU access from inside container..................................4 3.3 Mounting directories from the host......................................5 3.4 Setting environment variables.........................................5 4 Running a TensorFlow application on an IPU6 5 Extending the images 7 6 Further reading 8 7 Trademarks & copyright 9 i CHAPTER ONE INTRODUCTION This guide explains how you can run applications in Docker on a Linux machine with one or more physical IPU devices. Prerequisites: • A machine with IPU devices • Ubuntu 18.04 / CentOS 7.6 1 CHAPTER TWO INITIAL SETUP First check if your machine has the IPU device driver installed. You can check this is loaded and running with the following command: $ modinfo ipu_driver If the driver is are installed and running, you should see something similar to: $ modinfo ipu_driver filename: /lib/modules/4.15.0-55-generic/updates/dkms/ipu_driver.ko version: 1.0.39 description: IPU PCI Driver author: Graphcore Limited license: GPL srcversion: 49FFB7D8556EB58899AE41A alias: pci:v00001D95d00000003sv*sd*bc*sc*i* alias: pci:v00001D95d00000002sv*sd*bc*sc*i* alias: pci:v00001D95d00000001sv*sd*bc*sc*i* depends: retpoline: Y name: ipu_driver vermagic: 4.15.0-55-generic SMP mod_unload parm: memmap_start:array of ulong parm: memmap_size:array of ulong If so, proceed to the next section. If it returns an error along the lines of: $ modinfo ipu_driver modinfo: ERROR: Module ipu_driver not found. You will need to install the driver.
    [Show full text]
  • Reference Architecture for Kubeflow on Openshift Accelerate ML/DL Workloads Using Kubeflow and Poweredge Servers
    Solution brief Reference Architecture for Kubeflow on OpenShift Accelerate ML/DL workloads using Kubeflow and PowerEdge servers Artificial intelligence (AI) and its subsets, machine learning (ML) and deep learning (DL), Customer are gaining widespread adoption for use cases such as computer vision, speech recognition and natural language processing (NLP). Integrating production‑grade AI technologies Results in well‑defined platforms within the protection of the data center can facilitate wider adoption of advanced computing, extending investments by supporting AI use cases as well as augmenting the resources available to data science teams. 2 hours vs. But not every IT organization has the time and resources to research, integrate and test all the components required to deploy a customized system to run AI workloads. Building 9 months a production‑ready AI system involves combining various components, often from different to run analysis1 vendors, and integrating and managing these disparate pieces. As well, deployments are often tied to a specific cluster, so that moving models — for example, between laptops and cloud clusters or from DevOps to production and back — significantly increases 218% ROI complexity and the chance for human errors. over 3 years2 Kubeflow together with the Red Hat® OpenShift® Container Platform help address these challenges. Kubeflow is an open‑source Kubernetes®‑native platform designed 20 million to accelerate ML workloads. It’s a composable, scalable, portable stack that includes images used to train a components and automation features to integrate ML tools, so they work together to deep neural network3 create a cohesive pipeline that makes it easy to deploy ML applications at scale.
    [Show full text]
  • CNCF Webinar Taming Your AI/ML Workloads with Kubeflow
    CNCF Webinar Taming Your AI/ML Workloads with Kubeflow The Journey to Version 1.0 David Aronchick (Microsoft) - @aronchick Elvira Dzhuraeva (Cisco) - @elvirafortune Johnu George (Cisco) - @johnugeorge SNARC Maze Solver Minsky / Edmonds (1951) 2000 3 2006 4 2007 5 2008 6 2010 7 2013 8 2014 9 2015 10 Today 11 One More ML ???Solution??? 12 One More ML ???Solution??? 13 14 GitHub Natural Language Search Prototype MVP With Demo In Jupyter Demo with front-end mockup with Experiments.Github.Com: +3 Months Notebook: 2 Weeks blog post: +3 Days https://github.com/hamelsmu/code_search https://towardsdatascience.com/semantic-code-se https://experiments.github.com/ arch-3cd6d244a39c 15 Resource Provisioning Numpy Scheduling Experiment Tracking Jupyter Access Control Declarative Deployment TF.Transform Drivers HP Tuning TF.Estimator Orchestration Profiling Docker Lifecycle Management Validation Seldon Networking KubeCon 2017 17 Resource Provisioning Numpy Scheduling Experiment Tracking Jupyter Access Control Declarative Deployment TF.Transform Drivers HP Tuning TF.Estimator Orchestration Profiling Docker Lifecycle Management Validation Seldon Networking Mission (2017) Make it Easy for Everyone to Develop, Deploy and Manage Portable, Distributed ML on Kubernetes 20 Kubeflow 2018 Mission (2018) Make it Easy for Everyone to Develop, Deploy and Manage Portable, Distributed ML on Kubernetes 23 Kubeflow 2019 Mission (2019) Make it Easy for Everyone to Develop, Deploy and Manage Portable, Distributed ML on Kubernetes 26 Mission (2020) Make it Easy for Everyone
    [Show full text]
  • Kubeflow: End to End ML Platform Animesh Singh
    Kubeflow: End to End ML Platform Animesh Singh Jupyter Notebooks MXNet KFServing Tensorflow Seldon Core Serving Pytorch TFServing, + Training Operators XGBoost, + MPI Metadata Kale Workflow Building HP Tuning Fairing Tensorboard Tools Prometheus KF Pipelines Pipelines TFX Your Speaker Today: CODAIT 2 Animesh Singh Kubeflow STSM and Chief Architect - Data and AI Open Source github.com/kubeflow Platform o CTO, IBM RedHat Data and AI Open Source Alignment o IBM Kubeflow Engagement Lead, Kubeflow Committer o Chair, Linux Foundation AI - Trusted AI o Chair, CD Foundation MLOps Sig o Ambassador, CNCF o Member of IBM Academy of Technology (IBM AoT) © 2019 IBM Corporation Kubeflow: Current IBM Contributors Untrained Model Christian Kadner Weiqiang Zhuang Tommy Li Andrew Butler Prepared Preparedand Trained AnalyzedData Model Data Deployed Model Jin Chi He Feng Li Ke Zhu Kevin Yu IBM is the 2nd Largest Contributor IBM is the 2nd Largest Contributor IBMers contributing across projects in Kubeflow Kubeflow Services kubectl apply -f tfjob High Level Kubernetes API Server Services Notebooks Low Level APIs / Services Pipelines TFJob PyTorchJob Pipelines CR KFServing Argo Jupyter CR MPIJob Katib Seldon CR Study Job Spark Job Istio Mesh and Gateway Kubebench TFX Developed By Kubeflow Developed Outside Kubeflow Adapted from Kubeflow Contributor Summit 2019 talk: Kubeflow and ML Landscape (Not all components are shown) Community is growing! 8 Multi-User Isolation ML Lifecycle: Build: Development, Training and HPO Untrained Model Prepared Preparedand Trained
    [Show full text]
  • Machine Learning at Scale with Kubernetes Aug 23Rd, 2018
    JupyterCon - Machine Learning at Scale with Kubernetes Aug 23rd, 2018 Chris Cho, Fei Xue, Tyler Erickson Confidential & Proprietary Proprietary + Confidential Contents 1. Containers Appendix- Tensor2Tensor 2. Kubernetes 3. Google Kubernetes Engine 4. Kubeflow - Overview 5. Kubeflow - Components 6. Kubeflow - Architecture 7. ksonnet 8. Kubeflow - Tutorial Section Start Time Total Duration (Min) Type Topic area Proprietary + Confidential Agenda 9:00 AM 0:30 Presentation Welcome + Introduction + Setup 9:30 AM 0:45 Exercise GKE quest lab 1- Introduction to docker 10:15 AM 0:05 Debrief 10:20 AM 0:30 Presentation Kubernetes and GKE 10:50 AM 1:00 Exercise GKE quest lab 2 - Hello Node Kubernetes 11:50 AM 0:05 Debrief 11:55 AM 0:30 Presentation Orchestrating the Cloud with GKE 12:25 PM 5:25 1:00 Lunch 1:25 PM 1:00 Exercise GKE quest lab 3 - Orchestrating the Cloud with GKE 1:25 PM 0:30 Presentation Kubeflow introduction 1:55 PM 1:00 Exercise Kubeflow 1 - Intro to Kubeflow 2:55 PM 0:05 Debrief 3:00 PM 0:30 Presentation Kubeflow - Components, Architecture, Short tutorial 3:00 PM 1:30 Exercise Kubeflow 2 - E2E 4:30 PM 3:35 Buffer Proprietary + Confidential Expectations – Walk away with better understanding of… ● Containers/Docker ● Kubernetes ● Orchestrating Kubernetes ● Kubeflow – Try out Kubeflow when you get home :) Proprietary + Confidential Logistics – Access you will need for the labs ● 8 Qwiklab credits - Pick it up in the back ● 2 GCP test accounts - Handed out at the end – Sign up on https://qwiklabs.com – Enroll in quest https://qwiklabs.com/quests/29
    [Show full text]
  • Application Development with Azure
    Application Development with Azure Karim Vaes Specialist – Azure Application Development @kvaes Agenda • Digital Transformation, powered by Application Innovation • Developer Toolchain • App Service • Integration Services Digital Transformation Powered by Application Innovation Digital transformation 91% Digital of business leaders see Digital Transformation as a way of sparking Transformation innovation and finding efficiencies1 A journey with one destination but different paths 85% say they must offer digital services or become irrelevant2 1 ISACA: Information Systems Audit and Control Association, 2018 2 Couchbase: Couchbase Survey, August 2018 1 Data: Capture digital signal from across business Consumer Reports review indicate braking issue with Model 3 Vehicle telemetry shows brake performance across fleet 2 Insight: Connect and synthesize data Car telemetry for suspect cars analyzed to understand issue Tesla identifies fix to improve stopping distance Engage Transform customers products 3 Action: Improve business outcomes Car braking software updated over-the-air to fix issue Tesla closes the loop with consumer reports and review is updated 7,0% 6,0% 5,0% 4,0% 3,0% 2,0% 1,0% 0,0% -1,0% -2,0% software Digital DNA Toolchain Overview World’s most comprehensive developer toolchain Azure Azure Stack Azure Data Box Azure Sphere Azure Kinect HoloLens Web Databases Mobile Analytics Tools Mixed Reality AI + Machine Learning Visual Studio Containers Internet of Things Azure Devops Events + Integration Media GitHub PowerApps Power BI Compute
    [Show full text]
  • Build an Event Driven Machine Learning Pipeline on Kubernetes
    Assign Hyperparameters Initial Model and Train Create Model PreparedPrepared andand Trained AnalyzedAnalyzed Model DataData Monitor DeployedDeployed Validate and Deploy ModelModel Build an Event Driven Machine Learning Pipeline on Kubernetes Yasushi Osonoi Animesh Singh Developer Advocate IBM STSM, IBM kubeflow kfserving maintainer osonoi animeshsingh Center for Open Source Improving Enterprise AI lifecycle in Open Source Data and AI Technologies (CODAIT) Code – Build and improve practical frameworks to enable more developers to realize immediate value. Content – Showcase solutions for complex and real-world AI problems. Community – Bring developers and data scientists to engage with IBM • Team contributes to over 10 open source projects • 17 committers and many contributors in Apache projects • Over 1100 JIRAs and 66,000 lines of code committed to Apache Spark itself; over 65,000 LoC into SystemML • Over 25 product lines within IBM leveraging Apache Spark • Speakers at over 100 conferences, meetups, unconferences and more CODAIT codait.org 3 DEVELOPER ADVOCATE in TOKYO Tokyo Team is a part of Worldwide Developer Advocate Teams! Developer Advocate City Leader WW Developer Advocate WW Developer Advocate Client Developer Advocate AKIRA ONISHI NORIKO KATO KYOKO NISHITO YASUSHI OSONOI Program Manager WW Developer Advocate WW Developer Advocate Digital Developer Advocate TOSHIO YAMASHITA TAIJI HAGINO AYA TOKURA JUNKI SAGAWA @taiponrock https://developer.ibm.com/patterns/ https://developer.ibm.com/jp/ Please follow me @osonoi IBM’s history
    [Show full text]
  • Arxiv:2103.00490V1 [Cs.DC] 24 Feb 2021 Keywords: Dataset Lifecycle Framework · Kubeflow · Kubernetes · Bioinformatics
    Dataset Lifecycle Framework and its applications in Bioinformatics Yiannis Gkoufas1 and David Yu Yuan, Ph.D.2[0000−0003−1075−1628] 1 IBM Research - Ireland [email protected] https://www.ibm.com/ 2 Technology and Science Integration, European Bioinformatics Institute, European Molecular Biology Laboratory [email protected] https://www.ebi.ac.uk/ Abstract. Bioinformatics pipelines depend on shared POSIX filesys- tems for its input, output and intermediate data storage. Containeriza- tion makes it more difficult for the workloads to access the shared file systems. In our previous study, we were able to run both ML and non- ML pipelines on Kubeflow successfully. However, the storage solutions were complex and less optimal. This is because there are no established resource types to represent the concept of data source on Kubernetes. More and more applications are running on Kubernetes for batch pro- cessing. End users are burdened with configuring and optimising the data access, which is what we have experienced before. In this article, we are introducing a new concept of Dataset and its corresponding resource as a native Kubernetes object. We have leveraged the Dataset Lifecycle Framework which takes care of all the low-level details about data access in Kubernetes pods. Its pluggable architecture is designed for the development of caching, scheduling and governance plugins. Together, they manage the entire lifecycle of the custom resource Dataset. We use Dataset Lifecycle Framework to serve data from object stores to both ML and non-ML pipelines running on Kubeflow. With DLF, we make training data fed into ML models directly without being down- loaded to the local disks, which makes the input scalable.
    [Show full text]