[Feature]: Improved documentation for WANDB_SWEEP_ID env variable #4736
Labels
c:doc
Component: Docs
c:sweeps
Component: Sweeps
ty:feature_request
type of the issue is a feature request
Description
Documentation for enviornment variables does not include information on
WANDB_SWEEP_ID.
This can lead to a problem when callingwandb.init()
withid
,project
, orentity
parameters if this enviornment variable has been set. This can result in crashes or unexpected behaviour, particularlly when trying to a resume a run that was part of a sweep but crashed/ failed prematurely.Suggested Solution
Add information regarding
WANDB_SWEEP_ID
to the online documentationAlternatives
Do not ignore
wandb.init()
parameters when script is executed directly by user rather than sweep agent initalized withwandb agent
. Provide warnings to user if env variable is set andwandb agent
is not used to start run.Additional Context
No response
The text was updated successfully, but these errors were encountered: