-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[UI] inputs/outputs tab in KFP semantics #5670
Comments
/assign @zijianjoy |
Current INPUT/OUTPUT tabRender Input Parameters, Input Artifacts, Output Parameters, Output Artifacts. They are read from Workflow object. Use MLMDBased on execution, we can find a list of events to identify artifact and input/output for this execution. Detail info is in pipelines/third_party/ml-metadata/ml_metadata/proto/metadata_store.proto Lines 94 to 161 in d9c0196
|
Questions
|
These questions are right to the point! Let me try to explain some context, I don't have a clear answer to some of them, you'll need to do some designing.
In KFP v1, input / output tab shows info parsed from argo workflows, but ML metadata tab shows info from MLMD. In v2 & v2 compatible, both will come from MLMD (and they are duplicate), so some merging or information rearrangement is necessary as you thought. Here's my gut feeling arrangement (mostly similar to your proposal), feel free to discuss: Input/output tab
ML Metadata tab
Link to execution details page should probably be shown all the time (e.g. as the side content title, see below
Similar to PR: #5793, we will soon standardize to move parameters to fields of a custom property Artifacts are what you already observed in ML metadata tab, they are connected to executions by event.
Answer (ref from proto file):
Thanks for the question, after re-reading the documentation, now I realized I had a wrong understanding of DECLARED_INPUT. For all inputs/outputs in KFP tasks, they should be declared input/outputs because they are part of the KFP component signature. Non-declared inputs/outputs is a concept only TFX uses. However, until now, because KFP does not have the non-declared inputs/outputs concept, we are logging all inputs & outputs as pure inputs and outputs. We need to confirm whether this is sth we need to change. |
KFP Inputs/Outputs tab in run details page is currently very coupled to argo.
For v2 compatible pipelines, we can use information from MLMD to render the Inputs/Outputs tab in KFP semantics.
The text was updated successfully, but these errors were encountered: