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

ENV OMP_NUM_THREADS=8 #7215

Merged
merged 1 commit into from
Mar 30, 2022
Merged

ENV OMP_NUM_THREADS=8 #7215

merged 1 commit into from
Mar 30, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Mar 30, 2022

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improved Docker performance for YOLOv5.

πŸ“Š Key Changes

  • Added an environment variable (OMP_NUM_THREADS) to the Dockerfile.

🎯 Purpose & Impact

  • Purpose: To optimize the number of threads used by OpenMP in YOLOv5 Docker containers for better performance.
  • Impact: Users may experience faster processing as the change ensures that the container utilizes a defined number of CPU threads consistently (8 in this case). This can be especially beneficial when running YOLOv5 on multi-core systems. πŸš€

@glenn-jocher glenn-jocher merged commit c94736a into master Mar 30, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-2 branch March 30, 2022 14:01
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
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

1 participant