MCPcopy Create free account
hub / github.com/apple/ml-pointersect / test3

Method test3

tests/cdslib/script/test_base_train.py:385–388  ·  view source on GitHub ↗

Test cuda distributed version.

(self)

Source from the content-addressed store, hash-verified

383 self._test(n_gpus=1)
384
385 def test3(self):
386 """Test cuda distributed version."""
387 if torch.cuda.is_available() and torch.cuda.device_count() >= 2:
388 self.start_process(n_gpus=min(2, torch.cuda.device_count()))
389
390
391if __name__ == '__main__':

Callers

nothing calls this directly

Calls 1

start_processMethod · 0.95

Tested by

no test coverage detected