影片高階EN8,989 次觀看
Two Bugs That Hid in Plain Sight: A vLLM Debugging Detective Story — Asaf Gardin & Yuval Belfer
來源 AI Engineer
看影片(在新分頁開啟原站)連到 YouTube・AI Engineer
摘要
Asaf Gardin 與 Yuval Belfer 分享在 vLLM 服務 AI21 Jamba 模型時,發現兩起導致高置信度亂碼的靜默錯誤。他們透過降低 GPU 記憶體與調整 RL 訓練參數來重現問題,最終定位到排程器錯誤地先執行 decode 導致 Mamba 讀取舊狀態,以及 32 位元索引溢位。文章提供利用 logprob 比對基準線與追蹤請求 ID 的除錯技巧。
Asaf Gardin and Yuval Belfer discuss two silent bugs in vLLM serving the Jamba model, including a scheduler ordering issue causing stale state reads and a 32-bit index overflow, offering debugging strategies like logprob comparison and memory stress testing.
摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。
重點
- 靜默錯誤會產生高置信度的亂碼,需透過壓力測試重現。
- 降低 GPU 記憶體佔用率有助於快速重現難以觸發的除錯問題。
- 將 32 位元索引改為 size_t 可解決大數值溢位導致的錯誤。
章節
依話題轉折切分,標題由 AI 產生
- 00:00No crash, no warning, high confidence
- 02:48The one in a thousand gibberish
- 03:43Reproducing it fast by starving the GPU
- 05:18A logprob comparison against a plain baseline
- 08:48Threading a request ID through the forward pass
- 09:30Decode before prefill, and why only Mamba noticed
- 11:47Case two: logprob spikes every twelve steps
- 12:29A lever that changes the shape of failure
- 14:33A 32 bit index that wrapped around
- 15:42Two scenes, one criminal
提到的工具與公司
- vLLM
- Jamba
- Mamba
- Hugging Face Transformers
- CUDA
適合誰看
負責大型語言模型推理系統開發、除錯或效能最佳化的工程師。
摘要依據
- 講者
- Asaf Gardin、Yuval Belfer
- 依據
- 自動字幕
為什麼排在這裡
- 人氣
- 0.55
- 新鮮
- 0.76
在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算
相關內容
- Finish RL Training Faster: Bitwise-Consistent, High-Performance, Agent-Driven文章 ・ vLLM Blog ・
- Exploring Speculative Decoding in vLLM on AMD GPUs文章 ・ vLLM Blog ・
- Journey of a token in vLLM and SGLang影片 ・ Vizuara ・ 1 小時 32 分 ・
- How to expose hidden bugs in your vibe coded app影片 ・ Google Cloud Tech ・ 22 分鐘 ・
- How LLM Serving Actually Works影片 ・ Jia-Bin Huang ・ 42 分鐘 ・
- JetBrains開源Mellum2.1模型,程式修復評測解決率從2%升至47%文章 ・ iThome ・
這個來源最近的內容
摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)
