Displays ModelVersion data on the detail page and model page
What does this MR do and why?
Shows description and package data for a model version. This is displayed both on the model page (showing information about the latest version), and on model detail page. More information about the model version will be added in a follow up MR (!137045 (merged))
Screenshots or screen recordings
Before | After | |
---|---|---|
Model page | ||
Model Version page |
How to set up and validate locally
-
Enable the feature flag
Feature.enable("model_registry")
-
Upload any file using the model registry API (README.md is an example found at the root of gitlab repo). This will create the a model and a package. Replace $PROJECT_ID and $GLAB_TOKEN:
curl --header "Authorization:$GLAB_TOKEN" --upload-file ./README.md "http://localhost:3000/api/v4/projects/$PROJECT_ID/packages/ml_models/gitlab_model/0.0.1/README.md"
-
Navigate to
path/to/project/-/ml/models
, and select the created model. The data about the version should be displayed in the details tab. -
Select the versions tab, then the created version. The data will be displayed.
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 #428905 (closed)