MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / single_node_dask_cluster

Function single_node_dask_cluster

benchmarks/src/benchmark_defs.py:113–118  ·  view source on GitHub ↗
(worker_threads=128)

Source from the content-addressed store, hash-verified

111
112
113def single_node_dask_cluster(worker_threads=128) -> DaskClusterInfo:
114 return DaskClusterInfo(
115 cluster_info=ClusterInfo(monitor_nodes=True, node_list=Local()),
116 environment_params=dict(worker_threads=worker_threads),
117 workers=[DaskWorkerConfig(processes=1, threads_per_process=worker_threads)],
118 )
119
120
121def get_hq_binary(**kwargs) -> Path:

Callers

nothing calls this directly

Calls 4

DaskClusterInfoClass · 0.85
ClusterInfoClass · 0.85
LocalClass · 0.85
DaskWorkerConfigClass · 0.85

Tested by

no test coverage detected