Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Efficient Memory Management for Large Language Model Serving with PagedAttention

Store each conversation's attention cache in small fixed-size blocks behind a table, the way an operating system pages memory, and two to four times as many tokens come off the same GPU.

Read the original ↗

A language model generating text keeps a growing cache for every conversation it is serving, and in 2023 the serving systems stored each cache the way a beginner stores an array: one contiguous block, reserved at the maximum size up front. This paper measured how much of that memory held anything, found the answer was at best about four tenths, and fixed it with the oldest trick in the operating-systems textbook.

Included with a plan

This discussion is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

Related on chalk

The same idea as a board, lab, video or lesson.

Further reading

Read the original for the full argument and its evidence.