Repository navigation
Description
Component
Cross-component or new component
Problem or use case
KAI Scheduler is adding GPU compute fractions (kai-scheduler/KAI-Scheduler#2191): a workload will be able to specify a guaranteed minimum share of GPU compute, or a hard ceiling, in addition to the GPU memory fraction it requests today.
Node-level enforcement and metrics for fractional allocations live in this repository. Compute fractions therefore require corresponding support here — the scheduler can express and place the request, but the guarantee has to be realised and observed on the node.
Proposed solution
Placeholder. Scope to be defined once the high level design lands (kai-scheduler/KAI-Scheduler#2192). Expected areas:
- Accept and apply the per-workload compute setting alongside the existing memory fraction
- Translate the requested value into the underlying hardware units, including the rounding implied by partition granularity — this component is a candidate owner for that translation, pending the design decision
- Enforce the guaranteed minimum and the hard ceiling in the relevant sharing mode, including reclaim when a bursting workload must return capacity
- Validate and reject unsupported combinations at the node level, to the extent not handled upstream
- Expose whatever compute-consumption signal is obtainable, and document the limits where it is not
Alternatives considered
Deferring node-level support until GPU fractions move to the DRA track. Rejected for this phase: DRA is out of scope for 0.20, and the capability is needed before that path is viable. The cost of the duplicated work is an open question and a reason to keep this scope minimal.
Compatibility and operational impact
- Existing memory-fraction behaviour must be unchanged
- The two unparameterised compute modes remain the only ones available below CUDA 13.5 and must continue to work
- Requires CUDA 13.5 / driver r620; behaviour on earlier stacks must degrade predictably
- Per-container compute metrics are not obtainable under MPS — a documented limitation
- Ships as Alpha; the API surface may change
Additional context
- Parent: Support GPU Compute Fractions KAI-Scheduler#2191
- Design: [Design] High level design of GPU compute fractions KAI-Scheduler#2192
- Opened as a placeholder so the node-side work is visible and ownable before the design closes.
Activity