Use vendored cloudpickle (#14576)

This commit is contained in:
Eric Liang 2021-03-09 22:08:45 -08:00 committed by GitHub
parent dfcb9c356e
commit dcb22af50d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View file

@ -21,7 +21,6 @@ ClientPickler dumps things from the client into the appropriate stubs
ServerUnpickler loads stubs from the server into their client counterparts.
"""
import cloudpickle
import io
import sys
@ -30,6 +29,7 @@ from typing import Any
from typing import Dict
from typing import Optional
import ray.cloudpickle as cloudpickle
from ray.util.client import RayAPIStub
from ray.util.client.common import ClientObjectRef
from ray.util.client.common import ClientActorHandle

View file

@ -11,7 +11,6 @@ ServerPickler dumps ray objects from the server into the appropriate stubs.
ClientUnpickler loads stubs from the client and finds their associated handle
in the server instance.
"""
import cloudpickle
import io
import sys
import ray
@ -20,6 +19,7 @@ from typing import Any
from typing import TYPE_CHECKING
from ray._private.client_mode_hook import disable_client_hook
import ray.cloudpickle as cloudpickle
from ray.util.client.client_pickler import PickleStub
from ray.util.client.server.server_stubs import ClientReferenceActor
from ray.util.client.server.server_stubs import ClientReferenceFunction

View file

@ -129,7 +129,6 @@ install_requires = [
"aiohttp_cors",
"aioredis",
"click >= 7.0",
"cloudpickle",
"colorama",
"colorful",
"filelock",