-
Notifications
You must be signed in to change notification settings - Fork 27
Refactor/user function handling modules + Manager can run additional worker on thread #1216
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
Merged
Merged
Changes from all commits
Commits
Show all changes
85 commits
Select commit
Hold shift + click to select a range
862a776
first round of refactoring runners.py, Runner base class for normal i…
jlnav e6874a6
refactoring classes so class attributes aren't passed around internal…
jlnav e17eabe
ThreadRunner uses comms.QCommThread, slightly modified, to launch its…
jlnav 83493d0
handful of small changes from experimental/gen_on_manager_inplace
jlnav 6ad870c
first incredibly long and ugly concatenation of "pipeline" and "state…
jlnav d14b0aa
progress
jlnav ab32e3f
bugfixes, first "working" refactor of manager can run 1d_sampling usi…
jlnav 68d8855
removing now-redundant content from manager, trying to see if we can …
jlnav 33ea282
restore version of manager from develop. specify iterations for worker.
jlnav 843df39
remove pipelines.py. will start simpler
jlnav 3aeab06
undoing "iterations" change in worker, seeing if we can simply submit…
jlnav b083a21
add attempted update_state_on_local_gen_msg and handle_msg_from_local…
jlnav 231e2b7
use _Worker class to correctly index into W and wcomms. add initial o…
jlnav d251363
add "threaded" tentative option to sim/gen_specs
jlnav 368bf93
fix ThreadRunner shutdown when that worker didn't launch a thread
jlnav 744620d
adds test-case to functionality tests, fixes alloc_f libE_info usable…
jlnav ca14b7c
Merge branch 'develop' into refactor/user_function_handling_modules
jlnav cd6f0db
make resources reflect develop?
jlnav 0952067
Merge branch 'develop' into refactor/user_function_handling_modules
jlnav 884d61b
remove old symlink
jlnav dfb0fbb
print evaluated lines in check_libe_stats for now
jlnav ec236ed
only want to perform this specific datetime check on indexes 5 and 6 …
jlnav 7b94467
Merge branch 'develop' into refactor/user_function_handling_modules
jlnav f06148a
a much simpler indexing solution from shuds
jlnav d584152
add comment for why using self.W.iterable in "for wrk in self.W.itera…
jlnav 592c8c4
add __len__ and __iter__ to indexer
jlnav 59ca40a
add __setitem__
jlnav d8a3a42
adjust alloc_support to not use w - 1 indexing
jlnav 1839ff2
just pass in the iterable for now. resource changes coming in another…
jlnav 43e98a9
Merge branch 'develop' into refactor/user_function_handling_modules
jlnav 65fc121
Merge branch 'develop' into refactor/user_function_handling_modules
jlnav 95badb1
Merge branch 'develop' into refactor/user_function_handling_modules
jlnav 1fcf91f
Merge branch 'develop' into refactor/user_function_handling_modules
jlnav ad525bb
add tentative gen_on_manager option, separate additional_worker_launc…
jlnav fe64869
various refactors based on PR suggestions, then manager-refactors bas…
jlnav dcf6db7
fix persistent filter, update avail/running gens counters
jlnav ba05900
update unit test, bugfix
jlnav 482ec15
update persistent allocs, but also add backwards-compatibility check …
jlnav 3d06b1c
fix persistent sim test
jlnav 9165d7d
move _WorkerIndexer into libensemble.utils, also use within Persisten…
jlnav f7ba205
manager also needs to send workflow_dir location to worker 0
jlnav 376e450
missed an alloc
jlnav ac52a9f
Merge branch 'develop' into refactor/user_function_handling_modules
jlnav 6375058
make alloc_f's libE_info additional worker option match libE_specs
jlnav c07a565
removes manager_runs_additional_worker in favor of gen_on_manager. pa…
jlnav c46802e
turning W["active"] back to an int
jlnav 2ee9466
experimenting with gen_on_manager with give_pregenerated_work - worke…
jlnav 9ebe767
I think for sim workers, the only requirement is that they're not gen…
jlnav 09d030c
fixing alloc unit test based on passing wrapped W into alloc
jlnav 2f631e0
refactoring Worker array fields to more closely match develop. worker…
jlnav ab39de6
fix tests
jlnav 550ca1f
missed a revert in alloc
jlnav e7591b6
undo inconsequential tiny changes to allocs
jlnav 68b991a
run each of the test_GPU_gen_resources tests also with the gen runnin…
jlnav c433ecb
simply gen_workers parameter description for avail_worker_ids
jlnav e78056b
debugging consecutive libE calls with gen_on_manager
jlnav f30233c
debugging......
jlnav 6d0f9d2
cleaning up debugging, removing comm from Executor upon worker exiting
jlnav 97c2c53
clarification comment
jlnav 73d4b4c
bugfix
jlnav 13fecde
filter for gen_workers within avail_worker_ids, if set and there are …
jlnav 0bcfc79
refactor give_sim_work_first for running on gen_workers if no points_…
jlnav 45cbd16
it turns out that values set by validators are still considered "unse…
jlnav 2bc504c
starting to create unit test
jlnav aa4db8a
finish up unit test
jlnav 429adb4
it turns out that values set by validators are still considered "unse…
jlnav b1f9108
starting to create unit test
jlnav 6fa18ef
finish up unit test
jlnav dbdf88f
platform_specs sometimes seems to be at risk of disappearing when we …
jlnav eacf46f
Merge branch 'bugfix/ensemble_libE_specs_attrs_passthrough' into refa…
jlnav e4d4b08
refactor fast_alloc for gen workers
jlnav ffbe6c9
better test comment
jlnav 14c8b1f
refactor inverse_bayes_allocf
jlnav 45e99b2
trying to refcator only_one_gen_alloc, but currently doesnt pass test…
jlnav 6f713dc
refactor aposmm alloc, move skip_cancled_points line
jlnav 4aa386f
Update fast_alloc
shuds13 0b12af2
refactor start_fd_persistent
jlnav 97cdfdb
refactor start_persistent_local_opt_gens
jlnav 77f880e
typo
jmlarson1 2780f10
fast_alloc alloc_f: don't overwrite sim_worker with gen_work for a gi…
jlnav 655a1ba
return Work after packing up gen work
jlnav 15719c7
do next_to_give check within avail_worker_ids loop
jlnav 3138a39
add libE_specs["gen_workers"] option, adjust ensure_one_active_gen so…
jlnav 2093629
update give_pregenerated_work and start_only_persistent to only give …
jlnav 8a50e60
refactor fast_alloc_and_pausing
jlnav 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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.