def handler():
            nonlocal called
            called += 1
            raise ValueError("yeah sync")
def tearDown(self):
        if hasattr(self, "rng_state"):
            torch.set_rng_state(self.rng_state)