Create a GPU Container Job
Create a GPU Container Job interactively with the CLI, then confirm it.
Create a GPU Container Job from the CLI. You answer a few prompts, then CosmicAC creates the job.
Prerequisites
You need the following before you start.
- A running CosmicAC deployment. See Installation.
- The CosmicAC CLI installed and configured. See Install the CLI.
Create the job
Start the interactive job setup.
cosmicac jobs createSelect GPU Container as the job type, then set these fields. The Job configuration reference describes every field.
- Job name — the name for the job.
- Tags — one or more comma-separated tags.
- Location — the region where the job runs, for example
usorIN. - GPU type — the GPU to use.
- GPU count — the number of GPUs.
- GPU driver — an optional GPU driver.
- CPU cores per GPU — optional CPU cores per GPU.
- Memory GB per GPU — optional memory per GPU in GB.
- Base image — the container base image.
- Root disk size (GB) — the root disk size in GB.
CosmicAC creates the job and prints its ID.
Confirm the job
List your jobs to confirm the job was created.
cosmicac jobs listThe job appears in the table with its ID, name, tags, and status.