Stabilize jacobian helper FX graphs#183756
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/183756
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 1 Unclassified FailureAs of commit df04807 with merge base f513851 ( UNCLASSIFIED FAILURE - DrCI could not classify the following job because the workflow did not run on the merge base. The failure may be pre-existing on trunk or introduced by this PR:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@claude review these changes |
|
Claude finished @jansel's task in 1m 32s —— View job Review of PR #183756: Stabilize jacobian helper FX graphs
Overall: LGTM — this is a clean, correct change that makes the jacobian FX graphs more stable for Dynamo. Summary of changesThe PR does two things:
Correctness verificationThe diagonal offset computation is semantically equivalent:
Both produce the same sequence of offsets. Minor observations
No issues found. The change is minimal, well-targeted, and directly addresses the graph instability reported in #180264. |
Stack from ghstack (oldest at bottom):
Compute jacobian diagonal offsets in Python and use functional split calls so Dynamo readable graphs avoid unstable CPU tensor bookkeeping and method/function spelling differences.
Fixes #180264
Generated by my agent
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @kadeng @chauhang @amjames @jataylo @azahed98