SlideShare a Scribd company logo
Making AI FaaSt
.
Dragos D Haut - Principal Engineer @Adobe
Akhilesh Kumar - Applied ML Engineer @Adobe
FaaS
Function as A Service
a.k.a Serverless
FaaS Value Props
FaaS Value Props
1. FaaSter to PROTOTYPE services
FaaS Value Props
1. FaaSter to CREATE services
FaaS Value Props
1. FaaSter to create services
2. Never pay for Idle
FaaS Value Props
1. FaaSter to create services
2. Never pay for Idle
3. Low maintenance overhead
FaaS: Build more, pay less
1. FaaSter to create services
2. Never pay for Idle
3. Low maintenance overhead
||
Evolution of Business Logic
Monolith
Microservices
Functions
High-level Microservice architecture
Multiple regions
Microservice Cost & COGS
Microservice Cost vs FaaS Cost
VS
How ?
FaaS has better premises
FaaS premises
Code - a smaller unit to deploy and scale
FaaS premises
Code - a smaller unit to deploy and scale
Request based auto-scaling
Making AI FaaSt
--- https://twitter.com/andrewyng/status/700086119333892096
Making AI FaaSt - QCon SF 2018
"With AI, we should look at the
programmer more as a teacher,
rather than a micro-manager. "
— Peter Norvig, Director of Research at Google.
" We spent the last 40 years building
up tools to build programs to deal
with text (code) in a good way …"
"… but right now we are creating
models instead of text, and we just
don’t have the tools to deal with
that. We need to retool the
industry."
— Peter Norvig, Director of Research at Google.
"Neural networks are not just
another classifier, they represent the
beginning of a fundamental shift in
how we write software. They are
Software 2.0."
— (Nov, 2017) - Andrej Karpathy, Director of AI at Tesla
Building AI apps
Making AI FaaSt - QCon SF 2018
Making AI FaaSt - QCon SF 2018
Making AI FaaSt - QCon SF 2018
Making AI FaaSt - QCon SF 2018
Training vs Inference
Training vs Inference
Learning vs Answering
Inference
Getting a new data sample to infer an answer
Making AI FaaSt - QCon SF 2018
Inference
Runs faster than Training
Models process one input at a time
Inference matches the FaaS model
Enough code for a function
Each function processes one request at a time
function (input) {
//1. download and cache model
//2. return inference(input)
}
Additional FaaS benefits
It's FaaSter to deploy the code directly
Never pay for idle
Low maintenance overhead
Real apps integrate multiple
algorithms into workflows
Real apps integrate multiple
algorithms into workflows
reusing existing functions
Demo
• Jupyter Notebook
https://github.com/akh64bit/qconsf
• AI Composition
http://opensource.adobe.com/adobe-sensei-ai-functions/
Making AI FaaSt - QCon SF 2018
Cast
• FaaS Platform - Apache OpenWhisk
openwhisk.org
• Workflow - Apache OpenWhisk Composer
github.com/ibm-functions/composer
• Editing AI Action - JupyterLab Notebook
jupyter.org
• Deploying AI Action - JupyterLab Notebook
Making AI FaaSt - QCon SF 2018
Making AI FaaSt - QCon SF 2018
Making AI FaaSt - QCon SF 2018
Software 2.0
Model + Code
Software 2.0
JupyterLab - assist in model development
Functions - assist in deploying the model
Software 2.0
ML Engineers collaborate with software
developers
Software 2.0
With FaaS it's easy to deploy a new
AI Model-as-a-Function
Conclusions
FaaS platforms are still maturing
Conclusions
FaaS platforms are still maturing
It's FaaSter to deploy AI models
Conclusions
FaaS platforms are still maturing
It's FaaSter to deploy AI models
Build more services, pay less

More Related Content

PDF
IoT and Serverless - AWS - Serverless Summit - Madhusudan Shekar
PPTX
Understanding Azure Batch Service - Niloshima - CCDays
PDF
Tracing Java Applications on Azure
PDF
Democratizing Serverless—The Open Source Fn Project - Serverless Summit
PDF
DEVOPS AND MACHINE LEARNING
PPTX
FinOps: Costs savings in the cloud
PDF
Accelerating Deployment With Azure DevOps - Murughan and Leena - CCDays
PPTX
Deep dive into Conversational Ai development
IoT and Serverless - AWS - Serverless Summit - Madhusudan Shekar
Understanding Azure Batch Service - Niloshima - CCDays
Tracing Java Applications on Azure
Democratizing Serverless—The Open Source Fn Project - Serverless Summit
DEVOPS AND MACHINE LEARNING
FinOps: Costs savings in the cloud
Accelerating Deployment With Azure DevOps - Murughan and Leena - CCDays
Deep dive into Conversational Ai development

What's hot (15)

