You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add kwarg `n_cpu`
* Set to use only single core in `test_cube_fit_after_unit_change` to avoid overhead from multiprocessing
* Move more tests to single cpu
* Also add coverage for multiprocessing vs single cpu in cube fitting backend test.
* Move another test to single cpu
* Model fitting strikes again!
* Move another test to single cpu
* Model fitting strikes again!
* Use fixture instead of for-loop
* Can be a tiny bit slower in serial but in a parallel environment, it's a no-brainer.
* Style fixes
* Add parallelization for pytest
* Example style fix
* Change load distribution technique
* Should be a bit better than the old since we only have two workers (for now)
* Add `cached_uri` logic
* Re-arranged uri_or_file logic
* Add durations flag for future test optimization/debugging
* Update jdaviz/core/tests/test_autoconfig.py
Co-authored-by: Kyle Conroy <[email protected]>
* Hardcoding n_cpu=1 instead of using a variable
* Style adjustment
* Re-use n_cpu for one of the tests so it's a variable again
* Overwrite uri instead of new variable
* Create ParallelMixin to use traitlet instead of kwarg
* Barebones framework for eventual work with parallelization
* Removed unnecessary import
* Use an integer traitlet instead of unicode
* To be consistent with current implementation and avoid the try except. This could change in the future
* n_cpu is now a traitlet passed directly into the model_fitting object
* Revert traitlet (keeping mixin)
* parallel_n_cpu is now (temporarily) an attribute of model_fitting
* traitlet implementation and ParallelMixin to come later
* Also now both fitting backends are parameterized for multiprocessing tests for proper coverage
* Fixed bug, properly access object now
* Leaving a TODO for future parallel work
* Moved comment about running in serial to first instance of calculate_fit
* Also force n_cpu to 1 in that test as well. I think I caught them all now.
* Style fixes
* Style fixes
* Remove ParallelMixin
* To be worked on eventually!
* Update template_mixin.py
Style fixes
* Update model_fitting.py
Taking out references to ParallelMixin
* Apply suggestions from code review
Removed leftover code (thanks Ricky!)
Co-authored-by: Ricky O'Steen <[email protected]>
* Update jdaviz/configs/default/plugins/model_fitting/tests/test_plugin.py
Co-authored-by: Ricky O'Steen <[email protected]>
* Apply suggestions from code review
Co-authored-by: Kyle Conroy <[email protected]>
---------
Co-authored-by: Kyle Conroy <[email protected]>
Co-authored-by: Ricky O'Steen <[email protected]>
0 commit comments