File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -274,10 +274,12 @@ def _train(
274274 about the Dask cluster referenced by ``client``.
275275
276276 * ``local_listen_port``: port that each LightGBM worker opens a listening socket on,
277- to accept connections from other workers. This can be differ from LightGBM worker
278- to LightGBM worker, but does not have to.
279- * ``machines``: a list of all machines in the cluster, plus a port to communicate
280- over during initial setup of LightGBM's network
277+ to accept connections from other workers. This can be differ from LightGBM worker
278+ to LightGBM worker, but does not have to.
279+ * ``machines``: a comma-delimited list of all workers in the cluster, in the
280+ form ``ip:port,ip:port``. If running multiple Dask workers on the same host, use different
281+ ports for each worker. For example, for ``LocalCluster(n_workers=3)``, you might
282+ pass ``"127.0.0.1:12400,127.0.0.1:12401,127.0.0.1:12402"```.
281283 * ``num_machines``: number of LightGBM workers
282284 * ``timeout``: time in minutes to wait before closing unused sockets
283285
You can’t perform that action at this time.
0 commit comments