edit_training_job
Edit the configuration of a non-running training job, then resume it to apply the new settings. Works for stopped, canceled, or failed jobs.
Instructions
Replace the config of a non-running training job.
Backs ``POST /prod/v1/trainers/ai-toolkit/jobs/{job_id}/edit``. Only
works while the job is ``STOPPED``, ``CANCELED``, or ``FAILED``, and
``config.name`` in the new YAML must still match the original job's
name. GPU type and count are chosen at resume time, so call
``resume_training_job`` afterwards to re-queue with the new config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| config_file | Yes |