def create_default_groups(self):
        for group in self.groups:
            group = group.replace(" ", "_").lower()
            self[group] = NamedRequirements(group)
def local_rank(self) -> int:
        return 0 if self._local_rank is None else self._local_rank