Skip to content
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

W&B: Enable login timeout #4843

Merged
merged 5 commits into from
Sep 17, 2021
Merged

W&B: Enable login timeout #4843

merged 5 commits into from
Sep 17, 2021

Conversation

AyushExel
Copy link
Contributor

@AyushExel AyushExel commented Sep 17, 2021

This PR:

  • enables login timeout if installed wandb client version is >= 0.12.2.
  • Pre-installs wandb in dockerfile

@glenn-jocher the same login timeout functionality can be enabled by default in colabs/other envs by pre-installing wandb

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Improvement in Docker environment and Weights & Biases integration.

📊 Key Changes

  • Updated the Dockerfile to include wandb (Weights & Biases) with a specified minimum version of 0.12.2.
  • Modified wandb_utils.py to enforce a login timeout of 30 seconds if Weights & Biases version is 0.12.2 or higher.

🎯 Purpose & Impact

  • Ensuring the Docker environment installs a compatible version of wandb helps maintain consistency for experiment tracking.
  • The login timeout addition helps avoid potential hangs during the setup process, leading to smoother user experiences while using Weights & Biases for logging and tracking machine learning experiments. This change can result in more efficient debugging and less downtime for users. 🚀💻

@glenn-jocher
Copy link
Member

@AyushExel awesome, let's try it!

@glenn-jocher glenn-jocher merged commit 302a1b0 into ultralytics:master Sep 17, 2021
@glenn-jocher
Copy link
Member

@AyushExel PR is merged. Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐

CesarBazanAV pushed a commit to CesarBazanAV/yolov5 that referenced this pull request Sep 29, 2021
* evolve fix

* Enable login timeout

* fix pkg
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
* evolve fix

* Enable login timeout

* fix pkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants