- [Filter and Reserve a GPU Node](#filter-and-reserve-a-gpu-node)
- [Filter Nodes](#filter-nodes)
- [Reserve a Node](#reserve-a-node)
- [Deploy a VM with GPU](#deploy-a-vm-with-gpu)
- [Install the GPU Driver](#install-the-gpu-driver)
- [AMD Driver](#amd-driver)
- [Nvidia Driver](#nvidia-driver)
- [With an AI Model](#with-an-ai-model)
- [Troubleshooting](#troubleshooting)
- [GPU Support Links](#gpu-support-links)
***
## Introduction
This section covers the essential information to deploy a node with a GPU. We also provide links to other parts of the manual covering GPU support.
To use a GPU on the TFGrid, users need to rent a dedicated node. Once they have rented a dedicated node equipped with a GPU, users can deploy workloads on their dedicated GPU node.
* A new window will appear below named **GPU'S VENDOR NAME**
* Write the name of the vendor desired (e.g. **nvidia**, **amd**)
![image](./img/gpu_8.png)
* Filter nodes using the device name
* In **Filters**, select **GPU's device name**
* A new window will appear below named **GPU'S DEVICE NAME**
* Write the name of the device desired (e.g. **GT218**)
![image](./img/gpu_9.png)
### Reserve a Node
When you have decided which node to reserve, click on **Reserve** under the column **Actions**. Once you've rented a dedicated node that has a GPU, you can deploy GPU workloads.
Now that you've reserverd a dedicated GPU node, it's time to deploy a VM to make use of the GPU! There are many ways to proceed. You can use the [Dashboard](fullvm.md), [Go](developers@@grid3_go_gpu), [Terraform](terraform_gpu_support.md), etc.
- To verify that the GPU is properly installed, use the following command lines:
```bash
rocm-smi
rocminfo
```
- You should something like this:
![image](./img/gpu_4.png)
![image](./img/gpu_5.png)
### Nvidia Driver
For Nvidia, you can follow [those steps](https://linuxize.com/post/how-to-nvidia-drivers-on-ubuntu-20-04/#installing-the-nvidia-drivers-using-the-command-line).
- To verify that the GPU is properly installed, you can use `nvidia-smi`. You should something like this:
![image](./img/gpu_6.png)
### With an AI Model
You can also try this [AI model](https://github.com/invoke-ai/InvokeAI#getting-started-with-invokeai) to install your driver.
## Troubleshooting
Here are some useful links to troubleshoot your GPU installation.
- [Steps to install the driver](https://amdgpu-install.readthedocs.io/en/latest/index.html)