question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

logger noise that should be debug, and not being able to turn wandb logging off

See original GitHub issue

Just rebased transformers, needed to update wandb and started getting this when running hf trainer:

2021-01-07 18:46:19 | INFO | wandb.sdk.internal.internal | Internal process exited
2021-01-07 18:46:19 | INFO | wandb.sdk.internal.internal | Internal process exited
  1. why is this info and not debug? I can’t see what useful information this adds to the user of the hosting application. Turning this to DEBUG would be awesome. thanks.

  2. export WANDB_CONSOLE=off didn’t shut it off the docs suggest https://docs.wandb.ai/library/environment-variables

  3. Would it be possible to add:

WANDB=DISABLED env var or something like that similar to how COMET_MODE=DISABLED does it? which would mean don’t load the module at all even if it’s available and API KEY is configured.

When I work on something it makes things difficult when modules that don’t participate in the development process start logging their stuff. I don’t use wandb most of the time, but the fact that I have it installed keeps on running it.

Thank you very much.

For now going to uninstall wandb

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tssweeneycommented, Jan 25, 2021

Awesome - thank you for that tip. I can confirm that before the change, the internal process exited log would be emitted. After the change, wandb’s normal output can be observed.

1reaction
vanpeltcommented, Jan 8, 2021

Sorry, I misspoke. It’s WANDB_DISABLED=true, I should have read the code that I linked to 🙃

Read more comments on GitHub >

github_iconTop Results From Across the Web

logger noise that should be debug, and not being able to turn ...
When I work on something it makes things difficult when modules that don't participate in the development process start logging their stuff. I ......
Read more >
General - Documentation - Weights & Biases - Wandb
You can always turn off streaming by running wandb off from your training directory, or setting the WANDB_MODE environment variable to offline ....
Read more >
3 ways to get Debug logs in Production | by Mikhail Simin
The log noise is useless and it would take up too much space. Not logging them at all defeats the entire point of...
Read more >
Testing wandb - MNIST - Kaggle
The code above will log our model's performance, system metrics, and more to W&B. If we want to take our logging to the...
Read more >
Changelog — PyTorch Lightning 1.8.5.post0 documentation
Switch from tensorboard to tensorboardx in TensorBoardLogger (#15728) ... Fixed epoch-end logging results not being reset after the end of the epoch (#14061)....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found