When I perform a sweep in offline mode (wandb.init(mode="offline")
), the agent never exists and waits for a new job.
this is how I perform my sweep:
def perform_wandb_sweep(configuration) -> None:
sweep_id = wandb.sweep(configuration,
entity=None,
project="project")
wandb.agent(sweep_id,
function=lambda: perform_wandb_run(),
entity=None,
project="project")
def perform_wandb_run() -> None:
wandb.init(mode="offline")
"""
compute something
"""
How can I fix that?