Skip to content

[no_early_kickoff] [AIR] Make Keras Callback raise DeprecationWarning - #33775

Merged
amogkam merged 31 commits into
ray-project:masterfrom
bveeramani:deprecate-keras-callback
Mar 30, 2023
Merged

[no_early_kickoff] [AIR] Make Keras Callback raise DeprecationWarning#33775
amogkam merged 31 commits into
ray-project:masterfrom
bveeramani:deprecate-keras-callback

Conversation

@bveeramani

@bveeramani bveeramani commented Mar 27, 2023

Copy link
Copy Markdown
Member

Why are these changes needed?

The Keras Callback was deprecated in Ray 2.3 in favor of ReportCheckpointCallback. This PR escalates the deprecation warning to a deprecation error.

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

bveeramani and others added 22 commits November 21, 2022 21:00
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
This reverts commit de05655.

Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
@bveeramani
bveeramani requested a review from a team as a code owner March 27, 2023 23:39
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
@bveeramani bveeramani changed the title [AIR] Make Keras Callback raise DeprecationWarning [no_early_kickoff] [AIR] Make Keras Callback raise DeprecationWarning Mar 28, 2023
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
@amogkam

amogkam commented Mar 28, 2023

Copy link
Copy Markdown
Contributor

looks like convert_existing_tf_code_to_ray_air example was missed

Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
…allback

Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
@bveeramani bveeramani added the tests-ok The tagger certifies test failures are unrelated and assumes personal liability. label Mar 30, 2023

@zhe-thoughts zhe-thoughts left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly docs change. Approved for merging into master

@amogkam
amogkam merged commit 8278421 into ray-project:master Mar 30, 2023
can-anyscale pushed a commit that referenced this pull request Mar 30, 2023
…ing` (#33775)

The Keras Callback was deprecated in Ray 2.3 in favor of ReportCheckpointCallback. This PR escalates the deprecation warning to a deprecation error.

---------

Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
can-anyscale pushed a commit that referenced this pull request Mar 30, 2023
…ing` (#33775)

The Keras Callback was deprecated in Ray 2.3 in favor of ReportCheckpointCallback. This PR escalates the deprecation warning to a deprecation error.

---------

Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
elliottower pushed a commit to elliottower/ray that referenced this pull request Apr 22, 2023
…ing` (ray-project#33775)

The Keras Callback was deprecated in Ray 2.3 in favor of ReportCheckpointCallback. This PR escalates the deprecation warning to a deprecation error.

---------

Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: elliottower <elliot@elliottower.com>
ProjectsByJackHe pushed a commit to ProjectsByJackHe/ray that referenced this pull request May 4, 2023
…ing` (ray-project#33775)

The Keras Callback was deprecated in Ray 2.3 in favor of ReportCheckpointCallback. This PR escalates the deprecation warning to a deprecation error.

---------

Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: Jack He <jackhe2345@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests-ok The tagger certifies test failures are unrelated and assumes personal liability.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants