You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change default max_total_num_input_blocks to 10 (#615)
To allow operations to be fused as long as the total number of input blocks does not exceed this number.
Previously, the default was None, which meant operations were fused only if they had the same number of tasks.
The `max_total_num_input_blocks` argument to `multiple_inputs_optimize_dag` specifies the maximum number of input blocks (chunks) that are allowed in the fused operation.
114
114
115
-
Again, this is to limit the number of reads that an individual task must perform. The default is`None`, which means that operations are fused only if they have the same number of tasks. If set to an integer, then this limitation is removed, and tasks with a different number of tasks will be fused - as long as the total number of input blocks does not exceed the maximum. This setting is useful for reductions, and can be set using `functools.partial`:
115
+
Again, this is to limit the number of reads that an individual task must perform. If set to`None`, operations are fused only if they have the same number of tasks. If set to an integer (the default is 10), then tasks with a different number of tasks will be fused - as long as the total number of input blocks does not exceed the maximum. This setting is useful for reductions, and can be changed using `functools.partial`:
0 commit comments