Implement a continuous-batching scheduler simulator with a paged KV cache that admits/evic

Prefill, Decode, and KV Cache Memory5 / 5

Chapter 025 / 5

Prefill, Decode, and KV Cache Memory

Implement a continuous-batching scheduler simulator with a paged KV cache that admits/evic

Super-hard

Implement a continuous-batching scheduler simulator with a paged KV cache that admits/evicts requests and reports throughput and P99.

Target interface
class Request

Complete the starter code in the editor. Any correct approach is accepted.

Hints0 / 2
Reference solution
Your own code stays in the editor.