~/talk

Serverless Deployment of Large Language Models on AWS Lambda

links:none on file
slides:none on file

Deploys Microsoft's Phi-3 (quantized 4-bit) into a Docker image run on AWS Lambda with Docker using llama.cpp, downloaded from Hugging Face, loading ~2.1–2.3 GB model into memory. Configuration uses 6 vCPUs / 10 GB ARM Lambda, cold starts average 17s, warm runs ~9s, throughput ≈9.2 tokens/sec. End result is an API that works for privacy or per-customer instances; cost after free tier ≈ $1.2 per 10k runs, slower and not cost-competitive with managed APIs.

AI-written summary · about

  1. 0:00Introduction to serverless LLMs
  2. 4:07Why deploy LLMs on Lambda
  3. 9:29Lambda capabilities and constraints
  4. 13:51Setting up a basic Lambda Docker function
  5. 14:13Running LLMs with llama.cpp
  6. 17:36Lambda handler for LLM inference
  7. 20:25Local testing of the LLM Lambda
  8. 21:28Deploying to AWS Lambda
  9. 27:42Performance and cost analysis
  10. 30:51Optimizing model and deployment
  11. 32:38Next steps and alternatives
  12. 33:19Q&A and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.