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

Inference & Serving5 / 5

Chapter 245 / 5

Inference & Serving

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

Implement the function/class skeleton in the editor. Any correct approach is accepted.

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