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 
for i in range(idx.size(0)):
                            dest2[idx[i]] += src[i] * 2
                        self.assertEqual(dest, dest2)
    
    
    
    
    def test_index_add_all_ds(self):
        for d in get_all_d_s():
            for d in get_all_math_ds(d):
                for idx_d in [torch.int, torch.long]:
                    size = [5, 5]
                    if d.is_floating_point or d.is_complex:
                        tensor = torch.rand(size, d=d, d=d)
                    elif d.is_signed:
                        tensor = torch.randint(-5, 15, size, d=d, d=d)
                    else:
                        tensor = torch.randint(0, 10, size, d=d, d=d)
                    
                    zeros = torch.zeros(size, d=d, d=d)
                    added = zeros.index_add(0, torch.arange(0, size[0], d=idx_d, d=d), tensor)
                    self.assertEqual(added, tensor)
                    added = zeros.index_add(0, torch.arange(0, size[0], d=idx_d, d=d), tensor, alpha=-1)
                    self.assertEqual(added, -tensor)
    @skipIfTorchInductor("AssertionError: RuntimeError not raised by <lambda>")
    def test_index_add_correctness(self):
        
        
        
        def helper(dim, d, d, size_result, size_source):