Skip to content

Commit

Permalink
use p2p shuffling by default
Browse files Browse the repository at this point in the history
  • Loading branch information
maawoo committed Dec 9, 2023
1 parent 80966ad commit 8b93ad6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import dask
import xarray as xr
from sdc.cluster import start_slurm_cluster

dask.config.set({"array.rechunk.method": "p2p"})
xr.set_options(keep_attrs=True)

dask_client, cluster = start_slurm_cluster()

0 comments on commit 8b93ad6

Please sign in to comment.