Red Hat blog
This is a guest post written in collaboration with Intel's Sridhar Kayathi : Global Ecosystem Development Manager
Artificial intelligence (AI), machine learning (ML), and deep learning (DL) have rapidly become critical for businesses and organizations. Deploying these technologies, however, can be complicated. As data scientists strive to build their models, they often encounter a lack of alignment between rapidly evolving tools, impacting productivity and collaboration among themselves, software developers, and IT operations. Scaling AI/ML deployments can be resource-limited and administratively complex while requiring expensive resources for hardware acceleration. Popular cloud platforms offer scalability and attractive toolsets, but those same tools often lock users in, limiting architectural and deployment choices.
Red Hat® OpenShift® Data Science (RHODS) is a cloud service that gives data scientists and developers a powerful AI/ML platform for building intelligent applications. Teams can quickly move from experiment to production in a collaborative, consistent environment with their choice of certified tools.
With this solution, data scientists and developers can rapidly develop, train, test, and iterate ML and DL models in a fully supported environment—without waiting for infrastructure provisioning. Available as an add-on to Red Hat OpenShift Service on AWS (ROSA) which is a turnkey application platform that provides a managed application platform service running natively on Amazon Web Services (AWS), RHODS combines Red Hat components, open source software, and certified partner technology with the public cloud scalability of Amazon Web Services (AWS).
For the demo, we have followed the OpenShift Data Science workshop - Object Detection. Here you'll learn an easy way to incorporate data science and AI/ML into an OpenShift development workflow.
Object detection is a computer technology related to computer vision and image processing that deals with detecting instances of semantic objects of a certain class (such as humans, buildings, or cars) in digital images and videos.[1] Well-researched domains of object detection include face detection and pedestrian detection. Object detection is used in many different domains, including autonomous driving, video surveillance, and healthcare.
The demo uses an object detection model in several different ways to highlight the following:
- Jupyter Notebooks and TensorFlow to explore a pre-trained object detection model
- Serve the model in a REST API as a Flask App
- Use source-to-image (S2I) to build and deploy the Flask App
- Explore Kafka streams from notebooks
- Deploy a Kafka consumer with the same object detection model
All of this running on Red Hat OpenShift Data Science and Red Hat OpenShift Streams for Apache Kafka, available as add-on to ROSA using Intel Ice Lake instances (c6i instance types) for the worked nodes.
ROSA now supports 3rd Generation Intel® Xeon® Scalable Processor instances (m6i and c6i instance types). Amazon EC2 C6i instances offer better price performance for a wide variety of workloads. C6i instances feature a 2:1 ratio of memory to vCPU, and support up to 128 vCPUs per instance. These instances feature twice the networking bandwidth and are an ideal fit for compute-intensive workloads such as batch processing, distributed analytics, high performance computing (HPC), ad serving, highly scalable multiplayer gaming, and video encoding. C6i are also available with local NVMe-based SSD block-level storage (C6id instances) for applications that need high-speed, low-latency local storage. C6i & C5 instances support Intel® Advanced Vector Extensions (AVX-512), Intel® Turbo Boost & Intel® Deep Learning Boost.
You can see this demo and other featured demos at the Red Hat booth at AWS Re:Invent 2022.
About the authors
Mayur Shetty is a Principal Solution Architect with Red Hat’s Global Partners and Alliances (GPA) organization, working closely with cloud and system partners. He has been with Red Hat for more than five years and was part of the OpenStack Tiger Team.