MCPcopy Create free account
hub / github.com/ml-explore/mlx / setUpClass

Method setUpClass

python/tests/ring_test_distributed.py:10–13  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

8class TestRingDistributed(mlx_distributed_tests.MLXDistributedCommonTestCase):
9 @classmethod
10 def setUpClass(cls):
11 _ = mx.distributed.init(strict=True, backend="ring")
12 cls.atol = 1e-6
13 cls.rtol = 1e-4
14
15 def test_groups(self):
16 world = mx.distributed.init()

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected