Skip to main content

Train Jobs

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, then inspect models, data, monitoring, and checkpoints.

For published GPU entrypoints, see GPU Runner training. 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 exampleCLI Hello World
Train with my own code from my own repositoryWrite a Recipe in your own repository
Train a small example firstSFT quickstart
Migrate existing training SDK codeInteractive training removal
Prepare conversations or image recordsPrepare training data
Understand batches, loss and updatesTraining recipe parameters
Verify a checkpoint, then deploy if neededTrain and deploy
Follow a complete project from data to a measured gainTutorial: financial decision model
Download or continue from saved weightsCheckpoints and recovery
Find, diagnose or stop a runMonitor training

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 as hello-world.json, then prepare two independent repetitions:

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))
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​

Discover recipes with GET /v1/training-models (example), 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.

Resources and IDs to keep​

ObjectMeaningRecord
Client.remote()Authenticated project connectionAPI origin and project, never the secret Key
Train JobTrain Job request and execution lifecycleReturned Job ID and request ID
TrialOne independent Runner executionReturned Trial ID; steps and technical retries are not new Trials
Records and recipeSubmitted data and frozen processing rulesData checksum, model revision, effective parameters and seed
CheckpointSaved artifactExact path, resource ID, completed step, sizes and hashes
Inference JobIndependent service running a pinned Recipe, optionally with a CheckpointJob 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, or use a compatible checkpoint for inference.