Skip to content

[RLlib] Add evaluation worker healthiness stats only if eval worker is not None#30384

Merged
gjoliver merged 1 commit intoray-project:masterfrom
kouroshHakha:fix-algo-with-evalworker-none
Nov 17, 2022
Merged

[RLlib] Add evaluation worker healthiness stats only if eval worker is not None#30384
gjoliver merged 1 commit intoray-project:masterfrom
kouroshHakha:fix-algo-with-evalworker-none

Conversation

@kouroshHakha
Copy link
Copy Markdown
Contributor

Signed-off-by: Kourosh Hakhamaneshi kourosh@anyscale.com

Why are these changes needed?

It fixes a bug where we attempt to access self.evaluation_workers for returning stats when it's None.

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 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 :(

Signed-off-by: Kourosh Hakhamaneshi <kourosh@anyscale.com>
@gjoliver gjoliver merged commit 7eee84c into ray-project:master Nov 17, 2022
WeichenXu123 pushed a commit to WeichenXu123/ray that referenced this pull request Dec 19, 2022
Signed-off-by: Kourosh Hakhamaneshi <kourosh@anyscale.com>

Signed-off-by: Kourosh Hakhamaneshi <kourosh@anyscale.com>
Signed-off-by: Weichen Xu <weichen.xu@databricks.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.

2 participants