-
Notifications
You must be signed in to change notification settings - Fork 63
fix: add shutdown methods to executors #925
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
Open
jbusecke
wants to merge
30
commits into
main
Choose a base branch
from
executor-cleaning
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+96
−2
Open
Changes from 27 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
d97bd65
fix: add shutdown methods to executors and fix lithops memory leak
jbusecke 4f4c061
Add tests and constrain fix only to lithops
jbusecke d925fb7
Clean up claudes horrible tests
jbusecke 46908c1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4732cc3
Alternative approach via lithops config
jbusecke 031ffac
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6414546
toms renaming suggestion
jbusecke f013d74
Merge branch 'executor-cleaning' of https://github.com/zarr-developer…
jbusecke 216fb09
Merge branch 'main' into executor-cleaning
TomNicholas 6a83bf3
Merge branch 'main' into executor-cleaning
TomNicholas 3f9aa44
Update lithops dependency version in pyproject.toml
jbusecke af2c83e
Revert lithops dependency version constraint
jbusecke 4481f63
Merge branch 'main' into executor-cleaning
TomNicholas a612af5
Merge branch 'main' into executor-cleaning
TomNicholas 3ff3bf1
Merge branch 'main' into executor-cleaning
jbusecke 0cb839d
Mark Lithops executor tests as flaky
jbusecke 05316e6
rerun flaky tests
jbusecke 23d2654
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 748f50d
Fix LithopsEagerFunctionExecutor.shutdown() not clearing futures
jbusecke 263656e
add comment
jbusecke b9ba3ca
Test against lithops fork with job_manager thread join fix
jbusecke 63481f8
Add sleep between memory test iterations to allow background threads …
jbusecke 68a60e9
Move sleep to after the loop to allow background threads to exit befo…
jbusecke ba61353
Increase sleep to 30s to give background threads more time to exit
jbusecke 71a43b4
Revert lithops dep back to released version
jbusecke 394c019
remove the memory growth test
jbusecke d1822a3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b95baa1
Merge branch 'main' into executor-cleaning
jbusecke d8c0ab1
Add .shutdown() method to custom executors
jbusecke 887edac
satisfy linter
jbusecke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just get rid of
self._futures? It's not clear why we even hold the list of futures to begin with?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Um that is actually a good question @chuckwondo. @TomNicholas do you know why this was necessary in the case of dask?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this the case for any of the executors?