Skip to content

Commit

Permalink
Merge pull request #51 from STRIDES/GCP_edits_zy
Browse files Browse the repository at this point in the history
Updated vertexai.md doc to include GPU utilization and added GCP Gen …
  • Loading branch information
kyleoconnell-NIH authored Dec 5, 2023
2 parents 8a014fd + baa40dc commit 30c3d15
Show file tree
Hide file tree
Showing 9 changed files with 3,979 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/vertexai.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,20 @@ Google Cloud offers three flavors of Notebook instances: User-Managed, Google Ma
![2_select_notebook_name](/images/3_select_notebook_name.png)

5. On the _Environment_ tab, select `Debian 11` and select your desired Environment. Many of the tutorials specify a recommended environment. Don't worry about a startup script or metadata. Click **Continue**.
- The following environments are configured for **GPU use**.

![GPU environments](/images/GPU_environments.png)

6. Under _Machine type_ select your desired number of CPUs/GPUs. This is usually specified by the tutorial you are completing.
6. Under _Machine type_ select your desired number of CPUs/GPUs. This is usually specified by the tutorial you are completing.

- **Follow the steps below if you are utilizing GPUs:**
- Click on the GPU dropdown menu and select your GPU processor

![GPU processors](/images/GPU_processor.png)
- Then check mark where it says **'Install NVIDIA GPU driver automatically for me'** to have your notebook automatically install GPU drivers.
- Finally select the number of GPUs you wish to utilize. The number of GPUs varies from machine type and GPU processor selected.

![Number of GPUs](/images/GPU_numbers.png)

7. On the same page, click **Enable Idle Shutdown** and specify the idle minutes for shutdown. This means, if you close your browser and walk away without stopping your instance, it will shutdown automatically after this many minutes. We recommend 30 minutes.

Expand Down Expand Up @@ -69,3 +81,7 @@ Another thing worth noting is that when you run a cell, sometimes it doesn't pro

<img src="/images/3_busy_cell.png" width="550" height="550">


```python

```
Binary file added images/GCP_chatbot_results.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/GPU_environments.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/GPU_numbers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/GPU_processor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,590 changes: 2,590 additions & 0 deletions tutorials/notebooks/GenAI/GCP_GenAI_Huggingface.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 30c3d15

Please sign in to comment.