Skip to content

[Codegen] Fix the reshape propagation in InsertBatchDimForBatchlessConv#23835

Merged
hanhanW merged 1 commit intomainfrom
debug-issue-23812
Mar 20, 2026
Merged

[Codegen] Fix the reshape propagation in InsertBatchDimForBatchlessConv#23835
hanhanW merged 1 commit intomainfrom
debug-issue-23812

Conversation

@hanhanW
Copy link
Copy Markdown
Contributor

@hanhanW hanhanW commented Mar 18, 2026

The phase 2 propagation should only allow collapse_shape. Otherwise, the expand_shape op can be bubbled up first. Then it becomes a blocker for sinking down collapse_shape.

collapse_shape
linalg.generic
expand_shape

Fixes #23812

The phase 2 propagation should only allow `collapse_shape`. Otherwise,
the `expand_shape` op can be bubbled up first. Then it becomes a blocker
for sinking down `collapse_shape`.

```
collapse_shape
linalg.generic
expand_shape
```

Signed-off-by: hanhanW <hanhan0912@gmail.com>
Copy link
Copy Markdown
Contributor

@Abhishek-Varma Abhishek-Varma left a comment

Choose a reason for hiding this comment

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

Thanks for this @hanhanW ! It worked.

@hanhanW hanhanW merged commit a99b3af into main Mar 20, 2026
57 of 60 checks passed
@hanhanW hanhanW deleted the debug-issue-23812 branch March 20, 2026 19:58
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.

ShuffleNet | Conv + reshape + Batchnorm + MapStore Dispatch

2 participants