Back to engineering

4ROUTER / Systems

Scheduling across GPUs

Placing work where the right resources are available.

Engineering note

A resource count is a starting point

GPU count alone does not determine placement. Memory, accelerator type, interconnect, cached models and competing workloads also matter. Explicit scheduling constraints are easier to maintain than relying on someone to remember each machine.

Choose the isolation unit

Kubernetes exposes GPUs through device plugins and resource requests. The serving runtime still manages concurrency and memory inside the application. Node placement and request scheduling operate at different layers and need separate observations.

Make waiting understandable

When a job is waiting, distinguish insufficient resources, unmatched constraints, loading and node failure. Explicit queue and cancellation policies help prevent duplicate submissions. Node maintenance should state whether work migrates, restarts or waits.

Before implementation

  • GPU type and memory
  • Placement and queue policy
  • Maintenance and cancellation

Further reading

Kubernetes · Schedule GPUs

4ROUTER / SYSTEMS RESEARCH

Mechanisms and experiment design

Understand how operators, KV state and scheduling shape an inference path.

Read the systems notes in Resources
GEMM / KERNELS

From operators to serving: cuBLAS & cuDNN

Identify the limiting resource before selecting the implementation.

STATE / CAPACITY

KV cache: from tensor shapes to capacity budgets

Context length is a state budget that grows with concurrency.

TIERS / TRANSFER

LMCache: placing KV state in a storage hierarchy

Avoiding prefill requires paying for state access.

Let’s talk infrastructure.

Connect to the platform, or discuss models, performance and deployment.