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

Redesign base path file structure #373

Merged
merged 10 commits into from
Aug 23, 2023
Merged

Conversation

PhilippeMoussalli
Copy link
Contributor

Addresses #368

First review this #372

@PhilippeMoussalli PhilippeMoussalli changed the title Base path file structure Redesign base path file structure Aug 21, 2023
@RobbeSneyders
Copy link
Member

Thanks @PhilippeMoussalli!

Is the manifest now also saved in the same directory as the data when running on Kubeflow? Or is it only written as a Kubeflow artifact?

@PhilippeMoussalli
Copy link
Contributor Author

Thanks @PhilippeMoussalli!

Is the manifest now also saved in the same directory as the data when running on Kubeflow? Or is it only written as a Kubeflow artifact?

In both actually, It was done in #322

The kubeflow artifact one (which can't be modified) is needed to connect components through artifacts and the data one (in the base path) is for us

Copy link
Member

@RobbeSneyders RobbeSneyders left a comment

Choose a reason for hiding this comment

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

Ok thanks, that clears things up.

Comment on lines 216 to 217
f"{manifest.pipeline_name}/{manifest.run_id}/"
f"{manifest.component_id}/manifest.json"
Copy link
Member

Choose a reason for hiding this comment

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

Then don't we still need the base_path here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch! I confused it with a subset where the base_path is appended to the location

@@ -212,9 +212,9 @@ def upload_manifest(self, manifest: Manifest, save_path: t.Union[str, Path]):

if is_kubeflow_output:
Copy link
Member

Choose a reason for hiding this comment

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

I'm not the biggest fan of having kubeflow specific code in here. Opened #376 to remove this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree, though I don't see a clear-cut solution for this just yet

Copy link
Collaborator

Choose a reason for hiding this comment

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

will vertex have the same issue ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

probably, ideally we have some control over the format and save path of the artifact.

Base automatically changed from create_metadata_class to main August 22, 2023 13:18
Copy link
Member

@RobbeSneyders RobbeSneyders left a comment

Choose a reason for hiding this comment

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

@RobbeSneyders RobbeSneyders merged commit b9f3dea into main Aug 23, 2023
5 checks passed
@RobbeSneyders RobbeSneyders deleted the base_path_file_structure branch August 23, 2023 20:07
Hakimovich99 pushed a commit that referenced this pull request Oct 16, 2023
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