Skip to content

ENV OMP_NUM_THREADS=1#10593

Merged
glenn-jocher merged 1 commit intomasterfrom
update_docker
Dec 26, 2022
Merged

ENV OMP_NUM_THREADS=1#10593
glenn-jocher merged 1 commit intomasterfrom
update_docker

Conversation

@glenn-jocher
Copy link
Copy Markdown
Member

@glenn-jocher glenn-jocher commented Dec 26, 2022

@Laughing-q @AyushExel setting to 1 due to recent issues

Signed-off-by: Glenn Jocher glenn.jocher@ultralytics.com

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Optimized Docker container for better multi-threading performance.

📊 Key Changes

  • Modified the OMP_NUM_THREADS environment variable in the Dockerfile from 8 to 1.

🎯 Purpose & Impact

  • 🚀 Purpose: The change is intended to optimize threading for the YOLOv5 application within the Docker container. This adjustment can potentially increase the efficiency of CPU usage and workload distribution.
  • 📈 Impact: Users employing the Ultralytics Docker container may experience improved performance, especially in multi-container environments where resource contention is an issue. This could also benefit users who manage their resources on a granular level and want to minimize the threading overhead.

@Laughing-q @AyushExel setting to 1 due to recent issues

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher glenn-jocher self-assigned this Dec 26, 2022
@glenn-jocher glenn-jocher merged commit 3c1afd9 into master Dec 26, 2022
@glenn-jocher glenn-jocher deleted the update_docker branch December 26, 2022 13:54
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.

1 participant