Hi all,
I am currently struggling to deploy my endpoint. I always get the following error:
{
"error": {
"code": 400,
"message": "Endpoint projects/helical-history-370511/locations/europe-west1/endpoints/6313430951061880832 doesn't have traffic_split.",
"status": "FAILED_PRECONDITION"
}
}
When trying to set the traffic split it seems to me that the deployed model is not matched in the command below:
Solved! Go to Solution.
@christianpaulaCan you please help on the below error
ERROR: (gcloud.ai.endpoints.deploy-model) argument --traffic-split: Invalid value [100]]
Command used
gcloud ai endpoints deploy-model XX --project=XX --region=asia-northeast1 --model=XX --accelerator=type=nvidia-tesla-t4,count=1 --machine-type="n1-highmem-2" --display-name=fine-tuned-flan5 --deployed-model-id=fine-tuned-flan5 --traffic-split=['fine-tuned-flan5'=100]
Hi @fschestag,
Welcome to Google Cloud Community!
@christianpaulaCan you please help on the below error
ERROR: (gcloud.ai.endpoints.deploy-model) argument --traffic-split: Invalid value [100]]
Command used
gcloud ai endpoints deploy-model XX --project=XX --region=asia-northeast1 --model=XX --accelerator=type=nvidia-tesla-t4,count=1 --machine-type="n1-highmem-2" --display-name=fine-tuned-flan5 --deployed-model-id=fine-tuned-flan5 --traffic-split=['fine-tuned-flan5'=100]