Skip to main content

Tasks, Trials and Jobs

A Job manages work, and a Trial records one lifecycle of a managed worker process. A Runner supplies the execution capability; a Recipe supplies user code and its declared inputs and parameters. Bench Jobs organize evaluation Tasks and their attempts. All four Job types share the same list and detail commands, distinguished by type=bench|sandbox|train|inference. The CLI / SDK are clients; the platform validates and freezes inputs, executes tasks, scores results, and manages artifacts.

ConceptMeaningUsage
RunnerA reusable execution package containing runner.toml and main.py / main.shTwo-file directory or a Dataset's pinned Runner; explicit overrides use runner="envloop/harbor@<revision>"
RecipeA versioned extension packaged with recipe.toml and entrypoint.sh, run by a compatible RunnerWrite and publish a Recipe
TaskAn evaluation problem in a Dataset, including instructions, environment, reference solution, and verifierdataset={"name": "org/bench", "task_id": "org/task"}
TrialOne managed worker process lifecycle within a Bench, Sandbox, Train or Inference Job, identified by trial_id and typeel trial get TRIAL_ID
DatasetVersioned environment Tasks, structured records or trajectories; select the type and config / split needed by your workflowel job submit --dataset NAME
JobA run identified by job_id and type (bench, sandbox, train or inference); Bench Jobs organize member Trials and attemptsclient.jobs.submit(...)
ProfileAn execution parameter template, snapshotted on submission; not a running resourceprofile={...} or a named Profile
ArtifactOutput files and hashes beyond stdout / stderrclient.trials.result(...)

Submit new evaluations as Bench Jobs. An inline or selected single Task creates a one-member Job; attempts defaults to 1. Its Trial ID is in members[0].attempts[0].trial_id. Inline Jobs have no Dataset reference; absent metadata displays —. Historical standalone Trials retain their IDs and nullable job_id. A training step, inference request or retry within the same worker process does not create another Trial; a worker restart has a new lifecycle.

State and score​

Trial wait terminal states are succeeded, failed, and cancelled. Job wait terminal states are completed, failed, and cancelled; a Bench Job's completed status means collection execution has ended, so still inspect each Trial and its scores. After training, check saved checkpoints and cleanup status separately.

Execution status and evaluation score are separate: benchmark verifier rewards are recorded on their own. A missing score stays missing; do not parse scores from stdout. Read Job aggregate results with jobs.result().

Frozen inputs and retries​

The platform freezes task contents, Dataset selection, and parameters when it first accepts a submission. Retry the same request with its original request_id to retrieve the accepted execution. Reusing that ID with different inputs is rejected. Use a new request_id when changing parameters or intentionally rerunning; the SDK generates one if omitted.

When Dataset version is omitted, the platform resolves it using its fixed source and default rules. For reproducible runs, record the response's version, source snapshot, Profile, dependency environment, and artifact hashes.

Client and platform boundary​

The CLI / SDK manage resources through public APIs. The platform owns repository snapshots, run databases, execution directories and artifacts; client queries use connection settings and resource IDs. Closing an API client does not stop submitted work. Local platform development still uses a public API address.

Use Client.remote() for platform work and the connection settings to select your API address and project.

Training boundary​

A Train Job is a type=train Job in the shared registry and Job list, containing one or more independent Trial configurations or repeats. A Train Trial follows a managed training worker process; steps, operations and saved checkpoints do not create additional Trials or evaluation Tasks. Every Train Job is addressed by its job_id, including historical ones. Unified Job APIs manage submission, reads and stopping; only platform managed controllers advance training.

The CLI supports training submission and status through el job submit --type train / el job get JOB_ID, and shared reads and stopping through el job. client.training_jobs manages Train Jobs. Choose the published Runner, Recipe and inputs for your training workflow using the Training guide, then submit its request with client.jobs.submit_spec(request).

The public interactive training service is retired. Migrate legacy interactive code to Train Jobs using the migration guide. See Resources for prerequisites and Training for the first run.

The model lifecycle​

ResourceWhat it representsWhat to keep
Train JobOne training submission containing independent TrialsJob ID, base model, configuration and metrics
CheckpointSaved weights or resumable state, depending on the save operationURI, checkpoint ID, format, size and hash
Inference JobAn independent service running a pinned Recipe, optionally with a Checkpoint inputJob ID, Recipe and Checkpoint references, returned model name and readiness
OperationA durable record of asynchronous lifecycle work such as cleanupOperation ID and final success/error results
Temporary resource scopeA group of resources created for one bounded experimentScope ID and the resources you explicitly retained

Stopping a Job and deleting a Checkpoint are different actions. Keep a useful Checkpoint after releasing training compute, and supply it to a separate Inference Job. Stop that Job when finished and check inference.cleanup_confirmed for resource release; retained and shared Checkpoints remain. Follow Train, deploy and call and Inference for the complete workflow and historical deployment handling.

Scope, permissions and reproducibility​

A workspace contains projects. Select the right project before creating or looking up resources. A project role describes a person's access, while a project key has its own capability restrictions; access to a resource needs the matching permission. See Authentication and Members.

For a useful experiment record, keep the dataset revision and selected split/tasks, Runner and Profile versions, model/checkpoint identity, input parameters, Job/Trial IDs, result coverage and output hashes. Compare like-for-like attempts using Evaluation and results, and keep public leaderboards separate from your project's internal evaluation snapshots.

Which page should I use?​

Use Jobs for a whole evaluation, Trials for an individual failure or output file, Training for model updates, and Inference for serving a trained model. Model Loops follows RSI loops in a read-only Console section; el loop starts and controls them and lists the training Jobs each loop launched. The Console tour maps these tasks to the actual pages.