Skip to content

Commit fd9ea98

Browse files
committed
Remove old GPU related check
1 parent 42d0d66 commit fd9ea98

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

pytensor/scan/op.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2051,14 +2051,8 @@ def perform(self, node, inputs, output_storage):
20512051
old_data = old_inner_output_data[offset_out + j]
20522052
if old_data is None:
20532053
output_reused = False
2054-
elif isinstance(
2055-
self.fn.maker.fgraph.outputs[offset_out + j], TensorVariable
2056-
):
2057-
output_reused = new_var.data == old_data
20582054
else:
2059-
raise RuntimeError(
2060-
"FIXME: output_reused = new_var.gpudata == old_data"
2061-
)
2055+
output_reused = new_var.data == old_data
20622056
else:
20632057
output_reused = False
20642058

0 commit comments

Comments
 (0)