Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Metrics jobs are, for the most part, just regular batch jobs. The main difference is that all the input records are supplied at the same time to the action function. So while the action function for a normal scoring batch job can be expected to be called once for each input record, the action function for a metrics job can be expected to be called only once.

Automatically Importing Requirements into a ModelOp Runtime

When a model contains an asset with the ‘Required libraries’ role, the ModelOp Runtime will attempt to install the libraries described therein. This feature is currently only supported for python models, and the format of the asset must be that of a typical requirements.txt file. On import, model assets named requirements.txt will be automatically assigned the role of ‘Required libraries’, but any asset can be updated with the role. The Runtime will attempt to install the libraries indicated by the contents of each required libraries asset before running the model code. Each model execution is done in an isolated environment, so requirements installed for model A will not be present for model B.

Next Article: ModelOp Runtime Details