Navigation überspringen
New course: Efficient Inference with SGLang: Text and Image Generation, built in partnership with…
0:00 / 1:51

New course: Efficient Inference with SGLang: Text and Image Generation, built in partnership with…

Andrew Ng

@AndrewYNg2 Mio. Follower

Auf X besuchen

104.635 Aufrufe

New course: Efficient Inference with SGLang: Text and Image Generation, built in partnership with LMSys LMSYS Org and RadixArk RadixArk, and taught by Richard Chen Richard Chen, a Member of Technical Staff at RadixArk. Running LLMs in production is expensive, and much of that cost comes from redundant computation. This short course teaches you to eliminate that waste using SGLang, an open-source inference framework that caches computation already done and reuses it across future requests. When ten users share the same system prompt, SGLang processes it once, not ten times. The speedups compound quickly, especially when there's a lot of shared context across requests. Skills you'll gain: - Implement a KV cache from scratch to eliminate redundant computation within a single request - Scale caching across users and requests with RadixAttention, so shared context is only processed once - Accelerate image generation with diffusion models using SGLang's caching and multi-GPU parallelism Join and learn to make LLM inference faster and more cost-efficient at scale!

33 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Ying Sheng

    @ying11231

    @lmsysorg @radixark @richardczl Thank you Andrew, Richard, and people worked behind, for the great course!

    7 Likes

  • Profilbild von Richard Chen

    @richardczl

    @lmsysorg @radixark Wowowowowoow!

    3 Likes

  • Profilbild von Mridul Goswami

    @mridulgoswami

    @lmsysorg @radixark @richardczl Exactly what LLM deployment needs, cutting redundant compute with smart caching like SGLang can slash costs and boost speed. Great to see real-world efficiency in focus. Looking forward to this course!

    2 Likes

  • Profilbild von Louis-François Bouchard 🎥🤖

    @Whats_AI

    @lmsysorg @radixark @richardczl SGLang is so underrated for inference optimization. Will check this out, Andrew!

    2 Likes

  • Profilbild von Henry Lu

    @HenryL_AI

    @lmsysorg @radixark @richardczl This is great! Wondering how to add new courses? Would love to take one for Harness building and self-evolving agents.

    2 Likes

  • Profilbild von ShiroLogic

    @EvanKleopas

    @lmsysorg @radixark @richardczl Great course on inference

    1 Like

  • Profilbild von Chaitanya Navale

    @_Chaitanya_DS_

    @lmsysorg @radixark @richardczl Most people focus on training LLMs, but the real leverage is in efficient inference. KV cache + RadixAttention in SGLang could significantly change how production GenAI systems are optimized. Excited to explore this.

    1 Like

  • Profilbild von Pierce Alexander Lilholt

    @PierceLilholt

    @lmsysorg @radixark @richardczl UNBE

    1 Like

  • Profilbild von Crescitaly

    @crescitaly

    @lmsysorg @radixark @richardczl Inference cost is the quiet drag on every AI product's unit economics — compute per token compounds faster than most founders expect. SGLang's radix caching is one of the highest-leverage optimizations available right now, especially for multi-turn and batched workloads.

    1 Like

  • Profilbild von Daniel Rachlin

    @danielrachlin

    @lmsysorg @radixark @richardczl The cost of running LLMs in production is a real bottleneck. So many founders are wrestling with this.

    1 Like

  • Profilbild von PawMe

    @pawme_ai

    Efficient inference is exactly what we're wrestling with building PawMe — an open-source AI robot for pets. Running vision + behavior models on embedded hardware at the edge is painful when compute is scarce. KV caching strategies like this are a game-changer for embodied AI at home.

    1 Like

  • Profilbild von Blue_Knight

    @Robotanian

    @lmsysorg @radixark @richardczl I just upgraded sglang to 0.5.10.post1 2 days ago for my local inference. Sglang is my favorite😛

    1 Like

  • Profilbild von Richard He

    @RealRichomie

    @lmsysorg @radixark @richardczl 🔥

    1 Like

  • Profilbild von Balvinder Kalon

    @BalvinderKalon

    @lmsysorg @radixark @richardczl sglang has been quietly becoming the go-to for running inference at scale. the radix attention approach cuts costs significantly vs naive serving. glad someone's teaching this properly, most teams learn it the hard way after their first production bill.

    1 Like

  • Profilbild von saviour1691

    @jypark1691

    @lmsysorg @radixark @richardczl Understanding SGLang's caching and multi-GPU parallelism I think it will help me a lot with my technical skills on LLM inference efficiency.

    1 Like

  • Profilbild von Josh Zhang ∣ 極客財務官

    @fono5

    @lmsysorg @radixark @richardczl SGLang sounds promising for optimizing LLM costs! I've seen inference expenses balloon quickly. Efficient text *and* image gen? Color me intrigued. #LLMs #AI #Efficiency

    1 Like

  • Profilbild von Altiam Kabir

    @altiamkabir

    @lmsysorg @radixark @richardczl Efficient inference starts with smart reuse.

    1 Like

  • Profilbild von Gagan | Claude + AWS

    @gagansaluja08

    @lmsysorg @radixark @richardczl inference efficiency is becoming the real competitive moat. as models get smarter the question shifts from capability to cost per useful output. SGLang doing prefix caching and continuous batching right is huge for anyone running production workloads

    1 Like

  • Profilbild von NirD

    @NirDiamantAI

    @lmsysorg @radixark @richardczl sglang's chunked prefill actually lets you squeeze way more throughput from the same hardware compared to naive batching

    1 Like

  • Profilbild von Pramod Reddy Pandiri

    @PramodReddy1606

    @lmsysorg @radixark @richardczl Andrew Ng course on efficiency feels like we've come full circle from "throw more compute at it" back to actually caring about performance.

    1 Like