We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b14511 commit e2bcdd1Copy full SHA for e2bcdd1
pkg/cortex/serve/cortex_internal/lib/model/tfs.py
@@ -113,7 +113,13 @@ def __init__(self, address: str):
113
{}
114
) # maps the model ID to the model metadata (signature def, signature key and so on)
115
116
- self.channel = grpc.insecure_channel(self.address)
+ # remove limit for maximum/receive transmission sizes
117
+ options = [
118
+ ("grpc.max_send_message_length", -1),
119
+ ("grpc.max_receive_message_length", -1),
120
+ ]
121
+ self.channel = grpc.insecure_channel(self.address, options=options)
122
+
123
self._service = model_service_pb2_grpc.ModelServiceStub(self.channel)
124
self._pred = prediction_service_pb2_grpc.PredictionServiceStub(self.channel)
125
0 commit comments