Skip to content

Commit

Permalink
Fix typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Mar 13, 2024
1 parent ff6daf5 commit 29d34f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cubed/tests/test_mem_utilization.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def test_add_reduce_right(tmp_path, spec):
#
# Note that fusing fold right operations will result in unbounded memory usage unless care
# is taken to limit fusion - which `multiple_inputs_optimize_dag` will do, with the result
# that there is more than one fused operation (not a single fused oepration).
# that there is more than one fused operation (not a single fused operation).
n_arrays = 10
arrs = [
cubed.random.random((10000, 10000), chunks=(5000, 5000), spec=spec)
Expand Down
2 changes: 1 addition & 1 deletion cubed/tests/test_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ def test_fuse_large_fan_in_override(spec):

p = xp.add(n, o)

# max_total_source_arrays is overriden so multiple levels are fused
# max_total_source_arrays is overridden so multiple levels are fused
opt_fn = fuse_multiple_levels(max_total_source_arrays=8)

p.visualize(optimize_function=opt_fn)
Expand Down

0 comments on commit 29d34f0

Please sign in to comment.