From 690d71d7e51050473281c7d7b61d7726d72dcbc1 Mon Sep 17 00:00:00 2001 From: Ian Date: Tue, 29 Jun 2021 06:20:08 +0000 Subject: [PATCH 1/2] try removing the disable client_mode for dumps_from_cluster --- python/ray/util/client/client_pickler.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/python/ray/util/client/client_pickler.py b/python/ray/util/client/client_pickler.py index 99ea214fe00a..ca8624b6c5bc 100644 --- a/python/ray/util/client/client_pickler.py +++ b/python/ray/util/client/client_pickler.py @@ -150,11 +150,10 @@ def persistent_load(self, pid): def dumps_from_client(obj: Any, client_id: str, protocol=None) -> bytes: - with disable_client_hook(): - with io.BytesIO() as file: - cp = ClientPickler(client_id, file, protocol=protocol) - cp.dump(obj) - return file.getvalue() + with io.BytesIO() as file: + cp = ClientPickler(client_id, file, protocol=protocol) + cp.dump(obj) + return file.getvalue() def loads_from_server(data: bytes, From 3aa99c327d8c89ded6432aea8917a0618ea4c9bc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 3 Jul 2021 07:05:50 +0000 Subject: [PATCH 2/2] [tune](deps): Bump pytorch-lightning in /python/requirements/tune Bumps [pytorch-lightning](https://github.com/PyTorchLightning/pytorch-lightning) from 1.0.3 to 1.3.8. - [Release notes](https://github.com/PyTorchLightning/pytorch-lightning/releases) - [Changelog](https://github.com/PyTorchLightning/pytorch-lightning/blob/master/CHANGELOG.md) - [Commits](https://github.com/PyTorchLightning/pytorch-lightning/compare/1.0.3...1.3.8) --- updated-dependencies: - dependency-name: pytorch-lightning dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- python/requirements/tune/requirements_tune.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/requirements/tune/requirements_tune.txt b/python/requirements/tune/requirements_tune.txt index af25bf2aefa6..53990ab8e6d4 100644 --- a/python/requirements/tune/requirements_tune.txt +++ b/python/requirements/tune/requirements_tune.txt @@ -27,7 +27,7 @@ nevergrad==0.4.3.post3 optuna==2.6.0 pytest-remotedata==0.3.2 pytorch-lightning-bolts==0.2.5 -pytorch-lightning==1.0.3 +pytorch-lightning==1.3.8 scikit-learn==0.24.2 scikit-optimize==0.8.1 sigopt==7.4.0