@@ -373,7 +373,12 @@ def make_all(
373373
374374 # The function that actually runs your program is one of the f's in streamline.
375375 f = streamline (
376- fgraph , thunks , order , post_thunk_old_storage , no_recycling = no_recycling
376+ fgraph ,
377+ thunks ,
378+ order ,
379+ post_thunk_old_storage = post_thunk_old_storage ,
380+ no_recycling = no_recycling ,
381+ output_storage = output_storage ,
377382 )
378383
379384 f .allow_gc = (
@@ -539,14 +544,14 @@ def make_thunk(self, **kwargs):
539544
540545 def f ():
541546 for inputs in input_lists [1 :]:
542- # strict=False because we are in a hot loop
543- for input1 , input2 in zip (inputs0 , inputs , strict = False ):
547+ # strict=None because we are in a hot loop
548+ for input1 , input2 in zip (inputs0 , inputs ):
544549 input2 .storage [0 ] = copy (input1 .storage [0 ])
545550 for x in to_reset :
546551 x [0 ] = None
547552 pre (self , [input .data for input in input_lists [0 ]], order , thunk_groups )
548- # strict=False because we are in a hot loop
549- for i , (thunks , node ) in enumerate (zip (thunk_groups , order , strict = False )):
553+ # strict=None because we are in a hot loop
554+ for i , (thunks , node ) in enumerate (zip (thunk_groups , order )):
550555 try :
551556 wrapper (self .fgraph , i , node , * thunks )
552557 except Exception :
@@ -668,8 +673,8 @@ def thunk(
668673 # since the error may come from any of them?
669674 raise_with_op (self .fgraph , output_nodes [0 ], thunk )
670675
671- # strict=False because we are in a hot loop
672- for o_storage , o_val in zip (thunk_outputs , outputs , strict = False ):
676+ # strict=None because we are in a hot loop
677+ for o_storage , o_val in zip (thunk_outputs , outputs ):
673678 o_storage [0 ] = o_val
674679
675680 thunk .inputs = thunk_inputs
0 commit comments