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

SacessOptimizer: Update worker settings #1202

Merged
merged 5 commits into from
Nov 21, 2023

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented Nov 20, 2023

  • Most importantly fix default RefSet sizes (too big before)
  • Add default settings for >10 workers

* Most importantly fix default RefSet sizes (too big before)
* Add default settings for >10 workers
@codecov-commenter
Copy link

codecov-commenter commented Nov 20, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (2d95ca4) 84.08% compared to head (9a85b0e) 63.43%.

Files Patch % Lines
pypesto/optimize/ess/sacess.py 25.00% 3 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #1202       +/-   ##
============================================
- Coverage    84.08%   63.43%   -20.66%     
============================================
  Files          148      148               
  Lines        11775    11778        +3     
============================================
- Hits          9901     7471     -2430     
- Misses        1874     4307     +2433     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dweindl dweindl self-assigned this Nov 21, 2023
min_dimrefset = 5

def dim_refset(x):
return max(min_dimrefset, ceil((1 + sqrt(4 * dim * x)) / 2))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this also based on the reference. Could not find the function MOD(ids...)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. The MOD is replaced by cycle at the end of this function.

@dweindl dweindl merged commit a6e300f into ICB-DCM:develop Nov 21, 2023
18 checks passed
@dweindl dweindl deleted the sacess_update_default_settings branch November 21, 2023 15:07
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.

3 participants