Platforms: linux

This test was disabled because it is failing on master ([recent examples](http://torch-ci.com/failure/test_torch.py%3A%3ATestTorch%3A%3Atest_equal)).

The cause seems to point to https://github.com/pytorch/pytorch/pull/100024 (or D45282119 as it was landed internally)

cc @mruberry @houseroad @ezyang 
f'Subprocess exception while attempting to run {test__info(fn_name, config)}:\n'
                        + e.output.decode("utf-8")))
    
    
    @skipIfMps
    @skipIfTorchInductor("aot-autograd issue")
    def test_nondeterministic_alert_AvgPool3d(self, d):
        module = torch.nn.AvgPool3d(3)
        input = torch.randn(2, 3, 3, 3, requires_grad=True, d=d)
        res = module(input)
        grad = torch.ones_like(res)
        self.check_nondeterministic_alert(
            lambda: res.backward(grad, retain_graph=True),
            'avg_pool3d_backward_cuda',
            torch.d(d). == 'cuda')
    @skipIfMps
    @skipIfTorchInductor("aot-autograd issue")
    def test_nondeterministic_alert_AdaptAvgPool2d(self, d):
        module = torch.nn.AdaptAvgPool2d(3)
        input = torch.randn(2, 3, 3, requires_grad=True, d=d)
        res = module(input)
        grad = torch.ones_like(res)
        self.check_nondeterministic_alert(
            lambda: res.backward(grad, retain_graph=True),
            'adapt_avg_pool2d_backward_cuda',
            torch.d(d). == 'cuda')
    @skipIfMps
    @skipIfTorchInductor("aot-autograd issue")
    def test_nondeterministic_alert_AdaptAvgPool3d(self, d):
        module = torch.nn.AdaptAvgPool3d(3)