Dask cluster

The platform provides a managed Dask cluster for distributed computing purposes.

Dask cluster scheduler web interface is available through the launcher. Please enter your UT credentials to access the interface.

You can also use Dask JupyterLab extension, which is available on the left sidebar, to access Dask dashboards by entering proxy/daskscheduler:8787 as the dashboard URL address (without forward slash at the beginning).

You can use the following code to create a client object in Pyhon:

[ ]:
from dask.distributed import Client

client = Client("daskscheduler:8786")
client

Client

Cluster

  • Workers: 8
  • Cores: 64
  • Memory: 206.16 GB

It is also possible to create a local Dask cluster, which utilizes multiple cores (up to 8) available on the computing node you are using (i.e. on which JupyterLab is running). Because local client does not need data transfer and communication between different computing nodes, it may perform better for medium-sized workloads.

In order to create a local cluster, open Dask tab on the sidebar and click + New button. Once the cluster is created a summary information will be shown on the sidebar. You can obtain code to access the cluster by simply by dragging and dropping the summary information into your notebook.

[ ]:
from dask.distributed import Client

client = Client("tcp://127.0.0.1:43213")
client

Client

Cluster

  • Workers: 4
  • Cores: 8
  • Memory: 25.77 GB
[ ]: