Skip to content

Commit

Permalink
Add link to note about numpy threading
Browse files Browse the repository at this point in the history
  • Loading branch information
brickbots committed Jan 27, 2024
1 parent 7216620 commit 895f0ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/PiFinder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
from timezonefinder import TimezoneFinder

# Keep numpy from using multiple threads
# https://rhodesmill.org/skyfield/accuracy-efficiency.html
os.environ["OPENBLAS_NUM_THREADS"] = "1"
os.environ["MKL_NUM_THREADS"] = "1"

Expand Down

0 comments on commit 895f0ff

Please sign in to comment.