Skip to content
Snippets Groups Projects
Commit faeed675 authored by wachsylon's avatar wachsylon
Browse files

Updated daskhandling

parent 7473c53a
No related branches found
No related tags found
No related merge requests found
......@@ -37,8 +37,8 @@ def get_client_and_config(target_mb, DASK_CHUNK_SIZE, verbose, other_chunk_dims)
except:
cpus=math.ceil(CPU_COUNT/2)
client = Client(
# n_workers=math.ceil(CPU_COUNT/2),
threads_per_worker=cpus,
n_workers=cpus,
#threads_per_worker=cpus,
memory_limit=math.ceil(system.MEMORY_LIMIT/2/cpus)
)
print(client)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment