Skip to content

give Model two tier naming hierarchy #1530

@richardhenwood

Description

@richardhenwood

Hi Folks,

Is your feature request related to a problem? Please describe.

Popular registries store entities using a two tier naming hierarchy. Examples include:

  • Github: '<org_name>/<repo_name>' i.e. github.com/kubeflow/model-registry
  • Docker hub: '<org_name>/<container_name>' i.e. hub.docker.com/r/apache/airflow
  • Weights and Biases: '<project_name>/<artifact_name>'
  • Maven (Java ecosystem in general): '<domain_name>/<project_name>' i.e. mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
  • Artifcatory (inherets from popular registries.

Today, the Model appears to only support Name.

Describe the solution you'd like

I suggest that an organization field is added to the Model. I think that might be introducing a new field here:

Describe alternatives you've considered

I have considered:

  • Doing nothing: There are examples of repositories where the artifacts just have a name: pypi, linux distros. Using just a name increases the likelihood of name collision. With a single name it will be difficult to exchange models from this Registry into Registries and tooling that require two tier naming.
  • Make two tier optional: It looks like Npm has optional two tier. If a second tier name is added to the Model and required users could choose to ignore by providing a default. This is a simple workaround and avoids adding logic to make it truly optional.

Additional context
I'm very excited to see Kubeflow develop a registry solution!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions