Skip to content

Commit

Permalink
Add info on WANDB_SWEEP_ID (#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
J2-D2-3PO authored Jan 31, 2025
1 parent 202be14 commit 290585c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/guides/models/track/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ WANDB_PROJECT=$project
```python
# If you don't want your script to sync to the cloud
os.environ["WANDB_MODE"] = "offline"

# Add sweep ID tracking to Run objects and related classes
os.environ["WANDB_SWEEP_ID"] = "b05fq58z"
```

## Optional environment variables
Expand Down Expand Up @@ -62,6 +65,7 @@ Use these optional environment variables to do things like set up authentication
| **WANDB_RUN_ID** | Set this to a globally unique string (per project) corresponding to a single run of your script. It must be no longer than 64 characters. All non-word characters will be converted to dashes. This can be used to resume an existing run in cases of failure. |
| **WANDB_SILENT** | Set this to **true** to silence wandb log statements. If this is set all logs will be written to **WANDB_DIR**/debug.log |
| **WANDB_SHOW_RUN** | Set this to **true** to automatically open a browser with the run url if your operating system supports it. |
| **WANDB_SWEEP_ID** | Add sweep ID tracking to `Run` objects and related classes, and display in the UI. |
| **WANDB_TAGS** | A comma separated list of tags to be applied to the run. |
| **WANDB_USERNAME** | The username of a member of your team associated with the run. This can be used along with a service account API key to enable attribution of automated runs to members of your team. |
| **WANDB_USER_EMAIL** | The email of a member of your team associated with the run. This can be used along with a service account API key to enable attribution of automated runs to members of your team. |
Expand Down

0 comments on commit 290585c

Please sign in to comment.