pytorch - 💡(How to fix) Fix DISABLED test_leaf_function_closure_constants_without_grad (__main__.TestLeafFunctionDynamo) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
pytorch/pytorch#180662Fetched 2026-04-18 05:51:30
View on GitHub
Comments
1
Participants
2
Timeline
28
Reactions
0
Author
Timeline (top)
mentioned ×9subscribed ×9labeled ×8added_to_project_v2 ×1

Root Cause

This test was disabled because it is failing on main branch (recent examples).

RAW_BUFFERClick to expand / collapse

Platforms: xpu

This test was disabled because it is failing on main branch (recent examples).

cc @mruberry @chauhang @penguinwu @Chillee @samdow @kshitij12345 @gujinghui @EikanWang @fengyuan14

extent analysis

TL;DR

The test test_leaf_function_closure_constants_without_grad in test_leaf_function.py needs to be investigated and fixed to resolve the failure on the main branch.

Guidance

  • Investigate the recent failures on torch-ci.com to identify the root cause of the test failure.
  • Review the test case test_leaf_function_closure_constants_without_grad in test_leaf_function.py to understand its purpose and expected behavior.
  • Collaborate with the assigned individuals (@mruberry, @chauhang, @penguinwu, @Chillee, @samdow, @kshitij12345, @gujinghui, @EikanWang, @fengyuan14) to discuss potential fixes or workarounds.

Notes

The issue lacks detailed information about the failure, so a thorough investigation is necessary to determine the root cause and develop a fix.

Recommendation

Apply workaround: Investigate and fix the test failure, as the issue is currently blocking the main branch.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

pytorch - 💡(How to fix) Fix DISABLED test_leaf_function_closure_constants_without_grad (__main__.TestLeafFunctionDynamo) [1 comments, 2 participants]