Skip to content

Facing issues with using dask+smac for parallel search with DP #1033

Description

@rheasukthanker

Hi,
I am facing issues running smac with dask to search on a multi-node (and multi-gpu) setup. I am using 8 workers each using 8 GPUS. A single worker with 4 gpus works fine, but is very slow for my experimental setup. You can find my code as well as instructions to run single and multi-worker search with dask here. Precisely after certain number of configurations and when run for a longer duration, the dask workers start giving the error.

INFO - Event loop was unresponsive in Scheduler for 6.66s. This is often caused by long-running GIL-holding functions or moving large chunks of data. This can cause timeouts and instability.

After about 1 hour of running the search the search crashes after giving errors like:

RuntimeWarning: Mean of empty slice preds_as_array = np.log(np.nanmean(np.exp(preds_as_array), axis=2) + VERY_SMALL_NUMBER)

All instructions to reproduce the errors are in the repository referenced above. This looks like an issue with the interaction between SMAC+DASK. Any suggestions and help on resolving this would be appreciated!

Thanks!
Rhea

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions