-
Notifications
You must be signed in to change notification settings - Fork 135
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
Updated generate (simple pipeline) pipeline #311
Conversation
kfp/pipeline_generator/run.sh
Outdated
@@ -8,4 +8,6 @@ mkdir -p ${ROOT_DIR}/${DIST_DIR}/ | |||
python3 -m venv venv | |||
source venv/bin/activate | |||
pip install pre-commit | |||
python3 pipeline_generator.py -c ${DEF_FILE} -od ${ROOT_DIR}/${DIST_DIR}/ | |||
pip install jinja2 | |||
# python3 pipeline_generator.py -c ${DEF_FILE} -od ${ROOT_DIR}/${DIST_DIR}/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove this line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Can you please add a Make file that will update the
base_kfp_image
inpipeline_definitions.yaml
- image_pull_secret is defined in
pipeline_definitions.yaml
but is not propagated to the pipeline - can you extend the run.sh to add the argument names?
|
||
# define arguments to the Ray execution job | ||
execute_job_params = get_execute_job_params_guf(pipeline_definitions[PIPELINE_TRANSFORM_INPUT_PARAMETERS]) | ||
pipeline_transform_input_parameters = pipeline_definitions[PIPELINE_TRANSFORM_INPUT_PARAMETERS] | ||
|
||
component_spec_path = pipeline_parameters.get("component_spec_path", "") | ||
if component_spec_path == "": | ||
component_spec_path = "../../../../../kfp/kfp_ray_components/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it can be wrong, usually in the DataPrep-Kit project, the Ray components are in "../../../../kfp/kfp_ray_components/".
ComponentUtils.set_s3_env_vars_to_component(execute_job, data_s3_access_secret) | ||
execute_job.after(ray_cluster) | ||
# Configure the pipeline level to one week (in seconds) | ||
# dsl.get_pipeline_conf().set_timeout(ONE_WEEK_SEC) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove these two commented out lines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the PR
Why are these changes needed?
Updated simple pipeline generator to match current simple pipeline spec (which now supports KFP v2). Running instructions are same as the running instructions for previous pipeline generator.
Related issue number (if any).