Skip to content

Revise fuse_roots optimization to avoid Blockwise materialization#9273

Draft
rjzamora wants to merge 8 commits intodask:mainfrom
rjzamora:revise-fuse-roots
Draft

Revise fuse_roots optimization to avoid Blockwise materialization#9273
rjzamora wants to merge 8 commits intodask:mainfrom
rjzamora:revise-fuse-roots

Conversation

@rjzamora
Copy link
Copy Markdown
Member

Following the discussion in #8560, I decided to take a pass at revising the fuse_roots optimization for Blockwise Layers. Whereas the original optimization was relying on low-level fusion, the new version is using Blockwise.io_deps to effectively "fuse" simple input tasks that have no other dependencies.

Note that I also fixed some of the existing tests that were inadvertently testing optimize_blockwise rather than fuse_roots.

@rjzamora rjzamora added the highlevelgraph Issues relating to HighLevelGraphs. label Jul 14, 2022
@rjzamora rjzamora marked this pull request as draft July 15, 2022 16:12
@gjoseph92 gjoseph92 mentioned this pull request Aug 12, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

array dataframe highlevelgraph Issues relating to HighLevelGraphs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant