Fireship · @fireship
How to self-host and hyperscale AI with Nvidia NIM
Uploaded July 9, 2024 · Length 6:44
Summary
How to self-host and scale AI with Nvidia NIM, a tool for inference microservices that package AI models for deployment on kubernetes, cloud, or local PC.
- nvidia nim
- ai self-hosting
- kubernetes ai
- ai deployment
- inference microservices
- ai scaling
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
recently somehow I got access to an
- 0:02
overpowered h100 GPU and on it I was
- 0:05
able to self-host and scale my own Army
- 0:07
of AI agents thanks to a new tool called
- 0:09
Nim 10 years from now the workforce will
- 0:11
look nothing like it does today Bill
- 0:13
Gates once said most people overestimate
- 0:15
what they can do in one year and
- 0:17
underestimate what they can do in 10
- 0:18
years AI models like llama 3 mistal and
- 0:21
stable diffusion have already changed
- 0:23
the world but they've barely even
- 0:25
penetrated the mainstream Consciousness
- 0:26
over the last year in today's video
- 0:28
we'll fast forward 10 years into the
- 0:30
future to a magical time when any job
- 0:32
that can be done by a robot will be done
- 0:34
by a robot some experts think that we'll
- 0:36
create a Sci-Fi AGI an all-in-one jack
- 0:39
of all trades in a black box that can do
- 0:41
every intellectual job better than we
- 0:43
humans do but that's highly speculative
- 0:45
perhaps a far more realistic vision is a
- 0:47
network of Highly specialized AI agents
- 0:49
running on kubernetes if you're an indie
- 0:51
hacker entrepreneur or even a massive
- 0:53
Enterprise and you want to build an AI
- 0:55
Workforce that includes a doctor a
- 0:57
lawyer and a programmer you'll quickly
- 0:59
run into a massive technical challenge
- 1:01
even if your AI models are smart enough
- 1:02
to do these jobs a model is quite
- 1:04
literally just a file with weights and
- 1:06
biases AKA numbers but in order to run
- 1:09
inference with it like generate text and
- 1:11
images you'll need a massive amount of
- 1:13
RAM and the parallel Computing magic of
- 1:15
a GPU to do all that linear algebra and
- 1:17
if your app ever goes viral it'll
- 1:19
quickly grind to a halt because scaling
- 1:20
up this technology is extremely
- 1:22
difficult well not anymore thanks to
- 1:24
Nvidia Nim the sponsor of today's video
- 1:27
Nvidia was kind enough to give me access
- 1:29
to an H1 100 GPU to try out their Nvidia
- 1:32
Nims which are inference microservices
- 1:34
what they do is package up popular AI
- 1:36
models along with all the apis that you
- 1:38
need to run them at scale including
- 1:40
inference engines like tensor RT llm as
- 1:43
well as data management tools for
- 1:45
authentication health checks monitoring
- 1:47
and so on all these apis along with the
- 1:49
model itself are containerized and run
- 1:51
on kubernetes that means you can deploy
- 1:53
it to the cloud on Prem or even on your
- 1:55
local PC and that's going to save you
- 1:57
weeks if not months of painful
- 1:58
development time well at a real example


