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

Set threads per worker to 1 #928

Merged
merged 1 commit into from
May 10, 2024
Merged

Conversation

jdebacker
Copy link
Member

This PR updates the run_ogcore_example.py script to use just one thread per worker in the dask client. This was pointed out by @talumbau in OG-USA PR #102 to reduce run times and excessive memory usage.

@codecov-commenter
Copy link

codecov-commenter commented May 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.44%. Comparing base (565fdef) to head (33b1902).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #928      +/-   ##
==========================================
- Coverage   73.48%   73.44%   -0.05%     
==========================================
  Files          19       19              
  Lines        4643     4643              
==========================================
- Hits         3412     3410       -2     
- Misses       1231     1233       +2     
Flag Coverage Δ
unittests 73.44% <ø> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes

@jdebacker jdebacker merged commit 9bf8810 into PSLmodels:master May 10, 2024
7 checks passed
@jdebacker jdebacker deleted the run_script branch May 10, 2024 19:26
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.

2 participants