AttachedServer.spawn_workers

AttachedServer.spawn_workers(num_workers=-1, port=7474, logging_level=30, num_blas_threads=1)

Spawn worker processes.

Parameters:
  • num_workers (int) – The number of workers to spawn. If -1, then spawn as many workers as CPUs on the system. (Default: -1).

  • port (int) – The port this server will listen for workers on. Default can be found in the default_worker_port global variable.

  • logging_level (int) – The logging level for the workers.

  • num_blas_threads (int) – The number of threads to use in BLAS libraries. (Default: 1).

Return type:

None