-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: replace no_op fixture with a noop api (#9997)
Eliminate a couple dozen yaml files for controlling the no_op fixture, each of which was tweaked a half dozen ways by different tests. There were 124 usages of the no_op fixture, and it was very hard to know what any particular test was trying to accomplish. All of these (except 6 from the custom searcher tests, which are removed in an upcoming feature branch) have been re-written to use a new python module for creating noop experiments with obvious behaviors. By my measurements, a combined total of 34 minutes of effective sleeping were removed from the individual tests of our test suite. The biggest wins were from cases where the test author probably did not realize how long some of the no_op experiments were configured to run for. Most tests were faithfully preserved, with the following exceptions: - cluster/test_exp_continue:test_continue_config_file_and_args_cli - converted to a unit test - cluster/test_exp_continue:test_continue_config_file_cli - deleted; with new unit test, adds nothing to test_continue_batches - cluster/test_exp_continue:test_continue_fixing_broken_config - deleted; adds nothing to test_continue_batches - cluster/test_exp_continue:test_continue_workloads_searcher - deleted since it was really a wlsq test - cluster/test_exp_continue:test_continue_pytorch_completed_searcher - deleted since it was really a pytorch trainer test - cluster/test_resource_manager:test_allocation_resources_incremental_release - the test has not been working, I think at least since we defaulted to using det.launch.torch_distributed; the non-chief container was not exiting until the chief exited - experiment/test_core:test_trial_logs - deleted due to cluster/test_logging - experiment/test_core:test_log_null_bytes - deleted, but added null bytes to test_logging.py - experiment/test_noop:test_noop_nan_validations - combined with test_noop_pause - experiment/test_noop:test_cancel_ten_experiments - this test is dumb, also it was pathologically slow - experiment/test_noop:test_cancel_ten_paused_experiments - this test is dumb - experiment/test_noop:test_startup_hook - test_logging tests startup hooks already - run/test_api:test_run_pause_and_resume_filter_skip_empty - renamed to test_run_in_search_not_pausable_or_resumable to match its intended purpose, also simplify it, also make it stricter, also stop leaking adaptive searches onto the cluster after passing
- Loading branch information
1 parent
987b2a5
commit a0cc818
Showing
64 changed files
with
1,556 additions
and
2,355 deletions.
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.