Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

[Question] How to store arbitrary values in MLMD? #136

Open
gabrielwen opened this issue Oct 7, 2019 · 3 comments
Open

[Question] How to store arbitrary values in MLMD? #136

gabrielwen opened this issue Oct 7, 2019 · 3 comments

Comments

@gabrielwen
Copy link

Users need to pass configurations between training and serving, e.g. feature set used for training should also be used for serving. How do we do it? Should we use values or is there a place for us to store free form JSON?

@zhenghuiwang
Copy link
Contributor

The type system of underlying MLMD server is extensible. You can

  1. register the custom type for the configurations via
    POST /api/v1alpha1/artifact_types
  2. Read and write the config as an artifact:
    Read GET /api/v1alpha1/artifact_types/{name}/artifacts/{id}
    Write POST /api/v1alpha1/artifact_types/{parent}/artifacts

The values is for metrics only not for any custom data.

@jtfogarty
Copy link

/kind feature
/priority p2

@jtfogarty
Copy link

/area engprod

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants