-
Notifications
You must be signed in to change notification settings - Fork 673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to turn off Weights and Biases without code changes? #764
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Also, is there a way to turn off W&B warnings? I'm running in dryrun mode as a workaround but still getting wandb warnings; ideally I'd like to ignore them all. (Best case scenario would be to fully turn off wandb.) |
Hey @mathemakitten currently you can't completely turn off wandb.init but it's a feature we should add. You can turn off all messages from wandb by setting |
@vanpelt Is there a timeline for adding this feature? I have a use case where wandb is cluttering up my filesystem even if WANDB_SILENT=true; I would like an environment variable that makes wandb act as a no-op. If there's no way to fully disable it, then I'm wary of adding wandb to my code. |
@jarednielsen : This is a feature of a new experimental client library: We are working out the timeline for getting these changes into the released library. But starting next week we will have a noop mode. The trick to the noop mode is that all the wandb methods and objects have to behave sanely so that your code execution still works like: When the experimental client has validated and documented how to use this feature we will comment here and mark this issue with the label "c:cling-flixed". when it is released in the main library this issue will be marked closed |
I tried both directly and with os.environ... it doesn't work :-( |
We just released wandb 0.10.7 which has support for the |
Great, I'll immediately update it :-) |
I tried and I stll get all warnings and unuseful messages :-( And I run the same code several times in a row, I also get trouble with the conflict between init and login |
Can you share a few examples of message you're seeing? |
I'm going to +1 this thread. I think I think this is applicable to a variety of situations, i.e. debugging small issues that may cause you to run short trainings dozens of times in a day that you don't want logged anywhere, but then easily turn it on afterward, ideally with |
Hey @glenn-jocher we're going to address this in the next release hopefully tomorrow. We're deprecating
|
@vanpelt ah that sounds like a good improvement, I think this will help a lot! |
Yes, this was rally a pita for me for one-off tweaks/experiments, so I wrote my own if-else statements around wandb code. |
Can confirm this is working better now.
|
Awesome! We just deployed this feature with |
@vanpelt If running a sweep, does |
@tom-andersson |
Thank you @raubitsj, I've since edited my
I'm was previously getting no information sent to the web app when running sweeps, but now everything's running nicely! |
WANDB_MODE=offline |
|
Reference wandb/wandb#764 Issue #20
Is there a way to totally turn off W&B without having to build if-logic? I know I can do WANDB_MODE="dryrun" but I want to turn it completely off (i.e. ignore Wandb.init(), ignore wand.save, don't even write files).
The text was updated successfully, but these errors were encountered: