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 |
---|---|
How to set up and validate locally
-
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 }
-
Navigate to
<project>/-/ml/models
, select the model and then click onVersions
. 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #428900 (closed)
Edited by Eduardo Bonet