gnn_tracking_hpo.orchestrate#

Module Contents#

Functions#

have_internet(→ bool)

Return True if we have internet connection

maybe_run_wandb_offline(→ None)

If we do not have internet connection, run wandb in offline mode

maybe_run_distributed(→ None)

If it looks like we're running across multiple nodes, enable distributed

gnn_tracking_hpo.orchestrate.have_internet() bool#

Return True if we have internet connection

gnn_tracking_hpo.orchestrate.maybe_run_wandb_offline() None#

If we do not have internet connection, run wandb in offline mode

gnn_tracking_hpo.orchestrate.maybe_run_distributed(local=False, **kwargs) None#

If it looks like we’re running across multiple nodes, enable distributed mode of ray

Parameters:
  • local – Force not to connect distributed

  • kwargs – Additional kwargs to pass to ray.init