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

Method test2

tests/cdslib/script/test_base_train.py:380–383  ·  view source on GitHub ↗

Test cuda version.

(self)

Source from the content-addressed store, hash-verified

378 self._test(n_gpus=0)
379
380 def test2(self):
381 """Test cuda version."""
382 if torch.cuda.is_available():
383 self._test(n_gpus=1)
384
385 def test3(self):
386 """Test cuda distributed version."""

Callers

nothing calls this directly

Calls 1

_testMethod · 0.95

Tested by

no test coverage detected