Usage questions relating to Google Cloud Platform's Vertex AI: https://cloud.google.com/vertex-ai/docs
Questions tagged [google-cloud-vertex-ai]
692 questions
2
votes
1 answer
why is kubeflow on vertex ai pipelines not storing metadata for dataset artifact
I am trying to pass metadata between python function components by attaching it an output artifact in a vertex ai kubeflow pipeline, from the documentation this seems straightforwards, but try as I might I can't get it to work. I am trying to attach…

Gavin
- 71
- 1
- 5
2
votes
0 answers
Vertex AI "annotation label deduped error"
I have uploaded a csv for image classification. I have checked the csv for any errors or duplicate values. But when I import the csv, i get the error that annotation is deduped and only a few images out of all the images are getting imported.
i…

Nitya Rakhe
- 41
- 2
2
votes
0 answers
How to create an endpoint using the model trained by Vertex AI?
I trained a model using Google Cloud Vertex AI. I have a dataset containing different videos and model does the video classification of these videos. In the Google Cloud Platform, I can find accuracy of the given videos after model has been trained.…

Batuhan Çağan
- 21
- 1
2
votes
1 answer
Vertex AI feature store vs BigQuery
I was trying to figure out key differences between using GCP Vertex AI feature store and Saving preprocessed features to BigQuery and loading whenever it gets necessary.
I still cannot understand why to choose the first option, rather than the…

Applicable Math
- 171
- 7
2
votes
1 answer
What is the proper way to remove duplicate kernels in Vertex AI User Managed notebook instance?
TL;DR
How do you stop the nb_conda_kernels automatic kernel detection in a Vertex AI User Managed Notebook instance?
Details
I am building Vertex AI User Managed Notebook instances from a Docker image. It all works great, except that the default…

user6135514
- 135
- 9
2
votes
1 answer
Call AutoML prediction model from Dataflow SQL
Is there a way to call a AutoML prediction model from within Dataflow SQL?

Jonas
- 119
- 9
2
votes
0 answers
GCP Vertex.ai custom container endpoint hosting giving format error
After spending multiple hours, I created this sample model endpoint code I want to host on vertex.ai, these are the three files I have
1. Dockerfile
FROM python:3.7
USER root
ADD . /home/model-server/
WORKDIR /home/model-server/
RUN pip3 install…

Vineet
- 1,492
- 4
- 17
- 31
2
votes
1 answer
Which command can I use to delete a Vertex AI pipeline?
I have loads of Vertex AI pipeline runs. The GUI only lets me delete them one at a time. Is there a CLI command that lets me delete them in batch (ideally keeping the most recent)?

schoon
- 2,858
- 3
- 46
- 78
2
votes
1 answer
Vertex AI size limit when predicting on custom model
I made a picture classification model, trained it and deployed it using vertex AI and linked it to an endpoint. I manage to make prediction using this code :
from typing import Dict, List, Union
from google.cloud import aiplatform
from…

Hadrien Berthier
- 305
- 1
- 3
- 17
2
votes
1 answer
How to use a Vertex AI Managed Dataset for hyperparameter tuning op
I'm trying to create a Vertex AI Pipeline to perform a hyperparameter tuning job that reads the data from a Vertex AI Dataset to have the metadata functionality track the relationship between dataset, model and endpoint (once I deploy the best…

Daruri
- 86
- 4
2
votes
1 answer
Does Vertex Model Registry cost anything to use?
I can't tell if I will be charged to use Model Registry on Vertex AI. Will it cost anything?

Katie O'Leary
- 51
- 2
2
votes
2 answers
Create custom kernel via post-startup script in Vertex AI User Managed notebook
I am trying to use a post-startup script to create a Vertex AI User Managed Notebook whose Jupyter Lab has a dedicated virtual environment and corresponding computing kernel when first launched. I have had success creating the instance and then, as…

user6135514
- 135
- 9
2
votes
1 answer
Why do I get AttributeError: module 'google_cloud_pipeline_components.aiplatform' has no attribute 'EndpointDeleteOp' in GCP?
My code is:
from google.cloud import aiplatform
from google_cloud_pipeline_components import aiplatform as gcc_aip
... (in a pipeline definition:)
delete_endpoint_op = gcc_aip.EndpointDeleteOp(some_condition)
and when I compile the pipeline I…

schoon
- 2,858
- 3
- 46
- 78
2
votes
0 answers
How to Access Managed Dataset in Vertex AI using Custom Container
In the google cloud documentation below:
https://cloud.google.com/vertex-ai/docs/training/using-managed-datasets#access_a_dataset_from_your_training_application
It says that the following environment variables are sent to the training…

termlim
- 865
- 1
- 6
- 13
2
votes
0 answers
HuggingFace Trainer() does nothing - only on Vertex AI workbench, works on colab
I am having issues getting the Trainer() function in huggingface to actually do anything on Vertex AI workbench notebooks.
I'm totally stumped and have no idea how to even begin to try debug this.
I made this small notebook:…

andrewm4894
- 1,451
- 4
- 17
- 37