Skip to content

[Feature]: Support Compute Fractions #157

Open
0 of 1 issue completed
Open

Description

@hsharon-source

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

Sub-issues

Sub-issues

0 of 1 Issues completed
Loading 1 sub-issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions