-
Notifications
You must be signed in to change notification settings - Fork 169
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
JP-3706: Set outlier detection buffer size based on total available memory #8756
Closed
Closed
Changes from all commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
5a82f06
add ModelLibrary
braingram 98fb07f
update tweakreg to use ModelLibrary
braingram 395298d
remove minimize_memory option for skymatch
braingram 4b2ce13
update skymatch to use ModelLibrary
braingram 018e3ce
temporary ModelContainer to and from ModelLibrary converter, assign_m…
emolter 74b6607
replaced container with library in resample
emolter 9233dd2
Revert "temporary ModelContainer to and from ModelLibrary converter, …
emolter bd6207b
put in nogroupid try except statements
emolter 5c3cfc3
ModelLibrary for resample imaging, ModelContainer for resample spec
emolter c1615dd
Merge remote-tracking branch 'braingram/outlier_detection_steps' into…
emolter b4a7ce1
fixing problems from merge of outlier detection changes
emolter 36c2b40
outlier detection to ModelLibrary for imaging modes
emolter c78841a
small fix to resample_spec
emolter 9cdf2b7
Merge remote-tracking branch 'upstream/master' into JP-3690
emolter 3103f82
convert to ModelLibrary and back again in resample_spec_step to avoid…
emolter 2f85218
bugfixes for outlier detection unit tests
emolter 570dc26
expose on_disk for all steps, some cleanup to passing libraries betwe…
emolter ad9902d
using map_function where applicable, more unit test bug fixes
emolter 3d4fa0d
fix typo in pyproject.toml
emolter 3db69d3
bump version of stpipe
emolter 5ca774e
mark ModelLibrary as not part of stdatamodels
emolter d694178
added changelog entry
emolter 6066f2b
first draft of docs changes
emolter 48b1050
fixing regtest failures for spec3 pipeline, adding library to mtwcs
emolter 99ef2f6
integrate assign_mtwcs changes with spec3 pipeline
emolter 55262c0
debug coron3 pipeline
emolter f3ae92e
emptying data arrays in input to model_blender inside resample
emolter e27acc2
decreasing memory usage of outlier step using profiler
emolter d6c1642
revert refactor that introduced a bug in resample
emolter 189b375
update skymatch input spec
emolter a2dd947
bugfix for failed asdf load of recursive wcs transform
emolter 4307f22
Merge branch 'master' into JP-3690
emolter 1ca5c9b
small changes from memory profiling and review
emolter 6f08b61
bugfix for failed to load area extension and other metadata
emolter b124a8b
handle asn_table and asn_pool metadata properly
emolter 62bacbd
make ind_asn_type case-insensitive
emolter 30dcb3f
fix output filenames from outlier_detection
emolter 5e9e672
bugfix for HDRTAB association info in i2d files
emolter f87809e
re-add python 3.13 pin that was accidentally clobbered
emolter ca62baf
reverting accidental clobber of stcal pin dependency
emolter d47ef4b
updates after reviews by myself and by @braingram
emolter 26e5436
ruff style check
emolter 8f902b7
call img.area
emolter 33d66c9
bugfixes for remove s2d files and for mtimage regtest
emolter b357edc
Merge branch 'master' into JP-3690
emolter f35725a
attempted fix for resample and source_catalog result filenames
emolter 4ed0892
remove setting of asn pool and table name in resample
emolter 79f91c6
pushing bad things to remote to diagnose regtest
emolter 3fd25fc
yet another attempt to fix filename issue
emolter 28fa217
attempt to propagate fix also into source_catalog
emolter 1863ef1
bugfix for updating table and pool name in library._assign_member_to_…
emolter cb5594e
fixes based on @braingram review
emolter 099580c
fix ruff style check and remove unnecessary comment
emolter 6ff67d3
fix unit test and revert changes to file naming
emolter 6cad768
new attempted fix of output filenames
emolter 91b1b19
removed one more manual change to output file naming
emolter bf069ed
changed has_groups conditional to reflect master branch
emolter 5a44905
attempted fix single regtest failure for miri image3 crf files
emolter 8d9f7c7
compute chunk size based on allowed memory
emolter 5b9ecd8
using number of groups for buffer size
emolter e828ebc
Merge branch master into JP-3690
emolter 5272ac9
fixes per @melanieclarke comments
emolter 2afe670
merge master into JP-3690
emolter 04e2fa5
fixed failure to raise NoGroupID for in-memory models with None for o…
emolter 36ab34d
Merge branch 'master' into JP-3690
emolter 41ddd29
Merge branch 'JP-3690' into JP-3706
emolter f8d1dc8
Merge branch 'master' into JP-3706
emolter 6919a3a
added changelog entry
emolter eae6972
Merge branch 'master' into JP-3706
emolter f3f6d83
Merge branch 'master' into JP-3706
emolter 2504d0f
Merge branch 'master' into JP-3706
emolter 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 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 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 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.
I'm not sure why swap memory is included. Unless I misunderstand what this refers to (and I may very well misunderstand), I don't think the size of the swap area should be included. We are most interested in how much real memory is available so no paging or swapping is necessary.
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.
Thanks for reviewing this. Brett pointed out the same thing, and it's buried somewhere in our long back-and-forth (understandable that you did not read it all lol). If the swap memory were removed, what is your take on whether it's better to use the total amount of available memory or a per-model section size?
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.
Yes, I just noticed the long discussion "below the fold". I had some general concerns as well along Brett's lines.