[ci, 3.13] skip failing module tracker dynamo-wrapped test (#141887)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/141887
Approved by: https://github.com/StrongerXi, https://github.com/atalman
ghstack dependencies: #141409, #142003, #141572, #141577, #141605, #141621, #141623, #141673, #141674, #141858, #141862, #139533, #140733, #141859, #141860, #141886
This commit is contained in:
William Wen 2024-12-04 00:02:52 -08:00 committed by PyTorch MergeBot
parent 9e474231d7
commit fbd130a41f

View file

@ -4,7 +4,12 @@ from copy import copy
import torch
from torch import nn
from torch.testing._internal.common_utils import run_tests, TestCase, xfailIfTorchDynamo
from torch.testing._internal.common_utils import (
run_tests,
skipIfTorchDynamo,
TestCase,
xfailIfTorchDynamo,
)
from torch.utils.checkpoint import checkpoint
from torch.utils.module_tracker import ModuleTracker
@ -70,6 +75,7 @@ class TestModuleTracker(TestCase):
],
)
@skipIfTorchDynamo("unexplained 3.13+ recursion error")
def test_confused_hierarchy(self):
class MyMod(nn.Module):
def __init__(self):