Deploy ML models with FastAPI, Docker, and Heroku | Tutorial

  Рет қаралды 83,816

AssemblyAI

AssemblyAI

Күн бұрын

In this Tutorial you'll learn how to deploy Machine Learning models with FastAPI, Docker, and Heroku.
Code: github.com/AssemblyAI-Example...
Resources:
fastapi.tiangolo.com/deployme...
devcenter.heroku.com/categori...
github.com/basil-b2s/Language...
Get your Free Token for AssemblyAI Speech-To-Text API 👇www.assemblyai.com/?...
▬▬▬▬▬▬▬▬▬▬▬▬ CONNECT ▬▬▬▬▬▬▬▬▬▬▬▬
🖥️ Website: www.assemblyai.com
🐦 Twitter: / assemblyai
🦾 Discord: / discord
▶️ Subscribe: kzbin.info?...
🔥 We're hiring! Check our open roles: www.assemblyai.com/careers
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Timeline:
00:00 Introduction
01:08 Model Development
05:00 FastAPI app
08:44 Dockerize the app
14:14 Deployment to Heroku
17:46 Final Testing
#MachineLearning #FastAPI

Пікірлер: 44
@davegordon6233
@davegordon6233 9 ай бұрын
Best explanation I found in 3 days! Thank you.
@EGlobalKnowledge
@EGlobalKnowledge 7 ай бұрын
Thank you very much, was able to deploy the whole thing
@boisiul
@boisiul 6 ай бұрын
really great tutorial, thanks man!
@checher100
@checher100 Жыл бұрын
absolutely great! Thanks for that
@wuttipatsricharoensuk5072
@wuttipatsricharoensuk5072 Жыл бұрын
Thank you so much for sharing this excellent tutorial. I followed the steps, and I was able to successfully deploy my first model. Your clear explanations and step-by-step guidance made the process really smooth and enjoyable.
@ary_21
@ary_21 Жыл бұрын
heroku doesnt have a free tier anymore , you have a paid subscription?
@wuttipatsricharoensuk5072
@wuttipatsricharoensuk5072 Жыл бұрын
@@ary_21 I haven't subscribed to any paid plan on Heroku. I just deleted the app once I finished deploying it. Since it avoids any unnecessary costs while still taking advantage of learning and experimentation.
@ary_21
@ary_21 Жыл бұрын
@@wuttipatsricharoensuk5072got it, actually I have interviews in next 2 months so looking for.a solution for free deployment Being. A fresher i cant afford aws etc If you know any do let me know
@MrAmgadHasan
@MrAmgadHasan Жыл бұрын
@@ary_21 render has a free tier that offers 512GB of RAM and 0.1 CPU. You can deploy fastapi (and even plotly dash and streamlit) there but your models need to be able to run with these limited resources.
@codecrush_666
@codecrush_666 5 ай бұрын
thanks a lot for sharing, excellent tutorial!
@muhammadumarsotvoldiev8768
@muhammadumarsotvoldiev8768 9 ай бұрын
thank you. This video helped me a lot
@ajeetsbpr
@ajeetsbpr 8 ай бұрын
Thanks for explaining this.
@caxupin6666
@caxupin6666 Жыл бұрын
Thanks for the video!
@jonahturner2969
@jonahturner2969 Жыл бұрын
Hey, thanks for the tutorial! We've noticed that our production FastAPI services all suffer from memory leaks, any suggestions/experience with that?
@jamm9848
@jamm9848 Жыл бұрын
Thank you for the video. Will deployment work for large files for example an ml model of up to 2 Gb in size?
@TheSkogemann
@TheSkogemann Жыл бұрын
Thank you! 👏
@TAP7a
@TAP7a 8 ай бұрын
The filling in of the requirements.txt part is why all python users should use envs by default, all the time :)
@currentactivities6527
@currentactivities6527 7 ай бұрын
thank you for sharing ❤
@manhpham5772
@manhpham5772 Жыл бұрын
Great tutorial! But could you tell me how to deal with docker-compose and Heroku, I have frontend and backend containers...
@theiyobosa
@theiyobosa Жыл бұрын
Amazing!
@aminatashnezhad
@aminatashnezhad Жыл бұрын
great job.
@rizalmuhamadmilyardi7008
@rizalmuhamadmilyardi7008 Жыл бұрын
thanks mate
@ivan07valdes
@ivan07valdes 4 ай бұрын
What a good video!
@ollieq5259
@ollieq5259 Жыл бұрын
Hey, at 14:52, you're using iTerm2 as your terminal in MacOS right? I also use it. But how did you make it pretty, specifically getting that 'arrow' shape over the text, and making part of the text blue? :)
@Vicitoriachi
@Vicitoriachi Жыл бұрын
He's using the zsh (Z-shell) unix shell, instead of bash ;).
@mendezluis3346
@mendezluis3346 Жыл бұрын
Hello, I have an error, when I deploy the model on Heroku, and then open the app, display a r15 and r14 error, what should i do? I try the model with tensorflow-cpu
@mansamusa559
@mansamusa559 Жыл бұрын
Thanks! Does anyone know how to easily deploy an ML Model which requires GPU ? (Like ine tuned stable diffusion model)
@noobjok3r640
@noobjok3r640 Ай бұрын
can you help me like i want to a image classification ml model to deploy but in ur video its string version
@hpatelecom1
@hpatelecom1 8 ай бұрын
Briliant Patric
@FiringTap
@FiringTap 2 күн бұрын
genius!
@caiyu538
@caiyu538 Жыл бұрын
Great
@ahb5819
@ahb5819 Жыл бұрын
Heroku no longer has an free tier, any other recommendations? Btw great video 😊
@ashishmehra5143
@ashishmehra5143 3 ай бұрын
Vercel is a free option but I have not seen a success after deployment. I am able to run the application locally but when not after the deployment.
@user-vh3xp4rt5r
@user-vh3xp4rt5r Жыл бұрын
Can you give link to google colab notebook?
@smiley3239
@smiley3239 2 ай бұрын
other than heroku, when can we deploy it?
@FiringTap
@FiringTap 2 күн бұрын
If i have my idea can i deploy public ?
@saifulislam-iv9px
@saifulislam-iv9px Жыл бұрын
Möge Gott dich segnen!
@googlecolab7388
@googlecolab7388 11 ай бұрын
like your smile
@cesaravalos7591
@cesaravalos7591 28 күн бұрын
2:00 Portugeese 🦆🦆🦆🤣🤣🤣
@adia9791
@adia9791 9 ай бұрын
Shouldnt you use ohe?
@markcuello5
@markcuello5 Жыл бұрын
HELP
@smilebig3884
@smilebig3884 4 ай бұрын
too basic.
@thisiskartik
@thisiskartik 6 ай бұрын
Its a great video but I need to give a thumbs down because you never made this video a beginner friendly, Docker is really new to me as well has deploying it on heroku, it would have been great if you just a 1min introduction to what they are or where can we lear, like a prerequisite in the beginning of the video.
Learn Docker Quickly - Machine Learning Project for Absolute Beginners
25:31
Deploying ML Models in Production: An Overview
14:27
Valerio Velardo - The Sound of AI
Рет қаралды 38 М.
Can You Draw The PERFECT Circle?
00:57
Stokes Twins
Рет қаралды 82 МЛН
Cute Barbie gadgets 🩷💛
01:00
TheSoul Music Family
Рет қаралды 16 МЛН
Зомби Апокалипсис  часть 1 🤯#shorts
00:29
INNA SERG
Рет қаралды 7 МЛН
If you're not developing with this, you're wasting your time
14:30
Articulated Robotics
Рет қаралды 247 М.
How to Use FastAPI: A Detailed Python Tutorial
20:38
ArjanCodes
Рет қаралды 205 М.
Deploy ML model in 10 minutes. Explained
12:41
Danil Zherebtsov
Рет қаралды 5 М.
Building a Machine Learning API in 15 Minutes | Coding Challenge
20:04
Nicholas Renotte
Рет қаралды 118 М.
Dockerize FastAPI project like a pro - Step-by-step Tutorial
7:21
Stackless Tech
Рет қаралды 27 М.
Deploying machine learning models on Kubernetes
26:32
mildlyoverfitted
Рет қаралды 13 М.
JAX Crash Course - Accelerating Machine Learning code!
26:39
AssemblyAI
Рет қаралды 10 М.
Can You Draw The PERFECT Circle?
00:57
Stokes Twins
Рет қаралды 82 МЛН