Skip to content

Commit 146a0a8

Browse files
committed
Remove restrictive check in local_blockwise_alloc
1 parent b79d232 commit 146a0a8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pytensor/tensor/rewriting/blockwise.py

-1
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,5 @@ def local_blockwise_alloc(fgraph, node):
188188
)
189189
for new_out in new_outs
190190
]
191-
assert new_outs[0].type.broadcastable == old_out_type.broadcastable
192191
copy_stack_trace(node.outputs, new_outs)
193192
return new_outs

0 commit comments

Comments
 (0)