---
sidebar_label: "Train Jobs"
title: "Train Jobs"
description: "Choose a training workflow, submit independent Trials and keep the results you need."
last_update:
  date: 2026-11-18
---

Training methods, model defaults and framework implementations come from immutable Recipe and Runner content. Check the authorized offerings, frozen references and `request_schema` returned by `GET /v1/training-models` or `client.training_jobs.models()` before using a model example on this page. Examples require matching catalog content. Legacy requests must match exactly one offering; missing or ambiguous mappings are refused. Console remains read-only.


A Train Job is a Job with `type=train`. The platform runs its training loop and allocates and releases resources. Built-in SFT recipes and published Runners are execution modes of the same Job type. Start with the [SFT quickstart](quickstart.md), then inspect [models](models.md), [data](data.md), [monitoring](monitoring.md), and [checkpoints](checkpoints.md).

For published GPU entrypoints, see [GPU Runner training](runner.md). Check that your project can access the Runner and the requested GPU resources.

## Choose your next step

| I want to… | Read |
|---|---|
| Run the fixed ten-step CLI example | [CLI Hello World](cli-hello-world.md) |
| Train with my own code from my own repository | [Write a Recipe in your own repository](../guides/recipe-repository.md) |
| Train a small example first | [SFT quickstart](quickstart.md) |
| Migrate existing training SDK code | [Interactive training removal](sdk-compatibility.md) |
| Prepare conversations or image records | [Prepare training data](data.md) |
| Understand batches, loss and updates | [Training recipe parameters](optimization.md) |
| Verify a checkpoint, then deploy if needed | [Train and deploy](train-deploy.md) |
| Follow a complete project from data to a measured gain | [Tutorial: financial decision model](tutorials/finance-decision-model.md) |
| Download or continue from saved weights | [Checkpoints and recovery](checkpoints.md) |
| Find, diagnose or stop a run | [Monitor training](monitoring.md) |

## What you control

Submit a request ID, supported model, records, step/length/batch bounds and optional seed. The platform validates and freezes the recipe, model revision, resources and Job/Trial identity. It selects the backend. Console Experiment views are read-only; submit and manage execution using the CLI/SDK.

## Submit independent training Trials

The `el job submit --type train --spec REQUEST.json` entry accepts the original single-run request, or an object with an outer `request_id` and `trials: [{name?, spec}, ...]`. Each `spec` uses the supported single-run fields, excluding `request_id`. First save the complete request from [CLI Hello World](cli-hello-world.md) as `hello-world.json`, then prepare two independent repetitions:

```python
import json
import uuid
from pathlib import Path

spec = json.loads(Path("hello-world.json").read_text())
spec.pop("request_id", None)
request = {
    "request_id": "hello-world-pair-" + uuid.uuid4().hex,
    "trials": [
        {"name": "first", "spec": spec},
        {"name": "second", "spec": spec},
    ],
}
Path("two-trials.json").write_text(json.dumps(request))
```

```bash
el job submit --type train --spec two-trials.json
el trial list --type train --job-id JOB_ID --json
```

This repeats the fixed recipe without changing its data or parameters. The server validates all items before creating the group; the current maximum is 16. Do not combine top-level single-run fields with `trials`. Reusing the outer request ID with the same content returns the same Job and ordered `trial_ids`; different content conflicts. The SDK accepts the same object through `client.training_jobs.submit(request)`.

Trials using built-in SFT recipes run sequentially by default with separate allocations. A failure does not cancel siblings. Use the authorized CLI/SDK Trial lifecycle command to stop a member, or stop the Job to prevent queued work and stop active members. Budget for each Trial and inspect its results and checkpoints.

## Supported operations {#supported-operations}

Discover recipes with `GET /v1/training-models` ([example](models.md)), then use `client.training_jobs.submit/status/result/logs/stop`, Job/Trial queries and checkpoint resources. Interactive session/model creation, gradient/optimizer operations, future polling and interactive samplers are removed for all public credentials, including administrators. See [migration](sdk-compatibility.md).

## Resources and IDs to keep

| Object | Meaning | Record |
|---|---|---|
| `Client.remote()` | Authenticated project connection | API origin and project, never the secret Key |
| Train Job | Train Job request and execution lifecycle | Returned Job ID and request ID |
| Trial | One independent Runner execution | Returned Trial ID; steps and technical retries are not new Trials |
| Records and recipe | Submitted data and frozen processing rules | Data checksum, model revision, effective parameters and seed |
| Checkpoint | Saved artifact | Exact path, resource ID, completed step, sizes and hashes |
| Inference Job | Independent service running a pinned Recipe, optionally with a Checkpoint | Job ID, Recipe and Checkpoint references, returned model name and API base URL |

Historical session/model IDs may still appear in recorded metadata. They do not restore public session creation. Jobs list all four types; select Train for Overview, Trials, Logs, Metrics, Events and Checkpoints. No Agent Task is created for training.

## After training

1. Confirm the Job's terminal success and actual completed steps; acceptance alone is insufficient.
2. Record the exact checkpoint and verify durable files, separately from saved metadata. Run download size/SHA-256 checks on CPU after training compute is released.
3. Retain required artifacts before any applicable cleanup. Training, checkpoint storage and serving resources have separate lifetimes.
4. When assessing quality, compare complete held-out outputs against the baseline with the same rules.
5. If deployment is requested, create an independent Inference Job with a compatible Recipe and Checkpoint input, then verify readiness and an authorized inference response. A checkpoint-only deliverable needs no Inference Job.
6. Confirm resource release and cleanup, and record the allocation, ready, stop and released timestamps separately.

Next: download the files you need with [Checkpoints](checkpoints.md), or use a compatible checkpoint for [inference](train-deploy.md).
