> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Devin GPU support

> Run Devin on VMs with a dedicated NVIDIA T4 GPU on Ubuntu or Windows, and set up the NVIDIA driver.

Use a dedicated GPU in Devin to render 3D scenes, test game graphics, or develop CUDA applications. Each GPU session gets an NVIDIA T4 with 16 GB of GPU memory. Adding a GPU doesn't change the default for other sessions.

Dedicated GPUs are available on eligible paid plans for hosted Ubuntu and Windows sessions. To run Devin on GPU hardware you manage, see [Devin Outposts](https://docs.devin.ai/cloud/outposts/overview).

> [!NOTE]
>
> If you're on a Dedicated SaaS deployment, contact your account team about GPU availability.

## Start a session with a GPU

1. In the new-session composer, open the machine picker and choose **Ubuntu** or **Windows**.
2. In that machine's options, turn on **NVIDIA T4**.
3. Send your prompt to start the session.

If you don't see the machine picker, open **Configuration**, select **Ubuntu** or **Windows** under **Machine**, then choose **Dedicated GPU → NVIDIA T4**.

## Add a GPU to a running session

If Devin finds it needs a GPU, it can ask to attach one. Approving the request restarts the session's machine with a GPU. Files are preserved, but running processes stop and need to be restarted.

## Install the NVIDIA driver

Attaching a GPU doesn't install the driver. For a one-off session, ask Devin to install the NVIDIA driver in that session. For future sessions, ask Devin to add the [NVIDIA driver action](https://github.com/CognitionAI/actions/tree/main/setup-nvidia-driver) to your [environment blueprint](https://docs.devin.ai/onboard-devin/environment/blueprints.md), or add it yourself under `initialize`:

```yaml theme={null}
initialize:
  - uses: github.com/CognitionAI/actions/setup-nvidia-driver@main
```

On Ubuntu, the action installs the `nvidia-driver-580-server` and `nvidia-utils-580-server` packages from APT. On Windows, it installs the NVIDIA GRID driver. See the action's [supported versions](https://github.com/CognitionAI/actions/tree/main/setup-nvidia-driver#supported-versions) for the current defaults.

`@main` follows the action's default branch. To keep builds on a reviewed revision, replace `main` with its full commit SHA.

Add the step to each Ubuntu or Windows blueprint block that needs it. Once the driver is installed, ask Devin to run `nvidia-smi` in the GPU session. It should list the NVIDIA T4 before you start GPU work.

## Enterprise permissions

If GPUs are available in your enterprise, enterprise owners and organization admins can use them without an additional grant. To give other users access, enable **Use GPU sessions** on their role in [Enterprise Settings → Membership → Roles](https://docs.devin.ai/enterprise/security-access/custom-roles.md#creating-and-assigning-custom-roles).

### GPU access for Bots

A [Devin Bot](https://docs.devin.ai/work-with-devin/bots) that runs as itself needs **Use GPU sessions** on its own organization role. Granting it to the person who asks the Bot to start a session isn't enough. If the Bot runs as its owner, the owner's role needs the permission instead.

To enable GPU access for a Bot that runs as itself:

1. In [Enterprise Settings → Membership → Roles](https://docs.devin.ai/enterprise/security-access/custom-roles.md#creating-and-assigning-custom-roles), open the Bot's organization role. This is usually **Default Bot Role**, but older Bots may use a different role. If you're not sure which role the Bot uses, contact your account team.
2. Under **GPU permissions**, enable **Use GPU sessions** and save. This applies to all Bots assigned to that role.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.