In Vertex AI Jupyter Notebook while trying to do online prediction on my Pytorch model deployed on Vertex endpoint for a Text classification use case , I am getting below error -
ServiceUnavailable: 503 502:Bad Gateway
I have found there seems to be a limit on the text character and it’s capped to 2500 characters. Please correct me if I am wrong in this. While I am getting output for Input length less than 2500 characters, but for any input more than that I am getting the above error. Please help.