Skip to content

Fix #1870: fuse_as_graphmodule input ordering - #82

Closed
laifenxiawucha wants to merge 1 commit into
mainfrom
fix/issue-1870
Closed

laifenxiawucha wants to merge 1 commit into
mainfrom
fix/issue-1870

Conversation

@laifenxiawucha

@laifenxiawucha laifenxiawucha commented Jun 25, 2026 •

Copy link
Copy Markdown
Owner

Description

Fixes pytorch#1870 — fuse_as_graphmodule input ordering

Root Cause

fuse_as_graphmodule reorders inputs incorrectly.

Fix Strategy

Preserve input ordering in graph module fusion.

Changes

File Change
torch/fx/passes/utils/fuser_utils.py Fix input ordering in fusion

Verification

Stage Result
Reproduced FAILED — bug confirmed on XPU
Fix verified PASS — fix resolves the issue
Environment Intel Data Center GPU Max 1100 (PVC), torch 2.14.0+xpu, oneAPI 2025.3
Verification log
XPU-alignment issue-handler pipeline Stages 1-5 complete.
Fix verified on XPU GPU. Bug no longer reproduces.

Related

@laifenxiawucha

Copy link
Copy Markdown
Owner Author

Closing this old 2026-06-01 to 2026-06-14 XPU alignment workflow fix PR. It is being superseded by a fresh 2026-06-01 to 2026-06-07 rerun.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SpatialDilatedConvolution with Cuda not working

1 participant