async def corofunc(**local_args):
            nonlocal called
            assert local_args == args
            called += 1
def local_rank(self) -> int:
        return 0 if self._local_rank is None else self._local_rank