LESSON 33.29 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Serving many LoRA adapters
Watch one GPU serve 10 requests that ask for 4 different LoRA adapters.
Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 33.29 · ADAPTER BAYADAPTER 27.3 MB · BASE 16.06 GB
01
Stage 1 of 5 · One base model
All 10 requests share one base model. Each asks for one of 4 LoRA adapters of 27.3 MB.
Explain it simply
A LoRA adapter is a small add-on to a frozen model: two thin matrices called A and B. The big block is the base model, and every request uses it. Each adapter card holds 27.3 MB, under 1% of the 16.06 GB base. So one GPU keeps the base once and many adapters beside it.
A 16.06 GB base weight block. Four adapter cards on disk: sql, code, law and help, each 27.3 MB. Ten request lanes, each named with its adapter.
requests, prefillbase and adapterswaits, mergesoutput tokens
Toy: the 29.C2 trace on one toy GPU; an 8B base with 4 adapters
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The output adds the frozen base product and the adapter's low-rank product.
PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
- 4 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.