Get started with Dask
You need the following:
- Python >=3.8
Some libraries installed on Graal:
Prerequisites for your package
Your code must be inside one or many modules others than __main__.py module.
In each module you must define a function that contains the parameter "client" and encloses the code to be executed. Not every Dask Distributed features require the "client" parameter, so it may be normal for you not to use it despite its presence in your function signature.
For example, with Dask Distributed XGBoost you could use the following code:
Clone the example project and use pip to build it.
The example project named dask_ml_example is composed of 4 modules that show some applications with Dask Distributed. We can find an implementation of Lightgbm distributed, XGBoost distributed and Sklearn distributed.