CosmicAC Logo
Configuration reference

Job configuration reference

Fields you set when you create a GPU Container Job or a Managed Inference Job.

You set these fields when you create a job, either in the web interface or with cosmicac jobs create. The job type determines which fields apply. Required means the CosmicAC API rejects a job without the field. The web interface and cosmicac jobs create supply a value for the optional fields, either from the model master or from their own defaults. In non-interactive mode, set each field with the flag in the CLI flag column. For the create flow, see Create a GPU Container Job and Create a Managed Inference Job.

Common fields

These fields apply to every job type.

FieldRequiredCLI flagDescription
Job typeYes--typeThe kind of job to create, either GPU Container or Managed Inference.
Job nameYes--nameA name to identify the job.
TagsYes--tagsOne or more labels for the job. The CLI accepts a comma-separated list.
LocationYes--locationWhere the job runs, for example IN. The CLI lists the locations your racks report.
NotificationsNo--notifyThe job lifecycle events this job reports. Takes a comma-separated list of job_failed, job_degraded, job_recovered, and job_restart_storm, or all, or none. Defaults to all four. An event also needs the matching switch on in SettingsNotifications before it reaches your webhook. See What controls delivery.

GPU configuration

These fields select the job's hardware.

FieldRequiredCLI flagDescription
GPUYes--gpu-typeThe GPU to use, for example GH100_H100_SXM5_80GB. The CLI lists the GPU types your racks report.
GPU countYes--gpu-countNumber of GPUs for one replica. One of 1, 2, 4, or 8. A vLLM Managed Inference Job also takes 16 for a multi-node replica.
CUDA / driverNo--driverGPU driver version. Your model masters set the available versions, for example CUDA 13.0. Defaults to CUDA 12.9.
CPU cores per GPUNo--cpu-cores-per-gpuCPU cores to reserve for each GPU. If you omit this field, CosmicAC uses the value your rack reports for the GPU type.
RAM per GPUNo--mem-gb-per-gpuSystem memory in GB to reserve for each GPU. Use a whole number. If you omit this field, CosmicAC uses the value your rack reports for the GPU type.

Set the GPU type and count in one flag with --gpu TYPE=COUNT, for example --gpu H100=2. This replaces --gpu-type and --gpu-count.

On nodes that hold 8 GPUs, a replica with 1, 2, 4, or 8 GPUs runs on one node. A replica with 16 takes two whole nodes. Only a vLLM Managed Inference Job can run a multi-node replica. See Multi-node replicas.

For a Managed Inference Job, the count must equal the model's per_replica_gpu_count, listed as GPUs per replica in Recommended model parameters. CosmicAC rejects any other value with a 400 status and the message gpu.count must equal per_replica_gpu_count (N).

GPU Container parameters

These fields apply to a GPU Container Job.

FieldRequiredCLI flagDescription
Base OS imageYes--base-imageOperating system image for the container. Your model masters set the available images, for example Ubuntu 22.04 + CUDA 13.0. If you omit --base-image, the CLI sends Ubuntu22.04/CUDA12.9.
DiskNo--root-disk-size-gbRoot disk size in GB. Minimum 100. Defaults to 250.

vLLM Managed Inference parameters

These fields apply to a vLLM Managed Inference Job.

FieldRequiredCLI flagDescription
ModelYes--modelHugging Face model ID to serve, for example MiniMaxAI/MiniMax-M2.5.
Runtime image (CUDA)Yes--runtime-imageServing runtime image as a Docker image reference, for example vllm/vllm-openai:v0.15.1. The web interface takes this value from the model master.
Data typeYes--data-typeNumeric precision the model runs at, for example BF16 or Auto. If you omit --data-type, the CLI sends Auto.
QuantisationNo--quantisationQuantisation scheme, for example fp8 or awq. Defaults to none.
Tensor parallelNo--tensor-parallelGPUs to split the model across. One of 1, 2, 4, 8, or none. Must divide the GPU count exactly. With no value, CosmicAC uses the model's per_replica_gpu_count.
GPU memory utilizationNo--gpu-memory-utilizationFraction of GPU memory to use, between 0 and 1. Defaults to 0.9.
Max concurrent sequencesNo--max-concurrent-sequencesMaximum requests handled at once. Between 1 and 512. Defaults to 256.
Max model lengthNo--max-model-lengthMaximum model context length. Defaults to 32768.
Reasoning parserNo--reasoning-parserParser that separates a model's thinking from its final response. The value default means no parser.
Video & image inputNo--multimodalWhether the model accepts multimodal input. true or false. Defaults to false.
Root disk sizeNo--root-disk-size-gbVM root disk size in GB. Minimum is the model's disk_gb, listed as Root disk size in Recommended model parameters. Defaults to 250. CosmicAC rejects that default for a model with a higher minimum.
Environment variablesNo--envEnvironment variables passed to the inference service.
Endpoint nameYes--endpoint-nameName of the inference endpoint. Must be unique across active inference jobs.
ReplicasNo--replicaNumber of endpoint replicas. One of 1, 2, or 4. Defaults to 1.
Require Authorization headerNo--require-auth-header / --no-auth-headerWhether callers must send an authorization header. true or false. Defaults to true.

Each model sets its own minimum, so no single size works everywhere. CosmicAC rejects a smaller root disk with root_disk_size_gb (X) is below model master disk_gb (Y).

Tensor parallel is optional. The web interface doesn't show the field and sends the model master's value for per_replica_gpu_count. The CLI pre-selects that same value in interactive mode, and takes it from --tensor-parallel in non-interactive mode.

When a job carries no tensor parallel value, CosmicAC sets it to the model's per_replica_gpu_count, listed as GPUs per replica in Recommended model parameters. A job's GPU count equals that same number, so the filled value always divides it exactly.

If a tensor parallel value doesn't divide the job's GPU count exactly, CosmicAC rejects the job with tensor_parallel must evenly divide the GPU count per instance and a 400 status.

Startup timeout

CosmicAC gives a model a fixed window to load and start serving. If the model server isn't ready when that window closes, CosmicAC restarts it. You set these two variables in the job's Environment variables field:

  • DOCKER_STARTUP_TIMEOUT_MS: milliseconds the model has to become ready. The default is 30 minutes, written 1800000. A multi-node job uses 60 minutes, written 3600000. A value of 0 disables the timeout, so CosmicAC never restarts a slow load.
  • DOCKER_MAX_RESTARTS: how many times CosmicAC restarts the job before it fails. The default is 3.

A restart from the startup timeout counts toward that limit. A job that reaches the limit stops retrying and fails.

Parakeet Managed Inference parameters

These fields apply to a Parakeet Managed Inference Job.

FieldRequiredCLI flagDescription
ModelYes--modelParakeet model to serve, nvidia/parakeet-tdt-0.6b-v3.
Endpoint nameYes--endpoint-nameName of the transcription endpoint.
Chunk durationNo--chunk-durationAudio chunk length in seconds. Minimum 10, which is also what the CLI sends when you omit the flag.
Chunk overlapNo--chunk-overlapOverlap between chunks in seconds. Must be less than the chunk duration. Minimum 5, which is also what the CLI sends when you omit the flag.
Max file sizeNo--max-file-size-mbMaximum upload size in MB. Minimum 1024, which is also what the CLI sends when you omit the flag.
ReplicasNo--replicaNumber of endpoint replicas. One of 1, 2, or 4. Defaults to 1.
Require Authorization headerNo--require-auth-header / --no-auth-headerWhether callers must send an authorization header. true or false. Defaults to true.

On this page