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

Method __call__

tests/unit/common.py:160–166  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

158 ...
159
160 def __call__(self, request):
161 self._fixture_kwargs = self._get_fixture_kwargs(request, self.run)
162 world_size = self.world_size
163 if self.requires_cuda_env and not get_accelerator().is_available():
164 pytest.skip("only supported in accelerator environments.")
165
166 self._launch_with_file_store(request, world_size)
167
168 def _get_fixture_kwargs(self, request, func):
169 if not request:

Callers

nothing calls this directly

Calls 4

_get_fixture_kwargsMethod · 0.95
get_acceleratorFunction · 0.90
is_availableMethod · 0.45

Tested by

no test coverage detected