Skip to main content

function wandb.agent()

Start one or more sweep agents. The sweep agent uses the sweep_id to know which sweep it is a part of, what function to execute, and (optionally) how many agents to run.

Args

str
The unique identifier for a sweep. A sweep ID is generated by W&B CLI or Python SDK.
Callable | None
A function to call instead of the “program” specified in the sweep config.
str | None
The username or team name where you want to send W&B runs created by the sweep to. Ensure that the entity you specify already exists. If you don’t specify an entity, the run will be sent to your default entity, which is usually your username.
str | None
The name of the project where W&B runs created from the sweep are sent to. If the project is not specified, the run is sent to a project labeled “Uncategorized”.
int | None
The number of sweep config trials to try.
bool
Whether to forward signals the agent receives to the child processes. Only supported by CLI agent.
int | None
No description provided.

Returns

None