Skip to content

[AIR] Allow None in set_preprocessor - #33088

Merged
Yard1 merged 3 commits into
ray-project:masterfrom
Yard1:allow_none_override_preprocessor
Mar 7, 2023
Merged

[AIR] Allow None in set_preprocessor#33088
Yard1 merged 3 commits into
ray-project:masterfrom
Yard1:allow_none_override_preprocessor

Conversation

@Yard1

@Yard1 Yard1 commented Mar 7, 2023

Copy link
Copy Markdown
Member

Why are these changes needed?

This PR allows users to remove a preprocessor from Checkpoint/BatchPredictor by letting set_preprocessor take in a None value (previously, this resulted in a noop).

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

Yard1 added 3 commits March 7, 2023 00:57
Signed-off-by: Antoni Baum <antoni.baum@protonmail.com>
Signed-off-by: Antoni Baum <antoni.baum@protonmail.com>
Signed-off-by: Antoni Baum <antoni.baum@protonmail.com>
@Yard1
Yard1 merged commit bf0d0d3 into ray-project:master Mar 7, 2023
@Yard1
Yard1 deleted the allow_none_override_preprocessor branch March 7, 2023 17:47
@Yard1
Yard1 restored the allow_none_override_preprocessor branch March 7, 2023 17:47
@Yard1
Yard1 deleted the allow_none_override_preprocessor branch March 7, 2023 17:47
@Yard1
Yard1 restored the allow_none_override_preprocessor branch March 7, 2023 17:47
ProjectsByJackHe pushed a commit to ProjectsByJackHe/ray that referenced this pull request Mar 21, 2023
* [AIR] Allow None in `Checkpoint.set_preprocessor`

This PR allows users to remove a preprocessor from Checkpoint/BatchPredictor by letting set_preprocessor take in a None value (previously, this resulted in a noop).

---------

Signed-off-by: Antoni Baum <antoni.baum@protonmail.com>
Signed-off-by: Jack He <jackhe2345@gmail.com>
edoakes pushed a commit to edoakes/ray that referenced this pull request Mar 22, 2023
* [AIR] Allow None in `Checkpoint.set_preprocessor`

This PR allows users to remove a preprocessor from Checkpoint/BatchPredictor by letting set_preprocessor take in a None value (previously, this resulted in a noop).

---------

Signed-off-by: Antoni Baum <antoni.baum@protonmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
peytondmurray pushed a commit to peytondmurray/ray that referenced this pull request Mar 22, 2023
* [AIR] Allow None in `Checkpoint.set_preprocessor`

This PR allows users to remove a preprocessor from Checkpoint/BatchPredictor by letting set_preprocessor take in a None value (previously, this resulted in a noop).

---------

Signed-off-by: Antoni Baum <antoni.baum@protonmail.com>
elliottower pushed a commit to elliottower/ray that referenced this pull request Apr 22, 2023
* [AIR] Allow None in `Checkpoint.set_preprocessor`

This PR allows users to remove a preprocessor from Checkpoint/BatchPredictor by letting set_preprocessor take in a None value (previously, this resulted in a noop).

---------

Signed-off-by: Antoni Baum <antoni.baum@protonmail.com>
Signed-off-by: elliottower <elliot@elliottower.com>
ProjectsByJackHe pushed a commit to ProjectsByJackHe/ray that referenced this pull request May 4, 2023
* [AIR] Allow None in `Checkpoint.set_preprocessor`

This PR allows users to remove a preprocessor from Checkpoint/BatchPredictor by letting set_preprocessor take in a None value (previously, this resulted in a noop).

---------

Signed-off-by: Antoni Baum <antoni.baum@protonmail.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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants