What should the .gitignore file be when using wandb?

I noticed that my pycharm suggests some wandb files that are created automatically…to avoid pushing those (btw what are they?) what is the recommended .gitignore files contents?

Could you list the files you’re seeing?

As a first rule of thumb, I would suggest adding wandb/, or whatever your $WANDB_DIR is, to your .gitignore.

I would not recommend using a directory that’s also used for other purposes as your $WANDB_DIR, because that would require a finer filter to just ignore our files. The precise files that may be generated can change as you change which features you are using – and as we update the library with new features and behaviors! – so it’s simpler to make a dedicated directory and ignore the whole thing.

1 Like