-
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
MLEngine Commands Implementation #773
Conversation
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vicaire The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
292978f
to
57b7122
Compare
/retest |
html = obj._repr_html_() | ||
_output_ui_metadata({ | ||
'type': 'web-app', | ||
'html': html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the documentation(https://www.kubeflow.org/docs/pipelines/output-viewer/), I did not find the html field key. Is the documentation outdated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new feature we will add. It's tracked by #795. @rileyjbauer
import googleapiclient.discovery as discovery | ||
from googleapiclient import errors | ||
|
||
class MLEngineClient: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add a TODO list in this client python about what other interfaces will be surfaced.
For example, model version list as in https://cloud.google.com/ml-engine/reference/rest/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a module level comment for that.
Overall, it looks good to me. |
@hongye-sun: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Discussed with Hongye offline:
|
/lgtm |
/retest |
* MLEngine API commands * Add job_id_prefix to create_job command * add create training job command * add display API * Refactor CMLE APIs * Fix PR comments. * Add warnings before overwrite an existing file.
* Add performance test script Signed-off-by: Christian Kadner <ckadner@us.ibm.com> * Enable script in single-user mode, unauthenticated Signed-off-by: Christian Kadner <ckadner@us.ibm.com> * Use explicit names for duplicate pipeline function names Signed-off-by: Christian Kadner <ckadner@us.ibm.com> * Run performance tests in parallel Pipeline compilation still runs in sequence due to compiler implementation limitations. Signed-off-by: Christian Kadner <ckadner@us.ibm.com> * Improve readability of console output Signed-off-by: Christian Kadner <ckadner@us.ibm.com> * Use decorator to track method execution times This allows accurately recording compile times when running tests in parallel, despite the restriction that pipeline compilation is synchronized. Signed-off-by: Christian Kadner <ckadner@us.ibm.com> * Assert presence of 'pipeline_name' keyword argument Instead of raising a ValueError in '@time_it' decorator Signed-off-by: Christian Kadner <ckadner@us.ibm.com>
The commands will be part of component sdk so that user can also directly use the APIs in their own code.
It includes APIs:
This change is