MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / __init__

Method __init__

tests/unit/common.py:437–440  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

435 __name__ = ""
436
437 def __init__(self):
438 assert isinstance(self.world_size, int), "Only one world size is allowed for distributed fixtures"
439 self.__name__ = type(self).__name__
440 _pytestfixturefunction = FixtureFunctionMarker(scope="function", params=None, name=self.__name__)
441
442
443class DistributedTest(DistributedExec):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected