You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/dev-box/how-to-configure-dev-box-serverless-gpu.md
+30-18Lines changed: 30 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ author: RoseHJM
8
8
ms.author: rosemalcolm
9
9
ai-usage: ai-generated
10
10
11
-
#customer intent: As a business decision-maker, I want to evaluate serverless GPU compute in Dev Box so that I can determine its value for my team’s workflows.
11
+
#customer intent: As a business decision-maker, I want to evaluate serverless GPU compute in Dev Box so that I can determine its value for my team's workflows.
12
12
---
13
13
14
14
# Use Serverless GPU compute in Microsoft Dev Box
@@ -26,15 +26,6 @@ Serverless GPU compute in Microsoft Dev Box provides on-demand access to GPU res
26
26
27
27
This capability integrates Microsoft Dev Box with Azure Container Apps to deliver GPU power without requiring developers to manage infrastructure.
28
28
29
-
## When to use serverless GPU compute
30
-
31
-
Consider using serverless GPU compute in Dev Box for scenarios like:
32
-
33
-
-**AI model development**: Train, fine-tune, and run inference with machine learning models
34
-
-**Data processing**: Accelerate processing and transformation of large datasets
35
-
-**High-performance computing (HPC)**: Run simulations, scientific computations, and other resource-intensive tasks
36
-
-**Cloud-native development**: Scale GPU resources for containerized workflows in AI and beyond
37
-
-**CLI-based workflows**: Leverage GPUs for any command-line task that benefits from intensive compute
38
29
39
30
## Key benefits
40
31
@@ -79,7 +70,7 @@ GPU resources are available in these Azure regions:
79
70
80
71
Additional regions may be supported in the future based on demand.
81
72
82
-
## Administration and management
73
+
## Configure Serverless GPU
83
74
84
75
Admins control serverless GPU access at the project level through Dev Center. Key management capabilities include:
85
76
@@ -88,24 +79,45 @@ Admins control serverless GPU access at the project level through Dev Center. Ke
88
79
89
80
Access to serverless GPU resources is managed through project-level properties. When the serverless GPU feature is enabled for a project, all Dev Boxes within that project automatically gain access to GPU compute. This simplifies the access model by removing the need for custom roles or pool-based configurations.
90
81
91
-
## Configure Serverless GPU
92
-
93
-
To configure
94
-
95
82
### Register for the subscription
96
83
97
84
1. Sign in to the [Azure portal](https://portal.azure.com).
98
85
1. Navigate to your subscription.
99
86
1. Select **Settings** > **Preview features**.
100
87
1. Select **Dev Box Serverless GPU Preview**, and then select **Register**.
88
+
:::image type="content" source="media/how-to-configure-dev-box-serverless-gpu/serverless-gpu-register-subscription.png" alt-text="Screenshot of the Azure subscription page, showing the Dev Box Serverless GPU Preview feature. ":::
101
89
102
-
### Enable GPU for a project
90
+
### Enable serverless GPU for a project
103
91
104
92
1. Go to your project.
105
93
1. Select **Settings** > **Dev box settings**.
106
94
1. Under **AI workloads**, select **Enable**, and then select **Apply**.
107
-
108
-
95
+
:::image type="content" source="media/how-to-configure-dev-box-serverless-gpu/serverless-gpu-project-settings.png" alt-text="Screenshot of the dev box settings page, showing the Serverless GPU option Enabled.":::
96
+
97
+
## Connect to a GPU
98
+
Once enabled, Dev Box users in that project will automatically see GPU options in their terminal and VS Code environments.
99
+
100
+
You can connect using two methods:
101
+
102
+
### Method 1: Launch a Dev Box GPU shell
103
+
1. Open the Windows Terminal on your dev box
104
+
1. Run the following command:
105
+
```
106
+
devbox gpu shell
107
+
```
108
+
1. This command connects you to a pre-configured GPU container.
109
+
110
+
### Method 2: Use VS Code with remote tunnels
111
+
1. Open the Windows Terminal on your dev box
112
+
1. Run the following command:
113
+
```
114
+
devbox gpu shell
115
+
```
116
+
1. Launch Visual Studio Code
117
+
1. Install the Remote Tunnels extension
118
+
1. Connect to the **gpu-session** tunnel.
119
+
1.
120
+
For more information on using VS Code with remote tunnels, see [Set up Dev tunnels in VS Code](how-to-set-up-dev-tunnels.md).
0 commit comments