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

Method test_device_info_default

python/tests/test_device.py:143–146  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

141 self.assertIn("architecture", info)
142
143 def test_device_info_default(self):
144 info = mx.device_info()
145 self.assertIsInstance(info, dict)
146 self.assertIn("device_name", info)
147
148
149if __name__ == "__main__":

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected