bump pre commit and fix format (#373)

This commit is contained in:
Awni Hannun
2024-01-04 16:28:52 -08:00
committed by GitHub
parent c82a8cc526
commit b9e415d19c
6 changed files with 2 additions and 10 deletions

View File

@@ -65,7 +65,6 @@ class TestReduce(mlx_tests.MLXTestCase):
for op in ("sum", "prod", "min", "max"):
with self.subTest(op=op):
np_op = getattr(np, op)
mlx_op = getattr(mx, op)
@@ -96,7 +95,6 @@ class TestReduce(mlx_tests.MLXTestCase):
]
for dtype in dtypes:
with self.subTest(dtype=dtype):
data = np.random.rand(10, 12, 13).astype(getattr(np, dtype))
x = mx.array(data)
for op in ["argmin", "argmax"]: