entity/project/sweep_id) with a
state flag (--stop, --cancel, --pause, or --resume) to manage
an existing sweep.
The sweep ID is a unique identifier for the sweep, generated by
W&B when the sweep is created. You can find the sweep ID in the W&B App
or in the output of the wandb sweep command when you create a new sweep.
Examples:
Create a sweep using the configuration defined in sweep_config.yaml. Use
the current user’s default entity and project.
abcd1234 with a new configuration from sweep_config.yaml.
This is useful for changing the parameters or search strategy of an
active sweep.
abcd1234 under the “team-awesome” entity and “foobar-project” project.
abcd1234 in the current user’s default entity and project.
abcd1234 in the current user’s default entity and
project. Later, resume the sweep.
sweep_config.yaml.
abcd1234 and run ID efgh5678) so their results are incorporated
into the sweep’s hyperparameter search.
Usage
Options
project
Set the project for sweep runs. Use ‘Uncategorized’ if not set.
| Flag | Default | Type |
|---|---|---|
-p, --project | None | STRING |
entity
Set the entity for sweep. Use the current user’s default entity if not set.
| Flag | Default | Type |
|---|---|---|
-e, --entity | None | STRING |
controller
Start a local sweep controller after creating the sweep.
| Flag | Default | Type |
|---|---|---|
--controller | False | BOOL |
verbose
Display verbose output.
| Flag | Default | Type |
|---|---|---|
--verbose | False | BOOL |
name
Set a display name for the sweep. Use the sweep ID if not specified.
| Flag | Default | Type |
|---|---|---|
--name | None | STRING |
program
Override the training program specified in the sweep config.
| Flag | Default | Type |
|---|---|---|
--program | None | STRING |
settings
Set sweep settings
| Flag | Default | Type |
|---|---|---|
--settings | None | STRING |
update
Update an existing sweep configuration. Pass the sweep ID.
| Flag | Default | Type |
|---|---|---|
--update | None | STRING |
stop
Stop a sweep. Let active runs finish but do not start new runs.
| Flag | Default | Type |
|---|---|---|
--stop | False | BOOL |
cancel
Cancel a sweep. Kill active runs and stop starting new ones.
| Flag | Default | Type |
|---|---|---|
--cancel | False | BOOL |
pause
Pause a sweep. Temporarily stop starting new runs.
| Flag | Default | Type |
|---|---|---|
--pause | False | BOOL |
resume
Resume a paused sweep.
| Flag | Default | Type |
|---|---|---|
--resume | False | BOOL |
prior_runs
Attach an existing run to this sweep by ID. Specify multiple times to attach multiple runs.
| Flag | Default | Type |
|---|---|---|
-R, --prior_run | None | STRING |
help
Show this message and exit.
| Flag | Default | Type |
|---|---|---|
--help | False | BOOL |