mirror of
https://github.com/ml-explore/mlx.git
synced 2025-10-19 00:04:41 +08:00
Winograd Update for Small batches (#1803)
* Build in padding to Winograd kernels * Add new fused Winograd kernel * Enable weight flipping in Winograd kernels
This commit is contained in:
@@ -341,7 +341,7 @@ class TestConv(mlx_tests.MLXTestCase):
|
||||
atol, rtol = 1e-1, 1e-3
|
||||
else:
|
||||
atol, rtol = 1e-5, 1e-6
|
||||
self.assertTrue(np.allclose(out_pt, out_mx, atol=atol))
|
||||
self.assertTrue(np.allclose(out_pt, out_mx, atol=atol, rtol=rtol))
|
||||
|
||||
for dtype in ("float32", "bfloat16"):
|
||||
for N, C, O in (
|
||||
|
Reference in New Issue
Block a user