fix: linting
This commit is contained in:
parent
2f31df412b
commit
849581fcfd
3 changed files with 2 additions and 4 deletions
|
|
@ -52,7 +52,8 @@ def init_wandb(
|
|||
|
||||
if not has_key and not is_interactive and os.environ.get("WANDB_MODE") != "offline":
|
||||
logger.warning(
|
||||
"WANDB_API_KEY not found and environment is non-interactive. Switching to offline mode."
|
||||
"WANDB_API_KEY not found and environment is non-interactive. "
|
||||
"Switching to offline mode."
|
||||
)
|
||||
sync_path = f"runs/{name}" if name else "runs"
|
||||
logger.warning(f"WandB is offline. Use 'wandb sync {sync_path}' to upload logs later.")
|
||||
|
|
|
|||
Reference in a new issue