Skip to main content
Stop a job to end it and release its GPUs. To run the same configuration again later, recreate the job: Baseten creates a new job from the original’s configuration, and the original stays as it is.

Stop a job

Stopping a job can’t be undone. Checkpoints the job already synced stay available, and you can recreate the job to run its configuration again.
To stop a job:
  1. Run the following command, replacing <job_id> with the job ID, and confirm when prompted:
    The command prints Stopped training job <job_id>. Synced checkpoints remain accessible. To skip the prompt in scripts, add --yes; when stdin isn’t a terminal, the command requires it.
  2. Confirm that the job stopped:
    The command prints "TRAINING_JOB_STOPPED".

Recreate a job

The new job starts from the beginning and gets a new ID.
To recreate a job:
  1. Run the following command, replacing <job_id> with the original job’s ID:
    The command prints Created training job <new_job_id> from <job_id>.
  2. To confirm the new job exists, describe it, replacing <new_job_id> with the ID the command printed:
    The ID: line is the new job’s ID.
To continue training from where a job stopped instead of from the beginning, start a new job that loads its latest checkpoint.

Next steps