mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-10 07:28:15 -05:00
const copy folding spec + multi.py behavior [pr] (#8436)
* const copy folding spec + multi behavior [pr] * copy from clang, move multi test
This commit is contained in:
@@ -240,6 +240,8 @@ class TestMultiConstFolding(unittest.TestCase):
|
||||
_check_ast_count(0, t ** 1)
|
||||
_check_ast_count(0, 1 ** t)
|
||||
|
||||
# failing because multi calls .contiguous() on every single sharded uop
|
||||
@unittest.expectedFailure
|
||||
def test_multi_const_folding_tensor(self):
|
||||
ds = tuple(f"{Device.DEFAULT}:{i}" for i in range(4))
|
||||
t = Tensor.arange(16).float().realize().to(ds)
|
||||
|
||||
Reference in New Issue
Block a user