跳到主要內容
AI 武林
影片入門EN158 萬 次觀看

How LLM Serving Works: An Introduction to vLLM and SGLang

來源 Vizuara

看影片(在新分頁開啟原站)連到 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 產生

  1. 00:00Welcome and audio check
  2. 00:55Who is teaching: Sreedath and Vizuara
  3. 02:54Why this lecture exists: the vLLM and SGLang bootcamp
  4. 05:16Roadmap for today's five part lecture
  5. 08:31Audience poll: who already knows transformers
  6. 09:31Example setup: Llama 3.1 8B and its memory footprint
  7. 12:34Inside a GPU: VRAM, SRAM, and compute cores
  8. 16:59Memory bandwidth, TFLOPS, and H100 rental cost
  9. 17:49A user request, tokens, and the first KV cache numbers
  10. 21:10Why serving costs eventually dwarf training costs
  11. 22:46Back of envelope cost to serve 1 million users
  12. 24:40What vLLM and SGLang actually are
  13. 31:22Attention math recap and the prefill versus decode split
  14. 45:56Batching requests to push GPU throughput higher
  15. 51:12KV cache deep dive: why keys and values, not queries
  16. 1:02:32Routing requests and cache aware load balancing
  17. 1:04:56Inside an inference engine: API server to model runner
  18. 1:06:49Paged attention explained
  19. 1:08:56Static batching versus continuous batching, live animation
  20. 1:16:34Paged attention memory math and GPU utilization
  21. 1:23:08Radix attention and prefix caching
  22. 1:28:12Full cost comparison: naive serving versus vLLM and SGLang
  23. 1:37:56Beyond today: quantization, speculative decoding, and course scope
  24. 1:40:16Course logistics, prerequisites, and pricing
  25. 1:48:04Closing, demo site, and wrap up

提到的工具與公司

適合誰看

希望了解 LLM 服務架構、最佳化推理效能或評估部署成本的工程師與技術決策者。

摘要依據

依據
自動字幕

為什麼排在這裡

人氣
0.89
新鮮
0.86

在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算

這個來源最近的內容

Vizuara 的所有內容

摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)