Skip to content

Commit 26a64f6

Browse files
authored
Merge pull request #201136 from EMaher/enewman/updatesForNicole
GPU, Adobe CC, Canvas, and nested virtualization update
2 parents 22dfeda + 7c655b3 commit 26a64f6

17 files changed

+245
-46
lines changed

articles/lab-services/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@
269269
href: how-to-add-user-lab-owner.md
270270
- name: Manage labs in a lab account
271271
href: manage-labs-1.md
272+
- name: Set up GPU VMs when using lab accounts
273+
href: how-to-setup-lab-gpu-1.md
272274
- name: Az.LabServices PowerShell module for lab accounts
273275
href: reference-powershell-module.md
274276
- name: Reference

articles/lab-services/class-type-adobe-creative-cloud.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ The size of VM that you need to use for your lab depends on the types of project
4747
> [!WARNING]
4848
> The **Small GPU (Visualization)** virtual machine size is configured to enable a high-performing graphics experience and meets [Adobe’s system requirements for each application](https://helpx.adobe.com/creative-cloud/system-requirements.html). Make sure to choose Small GPU (Visualization) not Small GPU (Compute). For more information about this virtual machine size, see the article on [how to set up a lab with GPUs](./how-to-setup-lab-gpu.md).
4949
50+
#### GPU drivers
51+
52+
When you create the lab, we recommend that you install the GPU drivers by selecting the **Install GPU drivers** option in the lab creation wizard. You should also validate that the GPU drivers are correctly installed. For more information, read the following sections:
53+
- [Ensure that the appropriate GPU drivers are installed](../lab-services/how-to-setup-lab-gpu.md#ensure-that-the-appropriate-gpu-drivers-are-installed)
54+
- [Validate the installed drivers](../lab-services/how-to-setup-lab-gpu.md#validate-the-installed-drivers)
55+
5056
## Template machine configuration
5157

5258
### Creative Cloud deployment package
@@ -90,6 +96,16 @@ Consider saving your template VM for future use. To save the template VM, see [
9096
- When self-service is *enabled*, the template VM’s image will have Creative Cloud desktop installed. Teachers can then reuse this image to create labs and to choose which Creative Cloud apps to install. This helps reduce IT overhead since teachers can independently set up labs and have full control over installing the Creative Cloud apps required for their classes.
9197
- When self-service is *disabled*, the template VM’s image will already have the specified Creative Cloud apps installed. Teachers can reuse this image to create labs; however, they won’t be able to install additional Creative Cloud apps.
9298

99+
### Troubleshooting
100+
101+
Adobe Creative Cloud may show an error saying *Your graphics processor is incompatible* when the GPU drivers or the GPU is not configured correctly.
102+
103+
:::image type="content" source="./media/class-type-adobe-creative-cloud/gpu-driver-error.png" alt-text="Screenshot of Adobe Creative Cloud showing an error message that the graphics processor is incompatible.":::
104+
105+
To fix this issue:
106+
- Ensure that you selected the Small GPU *(Visualization)* size when you created your lab. You can see the VM size used by the lab on the lab's [Template page](../lab-services/how-to-create-manage-template.md).
107+
- Try [manually installing the Small GPU Visualization drivers](../lab-services/how-to-setup-lab-gpu.md#install-the-small-gpu-visualization-drivers).
108+
93109
## Cost
94110

95111
In this section, we’ll look at a possible cost estimate for this class. We’ll use a class of 25 students with 20 hours of scheduled class time. Also, each student gets 10 hours quota for homework or assignments outside scheduled class time. The virtual machine size we chose was **Small GPU (Visualization)**, which is 160 lab units.

articles/lab-services/how-to-enable-nested-virtualization-template-vm.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,14 @@ To use the automated setup for nested virtualization with Windows Server 2016 or
5757
### Using Windows tools to enable nested virtualization
5858

5959
To configure nested virtualization for Windows Server 2016 or 2019 manually, see [Enable nested virtualization on a template virtual machine in Azure Lab Services manually](how-to-enable-nested-virtualization-template-vm-ui.md). Instructions will also cover configuring networking so the Hyper-V VMs have internet access.
60+
61+
### Processor compatibility
62+
63+
The nested virtualization VM sizes may use different processors as shown in the following table:
64+
65+
Size | Series | Processor |
66+
| ---- | ----- | ----- |
67+
| Medium (nested virtualization) | [Standard_D4s_v4](../virtual-machines/dv4-dsv4-series.md) | 3rd Generation Intel® Xeon® Platinum 8370C (Ice Lake) or the Intel® Xeon® Platinum 8272CL (Cascade Lake) |
68+
| Large (nested virtualization) | [Standard_D8s_v4](../virtual-machines/dv4-dsv4-series.md) | 3rd Generation Intel® Xeon® Platinum 8370C (Ice Lake) or the Intel® Xeon® Platinum 8272CL (Cascade Lake) |
69+
70+
Each time that a template VM or a student VM is stopped and started, the underlying processor may change. To help ensure that nested VMs work consistently across processors, try enabling [processor compatibility mode](/windows-server/virtualization/hyper-v/manage/processor-compatibility-mode-hyper-v) on the nested VMs. It's recommended to enable **Processor Compatibility** mode on the template VM's nested VMs before publishing or exporting the image. You should also test the performance of the nested VMs with the **Processor Compatibility** mode enabled to ensure performance isn't negatively impacted. For more information, see [ramifications of using processor compatibility mode](/windows-server/virtualization/hyper-v/manage/processor-compatibility-mode-hyper-v.md#ramifications-of-using-processor-compatibility-mode).

articles/lab-services/how-to-get-started-create-lab-within-canvas.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,19 +116,38 @@ The student list for the course is automatically synced with the course roster.
116116

117117
This section outlines common error messages that you may see, along with the steps to resolve them.
118118

119+
- Insufficient permissions to create lab.
120+
121+
In Canvas, an educator will see a message indicating that they don't have sufficient permission. Educators should contact their Azure admin so they can be [added as a **Lab Creator**](tutorial-setup-lab-plan.md#add-a-user-to-the-lab-creator-role). For example, educators can be added as a **Lab Creator** to the resource group that contains their lab.
122+
123+
- Message that there isn't enough capacity to create lab VMs.
124+
125+
[Request a limit increase](capacity-limits.md#request-a-limit-increase) which needs to be done by an Azure Labs Services administrator.
126+
119127
- Student sees warning that the lab isn't available yet.
120128

121129
In Canvas, you'll see the following message if the educator hasn't published the lab yet. Educators must [publish the lab](tutorial-setup-lab.md#publish-a-lab) and [sync users](how-to-manage-user-lists-within-canvas.md#sync-users) for students to have access to a lab.
122130

123131
:::image type="content" source="./media/how-to-get-started-create-labs-within-canvas/troubleshooting-lab-isnt-available-yet.png" alt-text="Troubleshooting -> This lab is not available yet":::
124132

125-
- Insufficient permissions to create lab.
133+
- Student or educator is prompted to grant access.
126134

127-
In Canvas, an educator will see a message indicating that they don't have sufficient permission. Educators should contact their Azure admin so they can be [added as a **Lab Creator**](tutorial-setup-lab-plan.md#add-a-user-to-the-lab-creator-role).
135+
Before a student or educator can first access their lab, some browsers require that they first grant Azure Lab Services access to the browser's local storage. To grant access, educators and students should click the **Grant access** button when they are prompted:
128136

129-
- Message that there isn't enough capacity to create lab VMs.
137+
:::image type="content" source="./media/how-to-get-started-create-labs-within-canvas/canvas-grant-access-prompt.png" alt-text="Screenshot of page to grant Azure Lab Services access to use local storage for the browser.":::
138+
139+
Educators and students will see the message **Access granted** when access is successfully granted to Azure Lab Services. The educator or student should then reload the browser window to start using Azure Lab Services.
140+
141+
:::image type="content" source="./media/how-to-get-started-create-labs-within-canvas/canvas-access-granted-success.png" alt-text="Screenshot of access granted page in Azure Lab Services.":::
142+
143+
> [!IMPORTANT]
144+
> Ensure that students and educators are using an up-to-date version of their browser. For older browser versions, students and educators may experience issues with being able to successfully grant access to Azure Lab Services.
145+
146+
- Educator isn't prompted for their credentials after they click sign-in.
147+
148+
When an educator accesses Azure Lab Services within their course, they may be prompted to sign in. Ensure that the browser's settings allow popups from the url of your Canvas instance, otherwise the popup may be blocked by default.
130149

131-
[Request a limit increase](capacity-limits.md#request-a-limit-increase).
150+
:::image type="content" source="./media/how-to-get-started-create-labs-within-canvas/canvas-sign-in.png" alt-text="Azure Lab Services sign-in screen.":::
132151

133152
## Next steps
134153

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
---
2+
title: Set up a lab with GPUs in Azure Lab Services when using lab accounts | Microsoft Docs
3+
description: Learn how to set up a lab with graphics processing unit (GPU) virtual machines when using lab accounts.
4+
author: nicolela
5+
ms.topic: how-to
6+
ms.date: 06/26/2020
7+
ms.author: nicolela
8+
---
9+
10+
# Set up GPU virtual machines in labs contained within lab accounts
11+
12+
[!INCLUDE [preview note](./includes/lab-services-new-update-note.md)]
13+
14+
This article shows you how to do the following tasks:
15+
16+
- Choose between *visualization* and *compute* graphics processing units (GPUs).
17+
- Ensure that the appropriate GPU drivers are installed.
18+
19+
## Choose between visualization and compute GPU sizes
20+
21+
On the first page of the lab creation wizard, in the **Which virtual machine size do you need?** drop-down list, you select the size of the VMs that are needed for your class.
22+
23+
![Screenshot of the "New lab" pane for selecting a VM size](./media/how-to-setup-gpu-1/lab-gpu-selection.png)
24+
25+
In this process, you have the option of selecting either **Visualization** or **Compute** GPUs. It's important to choose the type of GPU that's based on the software that your students will use.
26+
27+
As described in the following table, the *compute* GPU size is intended for compute-intensive applications. For example, the [Deep Learning in Natural Language Processing class type](./class-type-deep-learning-natural-language-processing.md) uses the **Small GPU (Compute)** size. The compute GPU is suitable for this type of class, because students use deep learning frameworks and tools that are provided by the [Data Science Virtual Machine image](https://azuremarketplace.microsoft.com/marketplace/apps/microsoft-dsvm.ubuntu-1804) to train deep learning models with large sets of data.
28+
29+
| Size | vCPUs | RAM | Description |
30+
| ---- | ----- | --- | ----------- |
31+
| Small GPU (Compute) | 6 vCPUs | 56 GB RAM | [Standard_NC6](../virtual-machines/nc-series.md). This size is best suited for compute-intensive applications such as artificial intelligence (AI) and deep learning. |
32+
33+
The *visualization* GPU sizes are intended for graphics-intensive applications. For example, the [SOLIDWORKS engineering class type](./class-type-solidworks.md) shows using the **Small GPU (Visualization)** size. The visualization GPU is suitable for this type of class, because students interact with the SOLIDWORKS 3D computer-aided design (CAD) environment for modeling and visualizing solid objects.
34+
35+
| Size | vCPUs | RAM | Description |
36+
| ---- | ----- | --- | ----------- |
37+
| Small GPU (Visualization) | 6 vCPUs | 56 GB RAM | [Standard_NV6](../virtual-machines/nv-series.md). This size is best suited for remote visualization, streaming, gaming, and encoding that use frameworks such as OpenGL and DirectX. |
38+
| Medium GPU (Visualization) | 12 vCPUs | 112 GB RAM | [Standard_NV12](../virtual-machines/nv-series.md?bc=%2fazure%2fvirtual-machines%2flinux%2fbreadcrumb%2ftoc.json&toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). This size is best suited for remote visualization, streaming, gaming, and encoding that use frameworks such as OpenGL and DirectX. |
39+
40+
> [!NOTE]
41+
> You may not see some of these VM sizes in the list when creating a lab. The list is populated based on the current capacity of the lab's location. For availability of VMs, see [Products available by region](https://azure.microsoft.com/regions/services/?products=virtual-machines).
42+
43+
## Ensure that the appropriate GPU drivers are installed
44+
45+
To take advantage of the GPU capabilities of your lab VMs, ensure that the appropriate GPU drivers are installed. In the lab creation wizard, when you select a GPU VM size, you can select the **Install GPU drivers** option.
46+
47+
![Screenshot of the "New lab" showing the "Install GPU drivers" option](./media/how-to-setup-gpu-1/lab-gpu-drivers.png)
48+
49+
As shown in the preceding image, this option is enabled by default, which ensures that recently released drivers are installed for the type of GPU and image that you selected:
50+
51+
- When you select a *compute* GPU size, your lab VMs are powered by the [NVIDIA Tesla K80](https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/tesla-product-literature/Tesla-K80-BoardSpec-07317-001-v05.pdf) GPU. In this case, recent [Compute Unified Device Architecture (CUDA)](http://developer.download.nvidia.com/compute/cuda/2_0/docs/CudaReferenceManual_2.0.pdf) drivers are installed, which enables high-performance computing.
52+
- When you select a *visualization* GPU size, your lab VMs are powered by the [NVIDIA Tesla M60](https://images.nvidia.com/content/tesla/pdf/188417-Tesla-M60-DS-A4-fnl-Web.pdf) GPU and [GRID technology](https://www.nvidia.com/content/dam/en-zz/Solutions/design-visualization/solutions/resources/documents1/NVIDIA_GRID_vPC_Solution_Overview.pdf). In this case, recent GRID drivers are installed, which enables the use of graphics-intensive applications.
53+
54+
> [!IMPORTANT]
55+
> The **Install GPU drivers** option only installs the drivers when they aren't present on your lab's image. For example, the GPU drivers are already installed on the Azure marketplace's [Data Science image](../machine-learning/data-science-virtual-machine/overview.md#whats-included-on-the-dsvm). If you create a lab using the Data Science image and choose to **Install GPU drivers**, the drivers won't be updated to a more recent version. To update the drivers, you will need to manually install them as explained in the next section.
56+
57+
### Install the drivers manually
58+
59+
You might need to install a different version of the drivers than the version that Azure Lab Services installs for you. This section shows how to manually install the appropriate drivers, depending on whether you're using a *compute* GPU or a *visualization* GPU.
60+
61+
#### Install the compute GPU drivers
62+
63+
To manually install drivers for the *compute* GPU size, by doing the following steps:
64+
65+
1. In the lab creation wizard, when you're [creating your lab](./how-to-manage-labs.md), disable the **Install GPU drivers** setting.
66+
67+
1. After your lab is created, connect to the template VM to install the appropriate drivers.
68+
69+
![Screenshot of the NVIDIA Driver Downloads page](./media/how-to-setup-gpu-1/nvidia-driver-download.png)
70+
71+
a. In a browser, go to the [NVIDIA Driver Downloads page](https://www.nvidia.com/Download/index.aspx).
72+
b. Set the **Product Type** to **Tesla**.
73+
c. Set the **Product Series** to **K-Series**.
74+
d. Set the **Operating System** according to the type of base image you selected when you created your lab.
75+
e. Set the **CUDA Toolkit** to the version of CUDA driver that you need.
76+
f. Select **Search** to look for your drivers.
77+
g. Select **Download** to download the installer.
78+
h. Run the installer so that the drivers are installed on the template VM.
79+
1. Validate that the drivers are installed correctly by following the instructions in the [Validate the installed drivers](how-to-setup-lab-gpu.md#validate-the-installed-drivers) section.
80+
1. After you've installed the drivers and other software that are required for your class, select **Publish** to create your students' VMs.
81+
82+
> [!NOTE]
83+
> If you're using a Linux image, after you've downloaded the installer, install the drivers by following the instructions in [Install CUDA drivers on Linux](../virtual-machines/linux/n-series-driver-setup.md?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#install-cuda-drivers-on-n-series-vms).
84+
85+
#### Install the visualization GPU drivers
86+
87+
To manually install drivers for the *visualization* GPU sizes, follow these steps:
88+
89+
1. In the lab creation wizard, when you're [creating your lab](./how-to-manage-labs.md), disable the **Install GPU drivers** setting.
90+
1. After your lab is created, connect to the template VM to install the appropriate drivers.
91+
1. Install the GRID drivers that are provided by Microsoft on the template VM by following the instructions for your operating system:
92+
- [Windows NVIDIA GRID drivers](../virtual-machines/windows/n-series-driver-setup.md#nvidia-grid-drivers)
93+
- [Linux NVIDIA GRID drivers](../virtual-machines/linux/n-series-driver-setup.md?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#nvidia-grid-drivers)
94+
95+
1. Restart the template VM.
96+
1. Validate that the drivers are installed correctly by following the instructions in the [Validate the installed drivers](how-to-setup-lab-gpu.md#validate-the-installed-drivers) section.
97+
1. After you've installed the drivers and other software that are required for your class, select **Publish** to create your students' VMs.
98+
99+
### Validate the installed drivers
100+
101+
This section describes how to validate that your GPU drivers are properly installed.
102+
103+
#### Windows images
104+
105+
1. Follow the instructions in the "Verify driver installation" section of [Install NVIDIA GPU drivers on N-series VMs running Windows](../virtual-machines/windows/n-series-driver-setup.md#verify-driver-installation).
106+
1. If you're using a *visualization* GPU, you can also:
107+
- View and adjust your GPU settings in the NVIDIA Control Panel. To do so, in **Windows Control Panel**, select **Hardware**, and then select **NVIDIA Control Panel**.
108+
109+
![Screenshot of Windows Control Panel showing the NVIDIA Control Panel link](./media/how-to-setup-gpu-1/control-panel-nvidia-settings.png)
110+
111+
- View your GPU performance by using **Task Manager**. To do so, select the **Performance** tab, and then select the **GPU** option.
112+
113+
![Screenshot showing the Task Manager GPU Performance tab](./media/how-to-setup-gpu-1/task-manager-gpu.png)
114+
115+
> [!IMPORTANT]
116+
> The NVIDIA Control Panel settings can be accessed only for *visualization* GPUs. If you attempt to open the NVIDIA Control Panel for a compute GPU, you'll get the following error: "NVIDIA Display settings are not available. You are not currently using a display attached to an NVIDIA GPU." Similarly, the GPU performance information in Task Manager is provided only for visualization GPUs.
117+
118+
Depending on your scenario, you may also need to do additional validation to ensure the GPU is properly configured. Read the class type about [Python and Jupyter Notebooks](class-type-jupyter-notebook.md#template-machine-configuration) that explains an example where specific versions of drivers are needed.
119+
120+
#### Linux images
121+
122+
Follow the instructions in the "Verify driver installation" section of [Install NVIDIA GPU drivers on N-series VMs running Linux](../virtual-machines/linux/n-series-driver-setup.md#verify-driver-installation).
123+
124+
## Next steps
125+
126+
See the following articles:
127+
128+
- [Create and manage labs](how-to-manage-labs.md)
129+
- [SOLIDWORKS computer-aided design (CAD) class type](class-type-solidworks.md)
130+
- [MATLAB (matrix laboratory) class type](class-type-matlab.md)

0 commit comments

Comments
 (0)