Verta
Latest
Search
K

Creating registered model version from run

An alternative to creating model versions from scratch is to convert an existing experiment run into a new version of a registered model.
A model version created from an experiment run will automatically inherit its model, artifacts, Python requirements, and training histogram. This RMV will not be a Verta Standard Model but a Custom Model.
To create a new model version from an existing experiment run, we can use RegisteredModel.create_version_from_run() as documented here:
model_version = some_registered_model.create_version_from_run(
run_id=experiment_run.id,
name="from-experiment-run",
)