pipelines icon indicating copy to clipboard operation
pipelines copied to clipboard

[sdk] Unable to use custom params when using kfp.Client().run_pipeline()

Open arun-vc opened this issue 2 years ago • 6 comments

Environment

  • KFP version:

2.0.0-alpha.5

  • KFP SDK version:

kfp==2.0.0b13

  • All dependencies version:
kfp                      2.0.0b13
kfp-pipeline-spec        0.2.0
kfp-server-api           2.0.0a6

Steps to reproduce

client = kfp.Client()
run = client.run_pipeline(
    experiment_id=experiment_id,
    job_name=run_name,
    params=params,
    pipeline_id=pipeline_id,
    version_id=version_id,
)

pipeline runs with default params and not custom ones specified below:

tried 2 formats for params:

  • {"x": "206", "seed": "3007"}
  • {"parameters": {"x": "206", "seed": "3007"}}

Expected result

Pipeline should run with custom params

Materials and Reference

Followed docs: https://kubeflow-pipelines.readthedocs.io/en/2.0.0b13/source/client.html#kfp.client.Client.run_pipeline

Impacted by this bug? Give it a 👍.

arun-vc avatar Apr 19 '23 10:04 arun-vc

/assign @chensun

connor-mccarthy avatar Apr 20 '23 22:04 connor-mccarthy

Hi @connor-mccarthy has there been any update on this ?

arun-vc avatar Jun 12 '23 08:06 arun-vc

@arun-vc, can you try upgrading to the latest version of the KFP SDK (2.0.0-rc.2) and KFP BE (2.0.0-rc.1) and see if this error persists?

connor-mccarthy avatar Jun 12 '23 16:06 connor-mccarthy

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Sep 11 '23 07:09 github-actions[bot]

I am also seeing this, not being able to use custom parameters is a pretty big deal!!

pythonking6 avatar Nov 15 '23 05:11 pythonking6

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Feb 13 '24 07:02 github-actions[bot]

This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it.

github-actions[bot] avatar Apr 06 '24 07:04 github-actions[bot]

Same issue on latest kfp version

pilot7747 avatar May 14 '24 19:05 pilot7747