liveBook · Manning

Run

As explained in Designing Deep Learning Systems: A guide for software engineers

A recorded execution of a model-training pipeline that produces outputs and associated parameters, datasets, metrics, artifacts, and metadata.

A training run is one execution of model training, recorded as a connected set of inputs, environment details, outputs, and metrics. Capturing a run makes model results reproducible, comparable, and easier to troubleshoot rather than treating a trained model file as an isolated artifact. section 8.2.1 section 8.2.2

Record a run with enough information to recreate and assess it:

  • Dataset identity and version, so the training input is unambiguous. section 8.2.1
  • Hyperparameters, including learning rate and epoch count. section 8.2.1
  • Training-code version and execution-environment configuration, such as conda.yml, Dockerfile, or requirements.txt. section 8.2.1
  • Allocated and consumed CPU, GPU, TPU, memory, and disk resources. section 8.2.1
  • Training-progress metrics and evaluation metrics, such as epoch loss, F-score, or RMSE. section 8.2.1

Store run metadata centrally and link it to models, pipelines, and artifacts. These relationships let a user start from a model or run, retrieve its parameters, datasets, and metrics, and determine model lineage without understanding the underlying training or serving infrastructure. section 8.2.2 section 8.3.2

Comparing past runs

A data scientist lists models and training runs, opens a past run, and retrieves its input parameters, dataset, and training metrics to evaluate the model. A metadata UI can also visualize performance metrics and differences across runs. section 8.2.2 section 8.3.2

Figure 8.4 A general metadata and artifact store system design

This reference architecture shows a client SDK sending metadata from workflow components to a server that aggregates, stores, queries, and visualizes run-linked information. section 8.3.2

How Designing Deep Learning Systems: A guide for software engineers covers it

How deep it goes
Details the run fields and their storage relationships, but does not specify a training framework's execution internals.
Examples
Uses dataset versions, learning rate, epoch count, Dockerfile, epoch loss, F-score, RMSE, and a UI for comparing past runs.
What it assumes
Assumes familiarity with model training, datasets, hyperparameters, metrics, and execution environments while defining the metadata to record.
What you can do after
Evaluate/understand a model by retrieving a run's inputs, metrics, artifacts, and linked lineage from centralized metadata.
How it connects
Connects training runs to datasets, hyperparameters, training code, hardware resources, metrics, models, artifacts, pipelines, and model lineage.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Designing Deep Learning Systems: A guide for software engineers. The section links point to the parts of the book it draws on.