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
1
vote
0 answers
how to get model from KF Containerized Python Component into Vertex AI model registry properly
if custom model training happens in Containerized Python Component, producing model file and metrics, what is the proper way of uploading the model and its metrics into Vertex AI so that they are available via Vertex AI UI?
Google has changed almost…

Maxim Volgin
- 3,957
- 1
- 23
- 38
1
vote
0 answers
what replaces `aiplatform.CustomContainerTrainingJobRunOp` in `google-cloud-pipeline-components` V2?
Apparently this class I've been using heavily is removed in V2 and it is not exactly clear from the docs what it should be replaced with.
"Remove aiplatform.CustomContainerTrainingJobRunOp and aiplatform.CustomPythonPackageTrainingJobRunOp…

Maxim Volgin
- 3,957
- 1
- 23
- 38
1
vote
2 answers
can not delete folders from user managed notebooks in Vertex AI, shows Delete Failed, Directory /home/jupyter not empty
In Vertex AI workbench, User managed notebooks. I am unable to delete a folder that are not empty even if it contains an empty folder inside. A pop up will appear showing Delete Failed and directory /home/jupyter/... is not empty

boeing777
- 33
- 5
1
vote
1 answer
Cannot install apache-beam==2.35.0, apache-beam[gcp]==2.35.0 apache-beam[gcp]==2.47.0 and apache-beam[gcp]==2.48.0 versions have conflict dependencis
I have a kfp component that installs apache-beam==2.35.0. I run it in Vertex AI on GCP pipelines.
Component header:
@component(
base_image="dockerhub/python:3.7.12",
packages_to_install=["tensorflow-data-validation==1.6.0",…

Maha Amin
- 13
- 4
1
vote
1 answer
Does Vertex AI Training for Distributed Training Across Multi-Nodes Work With HuggingFace Trainer + Deepspeed?
I am wondering if Vertex AI Training can be used for distributed training using Huggingface Trainer and deepspeed? All I have seen are examples with the native torch distribution strategy.
It would be very helpful if someone can tell me
If…

esdy
- 11
- 2
1
vote
1 answer
Google Vertex AI Prediction API Authentication
I have written a Django-Web app that takes in user input from a ModelForm as a Python Dict, then passes into Django backend to make prediction with Google Vertex AI Prediction API, then return the prediction to the web frontend for user.
I have…

jaspercoleman
- 86
- 6
1
vote
1 answer
Google Cloud Vertex AI API not recognising PaLM model
I am currently trying to implement Google's PaLM API into python using the vertexai module. However I run into an error where my code does not recognise the model name (model is called 'chat-bison@001').
The code snippet of what I have tried doing…

Yuvan Sivakumar
- 11
- 2
1
vote
1 answer
Vertex AI endpoint 500 Internal Server Error
I tried to deploy a custom container to Vertex AI endpoint using LLM model (PaLM), the container is successfully deployed to the endpoint with the following code and dockerfile. But when I tried to query it with Vertex AI API or gcloud cli, I get a…

user1758952
- 477
- 1
- 7
- 13
1
vote
0 answers
unable to open interactive shell for vertex ai custom training job
It happens on custom training job with tpu_v2 in us-central1. I followed "launch web terminal" link under training debugging in custom training job UI, but got the following message.
I should have the necessary permissions as I started the custom…

bill
- 650
- 8
- 17
1
vote
1 answer
Is there a way to check the cost of individual managed notebook instances in GCP?
We have decided to use higher-spec managed notebooks in our company and would like to set up cost alerts to manage our charges.
We attempted to perform a cost analysis by assigning labels, but we were unable to find a way to label the managed…

miu miu
- 13
- 2
1
vote
0 answers
Issues with vertex ai endpoint
Im having some issues accessing vertex ai endpoints for predictions.
iv created multiple serivces accounts with every role i can think off, but i keep getting the following error:
PermissionDenied: 403 Permission denied on resource project…

Javelin Tech Admin
- 11
- 1
1
vote
1 answer
Document AI - Converting the normalized_vertices to the orginal scale of the document
I am using Google Cloud - Document AI service. I have custom built some processors for "form data extraction" using the "Custom Entity Extractor" which processes PDF documents.
I annotated the dataset and I completed training my model.
Now i am able…

Rajiv2806
- 88
- 4
1
vote
1 answer
Notebooks in Vertex AI
I was learning about vertex AI notebook creation. I found the below screenshot which shows a number of options.
However, I only see Python 3, PyTorch 1.12, and TensorFlow Enterprise as options in my GCP environment. Why can't I see the alternative…

PriyaK
- 83
- 4
1
vote
1 answer
GCP Managed Notebook undefined symbol: 'cublasLtGetStatusString' Error
Restarting or deleting a new notebook and starting over still gets the same error. The attached GPU is a T4 or V100. Both don't work. How can I resolve this error?
OSError:…

Alan Karanja
- 51
- 1
- 3
1
vote
0 answers
GCP: gcoud ai-platform jobs list --project my-project-id fails to list projects, when Vertex AI UI shows models are training
Google Vertex AI job appears to be running in UI, after starting job from UI, but "gcloud ai-platform jobs list --project my-project-id" command shows "Listed 0 items."
Steps I followed:
Upload my dataset from .csv file.
I select the "train new…

Paul Fentress
- 51
- 3