AttributeError: 'ray._raylet.Config' object has no attribute 'max_grpc_message_size'

running python3 -c "import ray" outputs this:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File ".../ray/python/ray/", line 93, in <module>
    import ray.internal  # noqa: E402
  File ".../ray/python/ray/internal/", line 1, in <module>
    from ray.internal.internal_api import free
  File ".../ray/python/ray/internal/", line 6, in <module>
    MAX_MESSAGE_LENGTH = ray._config.max_grpc_message_size()
AttributeError: 'ray._raylet.Config' object has no attribute 'max_grpc_message_size'

I haven’t seen this before so I bisected (but I suck at git bisect) and ended up at 2a9079aef99fcefe8eeddadd98da583970d39fa1. Looking at that patch, that looks like it could have caused this issue (I’m not sure—maybe it was meant to fix this issue?)

is there a known fix? This is probably going in PR #12659

whoops—I need sleep :slight_smile:

just rebuild—pip install -e . is only editable for python source files (I think?)