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

vine: cleanup hungry feature #3990

Merged
merged 6 commits into from
Dec 2, 2024

Conversation

btovar
Copy link
Member

@btovar btovar commented Nov 25, 2024

  • Use committed resources as fallback if there are no waiting tasks.
  • Use hungry-minimum-factor instead of hardwired "2"
  • Adds a test.

(These were noticed when m.hungry() was giving unexpected results in the dynamic-map-reduce code.

Merge Checklist

The following items must be completed before PRs can be merged.
Check these off to verify you have completed all steps.

  • make test Run local tests prior to pushing.
  • make format Format source code to comply with lint policies. Note that some lint errors can only be resolved manually (e.g., Python)
  • make lint Run lint on source code prior to pushing.
  • Manual Update: Update the manual to reflect user-visible changes.
  • Type Labels: Select a github label for the type: bugfix, enhancement, etc.
  • Product Labels: Select a github label for the product: TaskVine, Makeflow, etc.
  • PR RTM: Mark your PR as ready to merge.

Use committed resources as a fallback when waiting tasks do not declare
resources. Also fix the use of hungry_factor, instead of simply using
the number 2.
@btovar btovar mentioned this pull request Dec 2, 2024
7 tasks
@btovar btovar merged commit e885f92 into cooperative-computing-lab:master Dec 2, 2024
10 checks passed
@btovar btovar deleted the fix_hungry_feature branch December 2, 2024 17:35
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