Assigned
Status Update
Comments
pe...@richemont.com <pe...@richemont.com> #2
Hello,
I can confirm I am having the same issue.
In my case, I have tested deploying the component to an Endpoint. This works well and the parameters are received.
However, when passing the same parameters to the "model_parameters" argument of the batch_predict method no parameters (or "model_parameters") are recieved by the batch prediction job.
I haven't seen any documentation on this use case. Is this supported/is it a bug?
Many thanks,
I can confirm I am having the same issue.
In my case, I have tested deploying the component to an Endpoint. This works well and the parameters are received.
However, when passing the same parameters to the "model_parameters" argument of the batch_predict method no parameters (or "model_parameters") are recieved by the batch prediction job.
I haven't seen any documentation on this use case. Is this supported/is it a bug?
Many thanks,
nr...@google.com <nr...@google.com>
nr...@google.com <nr...@google.com> #3
Hello,
Thank you for reporting the issue.
This issue report has been forwarded to the Cloud Vertex AI batch Prediction Engineering team so that they may investigate it, but there is no ETA for a resolution today. Future updates regarding this issue will be provided here.
nr...@google.com <nr...@google.com>
nr...@google.com <nr...@google.com>
ba...@ask-ai.com <ba...@ask-ai.com> #4
Hi!
Any updates on this issue? We're experiencing the same problem.
Any updates on this issue? We're experiencing the same problem.
[Deleted User] <[Deleted User]> #5
Hi!
I have the same issue.
I have the same issue.
vh...@allyy.io <vh...@allyy.io> #6
Any updates? I have the same issue
be...@themavens.com <be...@themavens.com> #7
+1
hf...@google.com <hf...@google.com> #8
Hi! Any updates on this? Our customer has the same problem. Thanks.
Description
Problem you have encountered:
I'm trying to create a Vertex AI Batch Prediction Job using the Python SDK. I'm using a custom container with a Flask/gunicorn server that expects both link . I'm using the
instances
andparameters
fields in the prediction method logic based on the documentation in thisgoogle.cloud.aiplatform
Python SDK to create the Batch Prediction Job with a GCS JSONL file as input, and this populates theinstances
field in the prediction route of my flask app as expected. I was wondering how to populate theparameters
field. I tried to use themodel_parameters
parameter of thebatch_predict
method of thegoogle.cloud.aiplatform.models.Model
class, but this doesn't seem to work. Is this functionality supported or not for Batch Predictions?What you expected to happen:
Passing a dictionary to the
model_parameters
parameter of thegoogle.cloud.aiplatform.models.Model
.batch_predict
method should populate therequest_json.get("parameters")
in my custom container's Flask prediction route, but this returns None instead.request_json.get("instances")
returns my input file as expected.Steps to reproduce:
Code Excerpt:
Other information (workarounds you have tried, documentation consulted, etc):