Skip to content

Shows versions of a machine learning model

What does this MR do and why?

Shows versions of a machine learning model

Adds a paginated list on a model detail to show model versions.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. on rails console reate a few models and model versions, don't enable feature flag yet

    Feature.enable("model_registry")
    p = Project.find_by(id: 20) # or whatever project you want to use for testing
    model = Ml::FindOrCreateModelService.new(p, "model_1").execute
    
    60.times { |i| Ml::FindOrCreateModelVersionService.new(p, { model_name: "model_1", version: "1.0.#{i}" }).execute }
  2. Navigate to <project>/-/ml/models, select the model and then click on Versions. A list of versions should be loaded, with paginations

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #428900 (closed)

Edited by Eduardo Bonet

Merge request reports

Loading