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

Kfp workflow for html2parquet #694

Merged
merged 14 commits into from
Oct 15, 2024
Merged

Kfp workflow for html2parquet #694

merged 14 commits into from
Oct 15, 2024

Conversation

revit13
Copy link
Collaborator

@revit13 revit13 commented Oct 10, 2024

Why are these changes needed?

Add kfp workflow to html2parquet

Related issue number (if any).

issue #690

@revit13 revit13 force-pushed the kfp-html2parquet branch 4 times, most recently from b2d9ae9 to d77c2ba Compare October 13, 2024 08:15
Copy link
Member

@roytman roytman left a comment

Choose a reason for hiding this comment

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

please run pre-commit with the new files

@revit13 revit13 force-pushed the kfp-html2parquet branch 4 times, most recently from 14d29fd to a4a0778 Compare October 14, 2024 10:57
revit13 and others added 12 commits October 14, 2024 20:23
Signed-off-by: Revital Sur <[email protected]>
Signed-off-by: Revital Sur <[email protected]>
Co-authored-by: Alexey Roytman <[email protected]>
Signed-off-by: Revital Sur <[email protected]>
Signed-off-by: Revital Sur <[email protected]>
Signed-off-by: Revital Sur <[email protected]>
Signed-off-by: Revital Sur <[email protected]>
Signed-off-by: Revital Sur <[email protected]>
Signed-off-by: Revital Sur <[email protected]>
Signed-off-by: Revital Sur <[email protected]>
Signed-off-by: Revital Sur <[email protected]>
@revit13
Copy link
Collaborator Author

revit13 commented Oct 14, 2024

please run pre-commit with the new files

Done. Thanks

Signed-off-by: Revital Sur <[email protected]>
@@ -103,8 +105,13 @@ def {{ pipeline_name }}(
# Ray cluster
ray_name: str = "{{ pipeline_name }}-kfp-ray", # name of Ray cluster
# Add image_pull_secret and image_pull_policy to ray workers if needed
{%- if image_pull_secret != "" %}
Copy link
Member

Choose a reason for hiding this comment

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

can we reuse the same dictionary and just add image_pull_secret when it is defined?


1) Create the workflow. [pipeline generator](../kfp/pipeline_generator/single-pipeline/) can be used for that.

2) Create a new `kfp_ray` directory in the transform directory, similar to [this directory](universal/noop/kfp_ray/). Inside this directory, include the following:
Copy link
Member

Choose a reason for hiding this comment

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

should we replace the steps: create a directory, and after that add a template and generate the pipeline?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done. Thanks.

pipeline_arguments:
- name: data_files_to_use
type: "str"
value: "['.html', '.zip']"
Copy link
Member

Choose a reason for hiding this comment

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

does the transformer support zip files?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Signed-off-by: Revital Sur <[email protected]>
Copy link
Member

@roytman roytman left a comment

Choose a reason for hiding this comment

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

LGTM

@touma-I touma-I merged commit 876336a into IBM:dev Oct 15, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants