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

Method __call__

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

Source from the content-addressed store, hash-verified

170 ...
171
172 def __call__(self, request):
173 self._fixture_kwargs = self._get_fixture_kwargs(request, self.run)
174 world_size = self.world_size
175 if self.requires_cuda_env and not get_accelerator().is_available():
176 pytest.skip("only supported in accelerator environments.")
177
178 self._launch_with_file_store(request, world_size)
179
180 def _get_fixture_kwargs(self, request, func):
181 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