Skip to content

Commit

Permalink
make sure that only inference params are allowed, not train ones
Browse files Browse the repository at this point in the history
  • Loading branch information
Galileo-Galilei committed Nov 23, 2024
1 parent cb7e9f5 commit 25010aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kedro_mlflow/framework/hooks/mlflow_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def after_pipeline_run(
# I add the special "runner" parameter to be able to choose it at runtime
pipeline_params = {
ds_name[7:]: catalog.load(ds_name)
for ds_name in pipeline.inputs()
for ds_name in pipeline.inference.inputs()
if ds_name.startswith("params:")
} | {"runner": "SequentialRunner"}
model_signature = infer_signature(
Expand Down

0 comments on commit 25010aa

Please sign in to comment.