I am trying to access the cell having below lines of code:
os.environ[“COHERE_API_KEY”] = getpass.getpass(“Please enter your COHERE_API_KEY”)
wandb.login()
I provided the API key from Cohere_Trial API but due to some reason it gets stuck and never execute this code.
Need help or clarity on this initial setup?
Hi primepratyush**.** I’m not sure what I can help you with there. I don’t know what’s the connection between COHERE’s API key and wandb for your use case.
Hello Team,
Well I am attending the course and I was trying to launch the notebooks “chapter01” as shared by the instructor.
But while executing the code in cell 6 with below codes:
WANDB_PROJECT = “rag-course”
run = wandb.init(
project=WANDB_PROJECT,
group=“Chapter 1”,
)
It runs for sometimes but then failed with below error:
CommError: Run initialization has timed out after 90.0 sec.
Please refer to the documentation for additional information: Frequently Asked Questions About Experiments
Hi Pratyush:
I’m glad you are trying out the course and getting to know WandB. It is always a great journey to learn new skills and tools as we grow in academic or career.
My personal experience with any new tool is that the learning curve is the highest at the beginning. I understand how frustrating the errors from tech tools and services can be, despite how basic it seems like this one.
Have you tried out solutions provided in this post. For example:
To use a longer service start up time you can use: WANDB__SERVICE_WAIT=300 python train.py
For future references, you can look for similar issues and solutions in the community, even under your own post! We are fortunate to have lots of users using our product and sharing their experiences.
Well I tried all the settings proposed and suggested in other post as well.
WANDB__SERVICE_WAIT=300
WANDB_INIT_TIMEOUT=120
WANDB_HTTP_TIMEOUT=60
But still I am getting the same error with:
CommError: Run initialization has timed out after 90.0 sec.
Please refer to the documentation for additional information: Frequently Asked Questions About Experiments
And if you are not on wandb 0.18.X, could you please add below before you init code to see if those helps?
wandb.require("core")
If still not working, could you provide some more info to help pin point the problem?
What version of the W&B SDK are you currently using? (You can check this by running wandb --version in your terminal)
Could you run wandb status and wandb verify for me and share the output?
Do you have the full stack trace for the error?
Would you be able to locate the ./wandb/run-<Date_time>-<runid>/logs folder and send us the debug.log and debug-internal.log files if there are any?This information will really help us pinpoint the issue. Let me know if you need help with any of those.
We wanted to follow up with you regarding your support request as we have not heard back from you. Please let us know if we can be of further assistance or if your issue has been resolved.
Hi PRATYUSH, since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!