How to increase `_service_wait`?

Hi,

When running multiple experiments in parallel I often get the following error:

wandb.sdk.service.service.ServiceStartTimeoutError: Timed out waiting for wandb service to start after 30.0 seconds. Try increasing the timeout with the `_service_wait` setting.

which seems to suggest a solution, but after many attempts I am still unable to increase the timeout! Currently in my wandb.init I have

        settings=wandb.Settings(
            start_method="fork",
            init_timeout=600,
            _service_wait=600,
        ),

But this has no effect, the timeouts still take place, and the error message says [...] after 30.0 seconds..

Q: How to increase it?

wandb==0.15.9 but I can update if that helps

PS In this github issue people also mention a solution with env variable, but there is no consensus on whether it works. I would prefer a solution in the python script.

Hi there,

Thank you for reaching out for support. Happy to help. Can you try setting up this environment variable to test

import os
os.environ[“WANDB__SERVICE_WAIT”]=“”

Regards,
Carlo Argel

Hi maciej.falkiewicz, since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.