ComputeRequest
Example Usage
typescript
import { ComputeRequest } from "@meetkai/mka1/models/components";
let value: ComputeRequest = {
accelerator: "<value>",
ephemeralDiskGb: 187304,
gpuCount: 494429,
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
accelerator | string | ✔️ | N/A |
ephemeralDiskGb | number | ✔️ | N/A |
gpuCount | number | ✔️ | Attached GPUs. Zero is valid only for CPU-class catalogue entries and required for one. |
instanceCount | number | ➖ | Identical cooperating execution instances per allocation. Omission means one. |
interconnect | string | ➖ | N/A |
vcpuCount | number | ➖ | Requested 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. |