PPTX
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
PDF
Habitat on AKS - Demo
PDF
Intelligent serverless-streaming-pipeline-using-kinesis-fargate-cfn
PPT
Windows Azure Overview
PDF
PayPal's History of Microservices Architecture
PDF
Cloud APIs and Cloud Frameworks
PPTX
APPLYING DEVOPS STRATEGIES ON SCALE USING AZURE DEVOPS SERVICES
PDF
Go Serverless with Java and Azure Functions
PPTX
Power Platform News You Can Use Nov 2021
PPTX
Understanding Azure Face API at AI Dev Day Conference
PPTX
AWS Cloud9
PDF
Java & Microservices in Azure
PDF
The future is Serveless | Filip Knapik | #4 Serverless UG Warsaw
PPTX
Cloud computing ppt.
PDF
Azure Service Fabric - Hamida Rebai - CCDays
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
Habitat on AKS - Demo
Intelligent serverless-streaming-pipeline-using-kinesis-fargate-cfn
Windows Azure Overview
PayPal's History of Microservices Architecture
Cloud APIs and Cloud Frameworks
APPLYING DEVOPS STRATEGIES ON SCALE USING AZURE DEVOPS SERVICES
Go Serverless with Java and Azure Functions
Power Platform News You Can Use Nov 2021
Understanding Azure Face API at AI Dev Day Conference
AWS Cloud9
Java & Microservices in Azure
The future is Serveless | Filip Knapik | #4 Serverless UG Warsaw
Cloud computing ppt.
Azure Service Fabric - Hamida Rebai - CCDays
Ad

Similar to Making AI FaaSt - QCon SF 2018 (20)

PDF
TechEvent 2019: Artificial Intelligence in Dev & Ops; Martin Luckow - Trivadis
PDF
AI as a Service A Comprehensive Guide.pdf
PDF
Architecture Battle: PaaS vs. FaaS
PDF
re:cap Generative AI journey with Bedrock
PDF
Complete Business Guide to AI Integration.pdf
PDF
Where can you use serverless?  How does it relate to APIs, integration and mi...
PDF
Financial Services Technology Summit 2025
PPTX
What is FAAS Function as a service Explained
PPTX
Your brain is too small to manage your business
PDF
Innovate Faster in the Cloud with a Platform as a Service
PDF
PDF
WSO2CON 2024 Slides - Unlocking Value with AI
PPTX
AI in Construction-Demystifying AI Agents
PPTX
QuickAI Pitch Book
PDF
A Gentle Introduction to Functions-as-a-Service
PPTX
Artificial Intelligence in Industry 5.pptx
PPTX
AI and Automation Implementation Roadmap.pptx
PPTX
AI presentation for everyone in every fields
PPTX
All You Need To Know About Artificial Intelligence As A Service.pptx
TechEvent 2019: Artificial Intelligence in Dev & Ops; Martin Luckow - Trivadis
AI as a Service A Comprehensive Guide.pdf
Architecture Battle: PaaS vs. FaaS
re:cap Generative AI journey with Bedrock
Complete Business Guide to AI Integration.pdf
Where can you use serverless?  How does it relate to APIs, integration and mi...
Financial Services Technology Summit 2025
What is FAAS Function as a service Explained
Your brain is too small to manage your business
Innovate Faster in the Cloud with a Platform as a Service
WSO2CON 2024 Slides - Unlocking Value with AI
AI in Construction-Demystifying AI Agents
QuickAI Pitch Book
A Gentle Introduction to Functions-as-a-Service
Artificial Intelligence in Industry 5.pptx
AI and Automation Implementation Roadmap.pptx
AI presentation for everyone in every fields
All You Need To Know About Artificial Intelligence As A Service.pptx
Ad

Recently uploaded (20)

PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
additive manufacturing of ss316l using mig welding
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Welding lecture in detail for understanding
PPTX
Lecture Notes Electrical Wiring System Components
PPT
Mechanical Engineering MATERIALS Selection
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Construction Project Organization Group 2.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PPT
Drone Technology Electronics components_1
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Fluid Mechanics, Module 3: Basics of Fluid Mechanics
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
DOCX
573137875-Attendance-Management-System-original
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
bas. eng. economics group 4 presentation 1.pptx
additive manufacturing of ss316l using mig welding
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
Welding lecture in detail for understanding
Lecture Notes Electrical Wiring System Components
Mechanical Engineering MATERIALS Selection
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Construction Project Organization Group 2.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Strings in CPP - Strings in C++ are sequences of characters used to store and...
Drone Technology Electronics components_1
CH1 Production IntroductoryConcepts.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Fluid Mechanics, Module 3: Basics of Fluid Mechanics
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
573137875-Attendance-Management-System-original

Making AI FaaSt - QCon SF 2018