Slide 1

Slide 1 text

Welcome to the AI Jungle! Now What? Kevin Dubois (@kevindubois) Senior Principal Developer Advocate, Red Hat

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

We’ve been here before…

Slide 5

Slide 5 text

Operating Systems & App Servers cloud computing and automation artificial intelligence and machine learning

Slide 6

Slide 6 text

Open Source

Slide 7

Slide 7 text

7 The Journey of Adopting Generative AI Find LLMs Try prompts Experiment with your data Connect to data source Model serving Exception handling Limited fine tuning Retrieval-Augmented Generation (RAG) Endpoints Evaluate flows Benchmarking Monitoring Integrate with apps Chaining Building & Refining Ideation & Prototyping Operationalizing

Slide 8

Slide 8 text

8 The Journey of Adopting Generative AI Find LLMs Try prompts Experiment with your data Benchmarking Ideation & Prototyping

Slide 9

Slide 9 text

“Open Source” Model Explosion

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

Open source refers to software whose source code is made publicly available for anyone to view, modify, and distribute. “

Slide 12

Slide 12 text

Open source refers to software whose source code is made publicly available for anyone to view, modify, and distribute. “

Slide 13

Slide 13 text

an open-source AI system can be used for any purpose without the need to secure permission, and researchers should be able to inspect its components and study how the system works. It should also be possible to modify the system for any purpose—including to change its output—and to share it with others to use, with or without modifications, for any purpose. In addition, the standard attempts to define a level of transparency for a given model’s training data, source code, and weights. “ https://www.technologyreview.com/2024/08/22/1097224/we-finally-have-a-definition-for-open-source-ai/ Open Source Initiative (OSI):

Slide 14

Slide 14 text

The project enables community contributors to add additional "skills" or "knowledge" to a particular model. InstructLab's model-agnostic technology gives model upstreams with sufficient infrastructure resources the ability to create regular builds of their open source licensed models not by rebuilding and retraining the entire model but by composing new skills into it.

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

16 The Journey of Adopting Generative AI Find LLMs Try prompts Experiment with your data Connect to data source Model serving Exception handling Limited fine tuning Retrieval-Augmented Generation (RAG) Endpoints Evaluate flows Benchmarking Monitoring Integrate with apps Chaining Building & Refining Ideation & Prototyping Operationalizing

Slide 17

Slide 17 text

17 The Journey of Adopting Generative AI Connect to data source Model serving Exception handling Limited fine tuning Retrieval-Augmented Generation (RAG) Endpoints Evaluate flows Monitoring Integrate with apps Chaining Building & Refining Operationalizing

Slide 18

Slide 18 text

AI open source &

Slide 19

Slide 19 text

App developer IT operations Data engineer Data scientists ML engineer Business leadership AI is a team initiative

Slide 20

Slide 20 text

Set goals App developer IT operations Data engineer Data scientists ML engineer Gather and prepare data Develop model Integrate models in app dev Model monitoring & management Retrain models Business leadership AI is a team initiative

Slide 21

Slide 21 text

Open Source AI Platforms

Slide 22

Slide 22 text

Data storage Data lake Data exploration Data preparation Stream processing ML notebooks ML libraries Model lifecycle CI/CD Monitor / alerts Model visualization Model drift Hybrid, multi cloud platform with self service capabilities Compute acceleration Infrastructure Gather and prepare data Deploy models in an application Model monitoring and management Physical Virtual Private cloud Public cloud Edge Develop model Team Deliverables Data engineer Data scientists App developer IT operations

Slide 23

Slide 23 text

23 Process scheduling & hardware acceleration Containerization & container orchestration Operating containers at scale Software-defined storage Data visualization, labeling, processing Automated software delivery Integration Experimentation & model lifecycle Languages & development tools AI dependencies Libraries and frameworks Machine learning libraries

Slide 24

Slide 24 text

24 Process scheduling & hardware acceleration Containerization & container orchestration Operating containers at scale Software-defined storage Data visualization, labeling, processing Automated software delivery Integration Experimentation & model lifecycle Languages & development tools AI dependencies Libraries and frameworks Languages & development tools Machine learning libraries

Slide 25

Slide 25 text

25 Process scheduling & hardware acceleration Containerization & container orchestration Operating containers at scale Software-defined storage Data visualization, labeling, processing Automated software delivery Integration Experimentation & model lifecycle Languages & development tools AI dependencies Libraries and frameworks Data visualization, labeling, processing Experimentation & model lifecycle Languages & development tools Machine learning libraries

Slide 26

Slide 26 text

26 Process scheduling & hardware acceleration Containerization & container orchestration Operating containers at scale Software-defined storage Data visualization, labeling, processing Automated software delivery Integration Experimentation & model lifecycle Languages & development tools AI dependencies Libraries and frameworks Process scheduling & hardware acceleration Data visualization, labeling, processing Experimentation & model lifecycle Languages & development tools Machine learning libraries

Slide 27

Slide 27 text

27 Process scheduling & hardware acceleration Containerization & container orchestration Operating containers at scale Software-defined storage Data visualization, labeling, processing Automated software delivery Integration Experimentation & model lifecycle Languages & development tools AI dependencies Libraries and frameworks Process scheduling & hardware acceleration Containerization & container orchestration Data visualization, labeling, processing Experimentation & model lifecycle Languages & development tools Machine learning libraries

