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

Simplify sample pipeline input parameters #611

Merged

Conversation

gmfrasca
Copy link
Member

The issue resolved by this Pull Request:

Resolves #annoyance

Description of your changes:

standard_scaler and min_max_scaler were effectivly mutually exclusive, so let's implement them as such to work around the issue with false-y default input params not parsing/instantiating correctly on the kfp UI.

Testing instructions

Deploy DSPO, create a v2 DSPA with spec.apiServer.enableSamplePipeline = true. Create a run of the sample pipeline and ensure that all input parameters are populated and you can simply click 'run' without specifying anything else. Extra credit for also setting 'standard_scaler' to false and ensuring pipeline still runs with the MinMaxScaler instead of StandardScaler

Checklist

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@dsp-developers
Copy link
Contributor

A new image has been built to help with testing out this PR: quay.io/opendatahub/data-science-pipelines-operator:pr-611
An OCP cluster where you are logged in as cluster admin is required.

To use this image run the following:

cd $(mktemp -d)
git clone [email protected]:opendatahub-io/data-science-pipelines-operator.git
cd data-science-pipelines-operator/
git fetch origin pull/611/head
git checkout -b pullrequest debdd18dd298287080d3e021568ccf76c6fce2e6
oc new-project opendatahub
make deploy IMG="quay.io/opendatahub/data-science-pipelines-operator:pr-611"

More instructions here on how to deploy and test a Data Science Pipelines Application.

@gmfrasca gmfrasca force-pushed the simply-sample-pipeline branch from debdd18 to 3a313a0 Compare March 19, 2024 18:43
@dsp-developers
Copy link
Contributor

Change to PR detected. A new PR build was completed.
A new image has been built to help with testing out this PR: quay.io/opendatahub/data-science-pipelines-operator:pr-611

@gregsheremeta gregsheremeta changed the title WIP: Simply sample pipeline input parameters WIP: Simplify sample pipeline input parameters Mar 19, 2024
@gmfrasca gmfrasca force-pushed the simply-sample-pipeline branch from 3a313a0 to 4a5feab Compare March 19, 2024 20:14
@dsp-developers
Copy link
Contributor

Change to PR detected. A new PR build was completed.
A new image has been built to help with testing out this PR: quay.io/opendatahub/data-science-pipelines-operator:pr-611

@gmfrasca gmfrasca changed the title WIP: Simplify sample pipeline input parameters Simplify sample pipeline input parameters Mar 19, 2024
@gregsheremeta
Copy link
Contributor

/lgtm

@gmfrasca gmfrasca force-pushed the simply-sample-pipeline branch from 4a5feab to 4befe3b Compare March 19, 2024 21:13
@openshift-ci openshift-ci bot removed the lgtm label Mar 19, 2024
@gmfrasca gmfrasca force-pushed the simply-sample-pipeline branch from 4befe3b to 4356402 Compare March 19, 2024 21:15
@dsp-developers
Copy link
Contributor

Change to PR detected. A new PR build was completed.
A new image has been built to help with testing out this PR: quay.io/opendatahub/data-science-pipelines-operator:pr-611

1 similar comment
@dsp-developers
Copy link
Contributor

Change to PR detected. A new PR build was completed.
A new image has been built to help with testing out this PR: quay.io/opendatahub/data-science-pipelines-operator:pr-611

@gmfrasca gmfrasca force-pushed the simply-sample-pipeline branch from 4356402 to 662a44d Compare March 19, 2024 21:20
@dsp-developers
Copy link
Contributor

Change to PR detected. A new PR build was completed.
A new image has been built to help with testing out this PR: quay.io/opendatahub/data-science-pipelines-operator:pr-611

Copy link
Contributor

@amadhusu amadhusu left a comment

Choose a reason for hiding this comment

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

Tackled this with extra credit by setting standard_scaler to false as well just to see what happens. It ran successfully but the details doesn't show that for the run.

Screenshot from 2024-03-20 18-35-48

Copy link
Member

@DharmitD DharmitD left a comment

Choose a reason for hiding this comment

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

Changes lgtm and since Achyut's also tested them out

/Approve

Copy link
Contributor

openshift-ci bot commented Mar 20, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: amadhusu, DharmitD

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

@openshift-merge-bot openshift-merge-bot bot merged commit 221b810 into opendatahub-io:main Mar 20, 2024
6 checks passed
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.

5 participants