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

Fix the SubgraphFusion bug #1688

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

pratyai
Copy link
Collaborator

@pratyai pratyai commented Oct 16, 2024

Fixes #1687. The problem was about using a memlet's subset field where dst_subset would be more appropriate.

Only the last commit is the bug-fix: cab4d26

The rest of the changes are about:

  • fixing type annotations
  • various formatting fixes (PEP 8 compliance suggested by IDE)
  • taking out various helper functions out of the class
  • and most importantly taking pieces of fuse() function out to their own helper functions so that it is actually possible to follow its logic. [This part is not complete though, since I only took out the parts until I was able to fix the bug]

@pratyai pratyai changed the title Subgraph Fix the SubgraphFusion bug Oct 16, 2024
@pratyai pratyai force-pushed the subgraph-fusion-noop-cleanups branch from c01f69f to bd0aab0 Compare October 16, 2024 13:48
@pratyai pratyai force-pushed the subgraph-fusion-noop-cleanups branch from e2c009d to 8ce7055 Compare October 17, 2024 17:47
@pratyai pratyai marked this pull request as draft October 17, 2024 17:48
@pratyai pratyai added the no-ci Do not run any CI or actions for this PR label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-ci Do not run any CI or actions for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SubgraphFusion crashes with IndexError: list index out of range error on certain graphs.
1 participant