Questions tagged [gcp-ai-platform-notebook]
AI Platform Notebooks is a GCP service that offers an integrated JupyterLab environment where you can create instances running JupyterLab. They come pre-installed with the latest data science and machine learning frameworks.
174
questions
0
votes
0
answers
19
views
How to create a new VertexAI Workbench Managed Notebook using gcloud
There is a gcloud command to create a user-managed notebook instance.
gcloud notebooks instances create
Is is possible to create a managed notebook with gcloud?
It looks to be possible in the API. I ...
2
votes
1
answer
76
views
How can I change the security setting and enable terminal for a Vertex AI managed notebook?
I created a notebook using Vertex AI without enabling terminal first, but I want to enable terminal now so that I can run a Python file from a terminal. Is there any way I can change the setting ...
3
votes
0
answers
299
views
Vertex AI Workbench notebooks unresponsive
Having various problems accessing with GCP Vertex AI Workbench managed notebooks. Could really use some suggestions about recovering, and avoiding further failure.
The original behavior (two days ago)...
0
votes
1
answer
52
views
Clone GCP Notebook in another Zone
I would like to clone a GCP Vertex AI notebook in a different availability zone. The zone the notebook was created in has not been available for several days! I can't find a way to do this from the ...
1
vote
0
answers
45
views
How to create segment to predict income or age using Machine Learning models
I am working on a project where I need to create segments using geography data like Geo key, Latitude, and Longitude. The segments should predict the average income per geo key.
The data I have has ...
1
vote
2
answers
139
views
Google Cloud setting up proxy to jupyter lab error
I want to launch Jupyter notebook (User managed notebook) in Google Cloud but it keeps saying that "Setting up proxy to JupyterLab". I waited almost an hour but nothing changed. What can be ...
3
votes
0
answers
72
views
524 Error and Jupyterlab api status - Unhealthy
How can we solve below error on GCP JupyterLab? tried already available solutions on stackoverflow + google cloud but none of them working. Please help.
[1]: https://i.stack.imgur.com/IfVWt.png
1
vote
0
answers
273
views
Vertex AI Workbench User-managed notebooks crashing with Huggingface Datasets
I am attempting to load a Huggingface dataset in a User-managed notebook in the Vertex AI workbench. I have tried memory-optimized machines such as m1-ultramem-160 and m1-megamem-96. I selected an ...
0
votes
1
answer
168
views
How can I renew the kube config file expiry date?
Today I faced an issue while running my jenkins job. I got this error:
Unable to connect to the server: error executing access token command
"/snap/google-cloud-sdk/234/bin/gcloud config config-...
2
votes
1
answer
250
views
Error while installing PyCaret in GCP's JupyterLab
I am trying to install PyCaret in GCP(Google Cloud Platform) JupyterLab. I am getting error while installing the PyCaret package.
I was using !pip install pycaret to install the package but I was ...
2
votes
1
answer
360
views
Unable to launch Jupyter notebook "Setting up proxy to JupyterLab"
I created a VM Instance (n1-standard-8) for a project. I was using AI Platform > Workbench (Jupyter Notebook). I was able to read the data from Cloud storage and process it. After 2 months, I tried ...
2
votes
2
answers
313
views
GCP - AI Platform notebook schedule
I am relatively new to GCP and am trying to schedule a notebook on GCP to run everyday. This notebook has dependencies in terms of libraries and other python modules/scripts. When I schedule this with ...
1
vote
0
answers
115
views
Misstated quota exceed errors on managed notebooks in GCP
I am migrating some of my notebooks from the soon to be deprecated AI-Platform to the new Vertex platform in GCP. In Vertex I am using the "Managed Notebooks", and all seemed to be working ...
0
votes
0
answers
426
views
GCP's Vertex AI - Restarting notebook <NAME>: <ZONE> does not have enough resources available to fulfill the request
I'm having issues starting / creating new user-managed notebooks in Vertex AI > Workbench, where I'll end up with this error and can't even open JupyterLabs:
[Vertex AI] - Restarting notebook NAME:...
0
votes
0
answers
270
views
The model resource: was not found. Please create the model resource first by using 'gcloud ai-platform models create
I have my AI Platform model inside of a google cloud function, yet when I call it, the error above appears. I've proceeded to follow the prompt "gcloud ai-platform models create" but I am ...
0
votes
1
answer
207
views
How to create a new Workbench Managed Notebook using REST API?
How can I create a new Managed Notebook programmatically?
I want to use Notebooks API REST but has not found an example.
Reference Link
1
vote
2
answers
604
views
Google Cloud Remote Jupyter Notebook- Kernel Not Connecting
When using a GCP AI Platform Jupyter Lab I am experiencing a unresponsive Jupyter Notebook.
The jupyter notebook is accessed over https (using the Open Jupyterlab button in GCP AI Platform).
The ...
2
votes
1
answer
209
views
Vertex AI - cannot create managed notebook instance
I'm following all the (easy) steps in the documentation, but I'm stuck at clicking the "CREATE" button. When I click it, the process runs for a few seconds, then the button re-appears, like ...
0
votes
1
answer
139
views
Browser memory consumption keeps increasing when open a GCP notebook
My browser memory consumption keeps increasing (then eventually dies) when I open a Google Cloud Platform notebook.
What can I do to fix it?
Thanks in advance
2
votes
0
answers
344
views
Install R libraries in GCP Jupyter Notebook
I'm using Jupyter Notebook in GCP, and I'm having issues installing several R libraries (rgdal, SF, move, mapview, and others).
I've tried many suggestions from other posts (changing the library path, ...
2
votes
1
answer
316
views
GCP Notebook AI -- SSH with write permissions?
I'm trying to set up remote access (with VSCode) to the GCP VM that's setup with Notebooks AI. However, when I ssh into the VM I don't have write permissions for /home/jupyter so cannot edit any of ...
4
votes
1
answer
166
views
Jupyterlab health check failing for AI Notebook
The JupyterLab health check is intermittently failing for my AI Notebook. I noticed that Jupyter service still works even when the health check fails, since my queries still get executed successfully, ...
0
votes
0
answers
46
views
Permission denied: '/usr/lib/python3.7/multiprocessing/semaphore_tracker.py'
Currently I am working on jupyterlab on google cloud platform AI platform. Details of the Instance is here instance details
When I run this :
fin = open("/usr/lib/python3.7/multiprocessing/...
1
vote
2
answers
532
views
What is the difference between boot disk and data disk in GCP (especially AI platform)
I am using the AI platform of GCP. I need to choose the size of a boot disk and a data disk during the creation of the VM instance please see this attached image.
I have 500GB of data to be analysed ...
1
vote
1
answer
340
views
How to run bash script on Google Cloud VM?
I found this auto shutdown script for VM instances on GCP and tried to add that into the VM's metadata.
Here's a link to that shutdown script.
The config sets it so that after 20 mins the idle VM will ...
1
vote
1
answer
168
views
Deep Learning VM: How to free RAM?
I'm brand new to GCP and Deep Learning VM. I got it to train some deep learning models. While training in the google cloud jupyter notebook it crashed as it could not copy input tensor from GPU to CPU:...
1
vote
0
answers
262
views
Accessing Google Cloud Storage from local Jupyter and Notebooks in Google AI Platform / Vertex AI
Problem statement: have Google Cloud Storage with some Buckets. Need to import data from such buckets into:
a local Jupyter instance running on my local computer
a Google Colab notebook
a JupyterLab ...
0
votes
1
answer
182
views
Run local python file using Gcloud terminal tool
I can connect to gcp using Gcloud terminal tool to run connect remote(gcp vm) jupyter lab on local pc to 8080 port.
gcloud compute ssh --project project-name --zone us-east1-b my-vm -- -L 8080:...
1
vote
1
answer
863
views
How to schedule stop vertex (ai-platform) notebook everyday in specific time?
I want to force stop vertex (ai-platform) notebook everyday in specific time?
can u tell what is the best practice for it?
is there a minimal solution for this
(maybe it can be attach into the init ...
0
votes
2
answers
454
views
GCP AI notebook instance permission
I have a GCP AI notebook instance. Anyone with admin access to notebook in my project can open notebook and read, modify or delete any folder/file which is created by me or any other user in my team. ...
3
votes
1
answer
271
views
what is the default password for the `jupyter` user on AI platform notebook VMs?
i just tried to install oh-my-zsh on my notebook instance. it asked for the jupyter user's password, but i have no idea.
i'm also tagging with gcp-ai-platform-notebook as the support page says to do. ...
1
vote
1
answer
242
views
Network user access issue while creating GCP AI Platform Notebook instance
I am trying to create a AI platform notebook instance in a project that has a shared VPC and subnets.
I am using a non default service account - gave it network user access. Also gave network user ...
7
votes
1
answer
1k
views
Unable to detect GPU via Tensorflow/Pytorch after restart DLVM
This issue happened when I restarted my cloud notebook server today.
Can be reproduced using the steps below:
Create a Google Cloud Notebook server with Tensorflow or Pytorch and GPU
After start the ...
0
votes
1
answer
60
views
Change trialId in Google AI Platform hyperparameter tuning
I'm trying to follow this tutorial on hyperparameter tuning on AI Platform: https://cloud.google.com/blog/products/gcp/hyperparameter-tuning-on-google-cloud-platform-is-now-faster-and-smarter.
My ...
1
vote
1
answer
1k
views
unable to create AI Platform Notebook
I tried to create a notebook instance in GCP AI platform , which is not getting created . I can see the error as-
"There are no available networks. Make sure there is atleast a network within ...
0
votes
1
answer
176
views
how to install python libraries upon creation of ai platform notebooks
I want to use "Select a script to run after creation" when I create a notebook instance in GCP.
Specifically, I want to use it to install python packages.
What kind of script (extension and ...
2
votes
1
answer
287
views
Google Cloud: can't disable notebooks.googleapis.com
I tried to disable notebooks.googleapis.com with the command line and the developer interface but it is failing.
From the command line when I try
gcloud services disable notebooks.googleapis.com --...
-1
votes
2
answers
298
views
Permissions GCS buckets
I have permissions to create folders and files in a specific bucket (i.e., I can create and move files around in the console). However, when I try to push files to the bucket from a VM located in ...
3
votes
1
answer
600
views
Access GCP Cloud SQL from AI notebook?
Looking for relevant python code to be used in the GCP AI Platform notebook which will be able to query GCP Cloud SQL (specifically Postgresql.) Unfortunately, I haven't found any relevat resources/...
0
votes
1
answer
1k
views
Access BigQuery data from Jupyter Notebook in AI Platform Google Cloud
I am trying to get access to the data stored in BigQuery from Jupyter Notebook in AI Platform on Google cloud platform.
First, I tried the following code:
from google.cloud import bigquery
from google....
0
votes
1
answer
213
views
how to install python packages upon creation of instance on GCP
I want to install several private python packages when I create an instance (AI platform).
I had the following startup script but it did not install what I needed (but also didnt show any errors):
...
2
votes
1
answer
132
views
how to log metrics using kubeflow on google ai platform notebooks
I am building ml models using google cloud platform's ai platform notebooks.
I know if I use ai platform jobs, it logs hyperparameters, metrics, etc with nice visualization but is there a way to ...
4
votes
2
answers
1k
views
How do I get root access to AI Platform notebook within GCP?
I am logged as user jupyter in the terminal in my GCP AI Platform notebook instance.
I want to just install a few things (cannot be installed by pip) and I am unable to ssh as root user using the ...
1
vote
1
answer
113
views
How to install kite in GCP AI Platform (Unified) Notebook?
When I create a Debian instance in GCP AI Platform (Unified) Notebook to work with Jupyter Lab, I can't install kite (coding assistant).
I follow the steps from Kite Jupyter Lab Extension and it lets ...
-3
votes
1
answer
41
views
Triggering a POST request from inside a docker container running on GCP AI Platform
I have deployed my model training inside a docker container which is executed as a job on the GCP AI platform. The python script performing the training occasionally triggers a post request to a ...
0
votes
2
answers
178
views
Quota increase is not reflected in the AI platform machines
My request for a quota increase for Nvidia A100 GPUs was approved. But for some stage reason, it is not reflected in the AI platform machines, while using notebooks.
In 1 we see that the quota ...
1
vote
1
answer
211
views
gcloud ai-platform prediction from standard JSON file ERROR: gcloud crashed (AttributeError): 'NoneType' object has no attribute 'framework'
I am trying to run an ML prediction request on a JSON file records.json.
!gcloud ai-platform predict --model housing_prices --json-instances records.json
I am getting the following error.
Using ...
1
vote
2
answers
1k
views
Memory error in Google Cloud Platform AI Jupyter notebook
I am trying to run a sentiment analysis on Google Cloud Platform (AI Platform). When I try to split the data into training, Its showing memory error like below error like below
MemoryError: Unable to ...
2
votes
1
answer
132
views
Deploying Jupyter notebooks as a component in AI Platform pipelines
I have a Jupyter Notebook containing the model creation, model deployment on the AI Platform, and creating versions. I am able to get the predictions for my model. Now I am trying to build a CI/CD ...
3
votes
3
answers
787
views
Not able to install Jupyterlab extensions on GCP AI Platform Notebooks
I have started to experience an issue with installing extensions for Jupyterlab that I have not experienced in the past. I am not able to build after installing new extensions for Jupyterlab.
I am ...