-
Notifications
You must be signed in to change notification settings - Fork 26
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
Conversation
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 |
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.
Ok thanks, that clears things up.
src/fondant/executor.py
Outdated
f"{manifest.pipeline_name}/{manifest.run_id}/" | ||
f"{manifest.component_id}/manifest.json" |
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.
Then don't we still need the base_path
here?
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.
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: |
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.
I'm not the biggest fan of having kubeflow specific code in here. Opened #376 to remove this.
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.
I agree, though I don't see a clear-cut solution for this just yet
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.
will vertex have the same issue ?
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.
probably, ideally we have some control over the format and save path of the artifact.
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.
Thanks @PhilippeMoussalli!
Addresses #368
First review this #372