Slide 28

Slide 28 text

28 Process scheduling & hardware acceleration Containerization & container orchestration Operating containers at scale Software-defined storage Data visualization, labeling, processing Automated software delivery Integration Experimentation & model lifecycle Languages & development tools AI dependencies Libraries and frameworks Process scheduling & hardware acceleration Containerization & container orchestration Operating containers at scale Automated software delivery Data visualization, labeling, processing Experimentation & model lifecycle Languages & development tools Machine learning libraries

Slide 29

Slide 29 text

29 Process scheduling & hardware acceleration Containerization & container orchestration Operating containers at scale Automated software delivery Software-defined storage Integration Data visualization, labeling, processing Experimentation & model lifecycle Languages & development tools Machine learning libraries AI dependencies

Slide 30

Slide 30 text

Process scheduling & hardware acceleration Containerization & container orchestration Operating containers at scale Automated software delivery Software-defined storage Integration Data visualization, labeling, processing Experimentation & model lifecycle Languages & development tools Machine learning libraries AI & MLOps Platform Application Platform AI dependencies

Slide 31

Slide 31 text

Process scheduling & hardware acceleration Containerization & container orchestration Operating containers at scale Automated software delivery Software-defined storage Integration Data visualization, labeling, processing Experimentation & model lifecycle Languages & development tools Machine learning libraries AI & MLOps Platform Application Platform AI dependencies Modernize & Accelerate app development

Slide 32

Slide 32 text

32

Slide 33

Slide 33 text

Productivity, stability, security

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

AI/ML + Kubernetes operators

Slide 36

Slide 36 text

36 Model development Conduct exploratory data science in JupyterLab with access to core AI / ML libraries and frameworks including TensorFlow and PyTorch using our notebook images or your own. Model serving & monitoring Deploy models across any cloud, fully managed, and self-managed OpenShift footprint and centrally monitor their performance. Lifecycle Management Create repeatable data science pipelines for model training and validation and integrate them with devops pipelines for delivery of models across your enterprise. Increased capabilities / collaboration Create projects and share them across teams. Combine Red Hat components, open source software, and ISV certified software. Available as ● managed cloud service ● traditional software product on-site or in the cloud! Hybrid MLOps platform Collaborate within a common platform to bring IT, data science, and app dev teams together OpenDataHub.io

Slide 37

Slide 37 text

Meet RH Teddy

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

MLOps incorporates DevOps and GitOps to improve the lifecycle management of the ML application DEVELOP ML CODE BUILD TEST SERVE MONITOR DRIFT/OUTLIER DETECTION Cross Functional Collaboration Automation Repeatability Security Git as Single Source of Truth Observability TRAIN VALIDATE DEVELOP APP CODE MLOps 39 [1] Reference and things to read: https://cloud.redhat.com/blog/enterprise-mlops-reference-design

Slide 40

Slide 40 text

Model to Prod with MLOps Kserve ModelMesh ● Model serving framework with simplified deployment, auto-scaling, and resource optimization ● Supports variety of ML frameworks like TF, PyTorch, etc. Kubeflow Pipelines ● Machine Learning lifecycle automation, with model training, evaluation, and deployment ● Reusable components for pipeline creation & scaling Backstage ● Platform for building IDPs for streamlining developer workflows ● Highly customizable, with extensive plugin support and project scaffolding capabilities

Slide 41

Slide 41 text

Model to Prod with MLOps Model Fine-tuning Model Creation/Training Model Serving Data Scientist Flow Model Testing Monitoring/Analysis Application Deployment API Inferencing App Scaffolding Developer Flow Monitoring/Manag ement

Slide 42

Slide 42 text

76% of organizations say the cognitive load is so high that it is a source of low productivity. Gartner predicts 75% of companies will establish platform teams for application delivery. Source: Salesforce Source: Gartner

Slide 43

Slide 43 text

Developer Portals to relieve cognitive load

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

https://github.com/kdubois/quarkus-langchain4j-podman-ai-instructlab

Slide 47

Slide 47 text

Run LLMs locally and build AI applications podman-desktop.io Supported platforms: From getting started with AI, to experimenting with models and prompts, Podman AI Lab enables you to bring AI into your applications without depending on infrastructure beyond your laptop. Podman AI Lab

Slide 48

Slide 48 text

Recap & Next steps The current AI landscape is growing FAST Let’s democratize AI We can re-use what we already know: ● Embrace open source ● Embrace platform engineering for AI: Containers, CI/CD, GitOps, Developer Portals Traditional engineering can (inf)use AI, and we’re only just at the beginning

Slide 49

Slide 49 text

Start your OpenShift experience for free in four simple steps Recap & Next steps Developer Sandbox for OpenShift OpenShift AI Sandbox Start your OpenShift AI experience for free Sign up at developers.redhat.com Find out more about Red Hat’s project and products, and what it offers developers Learn more about OpenShift AI

Slide 50

Slide 50 text

Free Developer e-Books & Tutorials! developers.redhat.com/eventtutorials

Slide 51

Slide 51 text

Thank you! @[email protected] youtube.com/@thekevindubois linkedin.com/in/kevindubois github.com/kdubois slides opendatahub.io instructlab.ai podman-desktop.io docs.quarkiverse.io/quarkus-langchain4j