Skip to content
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

Add gpu pool to test deployment and enable gpu in sample test #696

Merged
merged 3 commits into from Jan 25, 2019

Conversation

hongye-sun
Copy link
Contributor

@hongye-sun hongye-sun commented Jan 17, 2019

I temporarily disable the clean up code for debug purpose. Will update the PR once the test passed.


This change is Reviewable

@hongye-sun
Copy link
Contributor Author

/test kubeflow-pipeline-e2e-test

2 similar comments
@hongye-sun
Copy link
Contributor Author

/test kubeflow-pipeline-e2e-test

@hongye-sun
Copy link
Contributor Author

/test kubeflow-pipeline-e2e-test

@hongye-sun hongye-sun changed the title [WIP] Add gpu pool to test deployment and enable gpu in sample test Add gpu pool to test deployment and enable gpu in sample test Jan 18, 2019
@hongye-sun
Copy link
Contributor Author

@gaoning777, the PR is ready, PTAL.

@@ -152,6 +152,7 @@ if [ "$TEST_NAME" == 'tf-training' ]; then
sed -i -e "s|gcr.io/ml-pipeline/ml-pipeline-dataflow-tf-predict:\([a-zA-Z0-9_.-]\)\+|${DATAFLOW_PREDICT_IMAGE}|g" kubeflow-training-classification.py
sed -i -e "s|gcr.io/ml-pipeline/ml-pipeline-local-confusion-matrix:\([a-zA-Z0-9_.-]\)\+|${LOCAL_CONFUSIONMATRIX_IMAGE}|g" kubeflow-training-classification.py
fi
sed -i -e "s|use_gpu\s*=\s*False|use_gpu = True|g" kubeflow-training-classification.py
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That seems a bit hacky. Could we use proper parameter passing instead of using sed on a Python file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We did sed replace all over the places in the test script. There is currently a limitation that user cannot pass gpu setting as pipeline parameter as gpu must be set before the dsl compile time. That's why we cannot use parameter to control this test.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, thanks.

@vicaire
Copy link
Contributor

vicaire commented Jan 24, 2019

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

1 similar comment
@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hongye-sun
Copy link
Contributor Author

/test kubeflow-pipeline-build-image

@k8s-ci-robot k8s-ci-robot merged commit 72a7de9 into kubeflow:master Jan 25, 2019
hongye-sun added a commit to hongye-sun/pipelines that referenced this pull request Feb 5, 2019
hongye-sun added a commit to hongye-sun/pipelines that referenced this pull request Feb 6, 2019
Linchin pushed a commit to Linchin/pipelines that referenced this pull request Apr 11, 2023
* Fix periodic runs of tekton workflows.

* Periodic runs aren't associated with a repository/commit; so we shouldn't
  try to substitute into the pipelineruns.

* Add exception handling so we keep going if a workflow has an exception.

* Fix: kubeflow#696

* Fix some whitespace in apps-cd/README.md
HumairAK pushed a commit to red-hat-data-services/data-science-pipelines that referenced this pull request Mar 11, 2024
* fix e2e test case

* fix e2e test case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants