Questions tagged [google-cloud-vertex-ai]

Usage questions relating to Google Cloud Platform's Vertex AI: https://cloud.google.com/vertex-ai/docs

692 questions
1
vote
2 answers

gRPC Unimplemented thrown when creating a custom job in Vertex AI using JobServiceClient

I'm trying to implement code to start a custom job in Vertex. I have no problem starting a custom job using gcloud: gcloud ai custom-jobs --project my_project_id create --region=europe-west1 --display-name="train model based on custom container"…
OnionJack
  • 130
  • 2
  • 10
1
vote
1 answer

Is it possible to deploy PaLM on my own cloud environment?

Is it possible to deploy PaLM entirely on my own (GCP) cloud environment (hence ensuring no sensitive data leaves my environment) ? If not, is such deployment pattern on the roadmap ?
py-r
  • 419
  • 5
  • 15
1
vote
0 answers

How to implement custom evaluation jobs (with custom metrics for custom learning tasks) in Vertex AI

From what I can see in GCP's official docs: https://cloud.google.com/vertex-ai/docs/evaluation/introduction Evaluation job comes with predefined metrics for predefined tasks. If I have a training task that's slightly more bespoke with metrics/…
1
vote
2 answers

GCP generativelanguage.googleapis.com not able to enable

I am trying to use this api to call the text-bison model. I get the error below. And when I go to api console, I do not see any option to enable it. google.api_core.exceptions.PermissionDenied: 403 Generative Language API has not been used in…
Rajib Deb
  • 1,496
  • 11
  • 30
1
vote
1 answer

Scheduling Vertex AI Pipeline - Error 503

I successfully trained and deployed a pipeline in Vertex AI using Kubeflow for a retrieval model. Now I want to schedule this pipeline run every 8 minutes. Here's my code: from kfp.v2.google.client import AIPlatformClient api_client =…
1
vote
2 answers

Vertex AI - RuntimeError: Job failed with: code: 13 message: "Internal error encountered. Please try again"

I am trying to run a Vertex AI Pipeline. The pipeline is successfully created PipelineJob created. Resource name: XXX then i am getting a PipelineState.PIPELINE_STATE_PENDING multiples times until it crashes with this error : Traceback (most recent…
L.GAYET
  • 86
  • 6
1
vote
1 answer

Vertex AI pipeline run fails after passing the dsl.Condition==True

I have been working with Vertex AI pipelines for 3 months. I started with migrating projects from old dedicated Kubernetes infrastructure to Vertex AI Python component based pipelines. I created a template pipelines which were running fine until…
1
vote
1 answer

502/Timeout in vertex AI custom fastapi/uvicorn prediction container

I am receiving a 'Error: 14 UNAVAILABLE: 502:Bad Gateway' timeout when calling my custom container from both the node and python client for predictions in vertex AI. The vertex prediction endpoint does work for short predictions. The prediction also…
flip
  • 11
  • 1
1
vote
1 answer

TorchServe is best practice for Vertex AI or overhead?

Currently, I am working with a PyTorch model locally using the following code: from transformers import pipeline classify_model = pipeline("zero-shot-classification", model='models/zero_shot_4.7.0', device=device) result = classify_model(text,…
1
vote
1 answer

How to fix TypeError: to_dict() missing 1 required positional argument: 'self' on a dsl.component

I am creating a pipeline on a VertexAI Workbench using Kubeflow Lightweight components. I start with a component to extract data from BigQuery and process it (and returning a dataframe). This dataframe will then be fed to another…
1
vote
0 answers

GCP | VertexAI | JupyterLab Kernel - Connecting State

I am running a user-managed JupyterLab notebook in the Google Cloud Platform environment. Initially, I could successfully execute the code with the expected outputs, without any hassles. However, recently I started facing Kernel issues. It is in a…
1
vote
0 answers

Scheduled Vertex AI Output to Big Query

I can run code manually in vertex to push code to BQ, but when I schedule the code the output table is not pushed to BQ. No errors are listed, but neither does it record the code as having been run (although I can see it is scheduled). import…
1
vote
0 answers

How to pass list argument to vertex AI with gcloud cli for custom training job

How can I pass the list argument to vertex AI with gcloud cli when creating custom training? I am using gcloud ai custom-jobs create command to create custom training job. When using gcloud CLI of AI platform, it was simply like the below and didn't…
Jiho Choi
  • 1,083
  • 1
  • 10
  • 26
1
vote
1 answer

Vertex-AI is not properly importing my CSV of pre-labelled text data for custom sentiment analysis

I tried importing a text file (delimited by commas) into the import wizard of Vertex-AI, but the file was uploaded to the Cloud as a single string (i.e., Vertex did not recognize the columns or rows). My file has the following columns, and is…
1
vote
0 answers

how to config jupyter notebooks from Vertex AI workbench so that it can access google cloud storage buckets and github?

I would like to access google cloud storage buckets and github repo from Vertex AI workbench JupyterLab (which is a user-managaed notebook) on google cloud. I build the notebook with a customized image that install some python packages. But, I found…