Wandb login issue

Hi, everytime I run my experiment in kubernetes, wandb is asking for options wandb:
(1) Create a W&B account
wandb: (2) Use an existing W&B account
wandb: (3) Don’t visualize my results

Hi @vijaya, you should be able to environment to set your API Key and host url when setting up your Kubernetes environment which will allow you to not have to login every time you start an experiment. Setting WANDB_API_KEY and WANDB_BASE_URL should help you get past this.

Let me know if you have any other questions around this.

Thank you,
Nate

Hi @vijaya, you should be able to environment to set your API Key and host url when setting up your Kubernetes environment which will allow you to not have to login every time you start an experiment. Setting WANDB_API_KEY and WANDB_BASE_URL should help you get past this.

Let me know if you have any other questions around this.

Thank you,
Nate

[Discourse post]

Hi @sydholl,
Thank you for your reply. Now I am getting a new error saying " mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: ‘/.config’" while I try to run wandb in a docker environment. Can you please help me resolve this issue.

HI @vijaya, this looks like your script does not have write access to ‘/config’. You can either resolve this by giving your script root access or you can change the folder that W&B is trying to write to.

The env variables WANDB_DIR, WANDB_CACHE_DIR, and WANDB_CONFIG_DIR should all be set to folders that you have permissions to write to.

Let me know if this resolves the issue for you

1 Like

@vijaya I wanted to follow up and see if you were able to get this to work or if you still needed any help with this?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.