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. Answer the prompts, and 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.
Steps
Create the job
Start the interactive job setup:
cosmicac jobs createSelect GPU Container as the job type, then set these fields:
- Job name — a name to identify the job.
- Tags — comma-separated labels for the job.
- Location — the region where the job runs.
- GPU type — the GPU to use. The CLI lists the GPUs available in your location.
- GPU count — the number of GPUs.
- Root disk size (GB) — the root disk size in GB. Choose 250, 500, or 1000.
The Job configuration reference describes each field.
CosmicAC creates the job and prints its ID.
Confirm the job
List your jobs to confirm CosmicAC created the job:
cosmicac jobs listThe job appears in the table with its ID, name, tags, and status. Wait for it to provision. You can access the job once its status is running. See Access a GPU Container Job.