看影片(在新分頁開啟原站)連到 YouTube・Vizuara
摘要
Dr. Sreedath Panat 深入解析大型語言模型服務的成本結構與技術瓶頸,以 Llama 3.1 8B 為例說明記憶體頻寬如何限制效能。影片詳細介紹 vLLM 與 SGLang 的核心技術,包括 PagedAttention、連續批次處理及 RadixAttention,並透過實際運算展示這些框架如何將服務成本降低約六倍。
Dr. Sreedath Panat explains the high costs of LLM serving and how vLLM and SGLang frameworks use PagedAttention and continuous batching to reduce expenses by up to six times.
摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。
重點
- LLM 服務成本隨時間累積,最終遠高於訓練成本,且受記憶體頻寬限制。
- vLLM 與 SGLang 透過 PagedAttention 與連續批次處理大幅提升 GPU 利用率。
- 使用這些框架服務百萬使用者,成本可從每年 200 萬美元降至 3300 萬美元。
章節
依話題轉折切分,標題由 AI 產生
- 00:00Welcome and audio check
- 00:55Who is teaching: Sreedath and Vizuara
- 02:54Why this lecture exists: the vLLM and SGLang bootcamp
- 05:16Roadmap for today's five part lecture
- 08:31Audience poll: who already knows transformers
- 09:31Example setup: Llama 3.1 8B and its memory footprint
- 12:34Inside a GPU: VRAM, SRAM, and compute cores
- 16:59Memory bandwidth, TFLOPS, and H100 rental cost
- 17:49A user request, tokens, and the first KV cache numbers
- 21:10Why serving costs eventually dwarf training costs
- 22:46Back of envelope cost to serve 1 million users
- 24:40What vLLM and SGLang actually are
- 31:22Attention math recap and the prefill versus decode split
- 45:56Batching requests to push GPU throughput higher
- 51:12KV cache deep dive: why keys and values, not queries
- 1:02:32Routing requests and cache aware load balancing
- 1:04:56Inside an inference engine: API server to model runner
- 1:06:49Paged attention explained
- 1:08:56Static batching versus continuous batching, live animation
- 1:16:34Paged attention memory math and GPU utilization
- 1:23:08Radix attention and prefix caching
- 1:28:12Full cost comparison: naive serving versus vLLM and SGLang
- 1:37:56Beyond today: quantization, speculative decoding, and course scope
- 1:40:16Course logistics, prerequisites, and pricing
- 1:48:04Closing, demo site, and wrap up
提到的工具與公司
適合誰看
希望了解 LLM 服務架構、最佳化推理效能或評估部署成本的工程師與技術決策者。
摘要依據
- 依據
- 自動字幕
為什麼排在這裡
- 人氣
- 0.89
- 新鮮
- 0.86
在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算
相關內容
- Journey of a token in vLLM and SGLang影片 ・ Vizuara ・ 1 小時 32 分 ・
- How LLM Serving Actually Works影片 ・ Jia-Bin Huang ・ 42 分鐘 ・
- How inference works at scale? vLLM and SGLang inference engines影片 ・ Vizuara ・ 5 分鐘 ・
- Optimize, deploy, and benchmark an open-source LLM with vLLM影片 ・ DeepLearningAI ・ 2 分鐘 ・
- Sebastian Wallkötter - The physics behind (self-)hosting LLMs - PyData Boston Sep Meetup影片 ・ PyData ・ 34 分鐘 ・
- LLM Token 消耗节省计划文章 ・ 范叶亮(Leo Van) ・
這個來源最近的內容
摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)
