Raise the (runtime_env max size) gRPC max message size to 500MiB

Signed-off-by: Eric Liang <ekhliang@gmail.com>
This commit is contained in:
Eric Liang 2022-08-02 12:41:34 -07:00 committed by GitHub
parent 61add8ede6
commit a1cb735035
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ FILE_SIZE_WARNING = 10 * 1024 * 1024 # 10MiB
# The size is bounded by the max gRPC message size.
# Keep in sync with max_grpc_message_size in ray_config_def.h.
GCS_STORAGE_MAX_SIZE = int(
os.environ.get("RAY_max_grpc_message_size", 250 * 1024 * 1024)
os.environ.get("RAY_max_grpc_message_size", 500 * 1024 * 1024)
)
RAY_PKG_PREFIX = "_ray_pkg_"

View file

@ -176,7 +176,7 @@ RAY_CONFIG(int64_t, max_direct_call_object_size, 100 * 1024)
// The max gRPC message size (the gRPC internal default is 4MB). We use a higher
// limit in Ray to avoid crashing with many small inlined task arguments.
// Keep in sync with GCS_STORAGE_MAX_SIZE in packaging.py.
RAY_CONFIG(int64_t, max_grpc_message_size, 250 * 1024 * 1024)
RAY_CONFIG(int64_t, max_grpc_message_size, 500 * 1024 * 1024)
// Retry timeout for trying to create a gRPC server. Only applies if the number
// of retries is non zero.