Skip to content
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

[tune/train] Remove legacy TrialRunner/Executor #37927

Merged
merged 19 commits into from
Aug 3, 2023

Conversation

krfricke
Copy link
Contributor

@krfricke krfricke commented Jul 31, 2023

Why are these changes needed?

We've turned on the new execution engine in Ray 2.5 per default. Some last problems with BOHB have been resolved in 2.6 and we haven't received any complaints. Thus we can simplify our code base by removing the legacy trial runner/executor.

Note that a number of integration tests have not been fully converted, yet. These are deactivated but still present and should be moved to the new engine. However, they currently run on the old code path anyways, so we don't lose any signal for the new execution engine when removing them.

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Kai Fricke added 15 commits July 31, 2023 09:57
Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
…-exec

# Conflicts:
#	python/ray/tune/execution/trial_runner.py
Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
@krfricke
Copy link
Contributor Author

krfricke commented Aug 2, 2023

Screenshot 2023-08-02 at 15 07 00

With this data I'd be comfortable to proceed with this removal.

@xwjiang2010
Copy link
Contributor

Resolve conflicts?

Kai Fricke added 2 commits August 3, 2023 09:11
…-exec

# Conflicts:
#	python/ray/tune/execution/ray_trial_executor.py
#	python/ray/tune/tests/test_trial_runner_2.py
Signed-off-by: Kai Fricke <kai@anyscale.com>
Kai Fricke added 2 commits August 3, 2023 14:24
Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
@xwjiang2010
Copy link
Contributor

Stamp. Let's ship it!

@krfricke krfricke merged commit f511b4b into ray-project:master Aug 3, 2023
78 of 82 checks passed
@krfricke krfricke deleted the tune/remove-trial-exec branch August 3, 2023 16:12
NripeshN pushed a commit to NripeshN/ray that referenced this pull request Aug 15, 2023
We've turned on the new execution engine in Ray 2.5 per default. Some last problems with BOHB have been resolved in 2.6 and we haven't received any complaints. Thus we can simplify our code base by removing the legacy trial runner/executor.

Note that a number of integration tests have not been fully converted, yet. These are deactivated but still present and should be moved to the new engine. However, they currently run on the old code path anyways, so we don't lose any signal for the new execution engine when removing them.

Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: NripeshN <nn2012@hw.ac.uk>
harborn pushed a commit to harborn/ray that referenced this pull request Aug 17, 2023
We've turned on the new execution engine in Ray 2.5 per default. Some last problems with BOHB have been resolved in 2.6 and we haven't received any complaints. Thus we can simplify our code base by removing the legacy trial runner/executor.

Note that a number of integration tests have not been fully converted, yet. These are deactivated but still present and should be moved to the new engine. However, they currently run on the old code path anyways, so we don't lose any signal for the new execution engine when removing them.

Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: harborn <gangsheng.wu@intel.com>
harborn pushed a commit to harborn/ray that referenced this pull request Aug 17, 2023
We've turned on the new execution engine in Ray 2.5 per default. Some last problems with BOHB have been resolved in 2.6 and we haven't received any complaints. Thus we can simplify our code base by removing the legacy trial runner/executor.

Note that a number of integration tests have not been fully converted, yet. These are deactivated but still present and should be moved to the new engine. However, they currently run on the old code path anyways, so we don't lose any signal for the new execution engine when removing them.

Signed-off-by: Kai Fricke <kai@anyscale.com>
arvind-chandra pushed a commit to lmco/ray that referenced this pull request Aug 31, 2023
We've turned on the new execution engine in Ray 2.5 per default. Some last problems with BOHB have been resolved in 2.6 and we haven't received any complaints. Thus we can simplify our code base by removing the legacy trial runner/executor.

Note that a number of integration tests have not been fully converted, yet. These are deactivated but still present and should be moved to the new engine. However, they currently run on the old code path anyways, so we don't lose any signal for the new execution engine when removing them.

Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: e428265 <arvind.chandramouli@lmco.com>
vymao pushed a commit to vymao/ray that referenced this pull request Oct 11, 2023
We've turned on the new execution engine in Ray 2.5 per default. Some last problems with BOHB have been resolved in 2.6 and we haven't received any complaints. Thus we can simplify our code base by removing the legacy trial runner/executor.

Note that a number of integration tests have not been fully converted, yet. These are deactivated but still present and should be moved to the new engine. However, they currently run on the old code path anyways, so we don't lose any signal for the new execution engine when removing them.

Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Victor <vctr.y.m@example.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants