Why does the version of a registered model have to be an integer?

DOMINGUES Francisco M 20 Reputation points
2023-10-12T10:34:49.77+00:00

Hello!
I'm trying to implement semantic versioning rules ("MAJOR.MINOR.PATCH") for all Azure Machine Learning assets but I'm struggling since the version of a registered model must be a positive integer. This is unlike data assets or environments, where the version can be an arbitrary string. Is there any reason for this restriction in models or is it something that could be fixed in the future?

Thank you!

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,341 questions
{count} votes

Accepted answer
  1. romungi-MSFT 48,911 Reputation points Microsoft Employee Moderator
    2023-10-12T11:34:25.4166667+00:00

    @DOMINGUES Francisco M Yes, I think you are trying to register the model from the ML portal or the CLI where the version needs to be a positive integer.

    User's image

    The CLI and SDK is manitained through this repo on github. I think you can raise an issue on the repo to check if this will change in the future as this effects the implementation of the model registration through all CLI, SDK or portal.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.