jolly-florist-66728
10/24/2024, 7:10 PMTooLarge: Event message exceeds maximum gRPC size limit, caused by [rpc error: code = ResourceExhausted desc = grpc: received message larger than max (6192640 vs. 4194304)]
# Answer
The error you're encountering is due to the gRPC message size limit being exceeded when Flyte's propeller sends an event to admin. This is a common issue when dealing with large inputs or outputs in Flyte workflows. According to this discussion, one approach to mitigate this issue is to offload large data and pass references (e.g., S3 URLs) instead of the data itself.
Would you like more details on how to implement data offloading or other strategies to handle large data in Flyte?
Sources:
- https://github.com/flyteorg/flyte/pull/5697
- https://github.com/flyteorg/flyte/issues/381
Slack Link
https://.slack.com/archives/CP2HDHKE1/p1729797000.374019 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.