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

Add Subgraph op to define & reuse parts of larger graphs #334

Merged
merged 15 commits into from
Jun 5, 2023

Conversation

karlhigley
Copy link
Contributor

@karlhigley karlhigley commented May 23, 2023

This PR adds a new Subgraph op that can contain a graph of operators and can be fetched from Graph that contains it by name (e.g. graph.subgraph("user")).

@karlhigley karlhigley self-assigned this May 31, 2023
@karlhigley karlhigley added enhancement New feature or request breaking Breaking change labels May 31, 2023
@karlhigley karlhigley added this to the Merlin 23.06 milestone May 31, 2023
@karlhigley karlhigley marked this pull request as ready for review May 31, 2023 20:08
@karlhigley karlhigley changed the title Feature/subgraphs Add Subgraph operator for defining and re-using parts of larger graphs May 31, 2023
@karlhigley karlhigley changed the title Add Subgraph operator for defining and re-using parts of larger graphs Add Subgraph op for defining and re-using parts of larger graphs May 31, 2023
@karlhigley karlhigley changed the title Add Subgraph op for defining and re-using parts of larger graphs Add Subgraph op to define and reuse parts of larger graphs May 31, 2023
@karlhigley karlhigley changed the title Add Subgraph op to define and reuse parts of larger graphs Add Subgraph op to define & reuse parts of larger graphs May 31, 2023
@github-actions
Copy link

Documentation preview

https://nvidia-merlin.github.io/core/review/pr-334

@@ -417,7 +417,10 @@ def fit(self, dataset: Dataset, graph: Graph, refit=True):
if not graph.output_schema:
graph.construct_schema(dataset.schema)

ddf = dataset.to_ddf(columns=graph._input_columns())
# if isinstance(dataset, Dataset):
Copy link
Member

Choose a reason for hiding this comment

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

do we need to keep this comment around?

Copy link
Collaborator

Choose a reason for hiding this comment

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

removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants