Skip to content

ComputeRequest

Example Usage

typescript
import { ComputeRequest } from "@meetkai/mka1/models/components";

let value: ComputeRequest = {
  accelerator: "<value>",
  ephemeralDiskGb: 187304,
  gpuCount: 494429,
};

Fields

FieldTypeRequiredDescription
acceleratorstring✔️N/A
ephemeralDiskGbnumber✔️N/A
gpuCountnumber✔️Attached GPUs. Zero is valid only for CPU-class catalogue entries and required for one.
instanceCountnumberIdentical cooperating execution instances per allocation. Omission means one.
interconnectstringN/A
vcpuCountnumberRequested vCPUs. A general capability-gated axis honored only by backends that support it; a backend that bundles CPU with the GPU rejects it. Required for a CPU-class accelerator, where memory follows the family's per-vCPU ratio.