# GPU Passthrough Example

In a previous section, a Service Plan was created which consumes a GPU when a VM is provisioned using that Plan. This section shows an example provisioning a workload using that Plan and a GPU-accelerated workload running on the VM. In this example, there is an Nvidia GeForce RTX 3050 connected to one of the HVM Hosts. By passing the GPU hardware through to a provisioned VM, hardware-accelerated AI workloads can be run on the VM.

Begin by navigating to Provisioning > Instances. The list of all currently-managed Instances is here along with high level information (power state, etc). To begin a new Instance, click + ADD. Choose type HVM and click NEXT. On the next pane, choose the Group and Cloud in which your desired HVM Cluster resides, name the Instance, and click NEXT.

On the CONFIGURE tab, the main thing to note for this example is the PLAN configuration. This dropdown contains some default Plans that are included with HPE Morpheus VM Essentials and compatible with the HVM provisioning technology (named “1 CPU, 1GB Memory”, etc). This dropdown also includes user-created Plans, such as those you’ve created to consume GPU hardware. In the screenshot below, you can see the “GPU Plan” was selected.

![../../_images/showPlan.png](https://support.hpe.com/hpesc/public/api/document/sd00007621en_us/GUID-1FD71B7E-138D-4F35-B57F-AA2C3AA2E357-high.png)

From here, complete the Instance provisioning wizard selecting any automation or lifecycle configurations and wait for the Instance provisioning to complete.

With provisioning complete, check the attached device(s) from the HPE Morpheus VM Essentials UI. This is done from the VM level rather than the Instance level. From the Instance detail page, click on the Resources tab. Click on the name of the desired VM to access the VM detail page. Click on the Devices tab. As in the screenshot below, the attached GPU should be shown.

![../../_images/attachedGpu.png](https://support.hpe.com/hpesc/public/api/document/sd00007621en_us/GUID-5AC07D64-3534-439B-925D-858854858310-high.png)

To go further, open a console session to the new VM either through HPE Morpheus VM Essentials UI or by connecting to the VM over SSH from a local terminal session. Use the `lspci` command to view all devices connected to PCI buses. The attached GPU should be shown here as it is in the UI.

At this point, the VM is ready to run GPU-accelerated workloads normally. To test this, I’ll run Ollama which is an open-source tool designed to make it easy to run large language models (LLMs) locally. In the screenshot below, see the AI chatbot response to an input. This result took only a few seconds thanks to GPU hardware acceleration.

![../../_images/ollamaOutput.png](https://support.hpe.com/hpesc/public/api/document/sd00007621en_us/GUID-FEED6AA7-831F-4630-93F2-BD77DAB2EF2C-high.png)

With the request completed, we can run the `ollama ps` command which confirms the model was running under GPU acceleration.

![../../_images/gpuUsed.png](https://support.hpe.com/hpesc/public/api/document/sd00007621en_us/GUID-15D2AC03-19A9-47B0-8D16-7EA83603BDF2-high.png)

## Image transcriptions

> Transcribed from the image above by local vision OCR (qwen2.5vl:7b); verify against the source image.

| Configuration Options | Value |
|-----------------------|-------|
| LAYOUT                | Single HPE VM |
| PLAN                  | GPU Plan    |
| Cores                 | 2        |
| Memory                | 2 GB      |
| Price                 | No pricing configured $   |

> Transcribed from the image above by local vision OCR (qwen2.5vl:7b); verify against the source image.

| STATUS NAME | TYPE       | BUS/SLOT | ASSIGNEE           |
|-------------|------------|----------|---------------------|
| NVIDIA Corporation - GA107 [GeForce RTX 3050 6GB] (pci_0000_01_00_0) | Nvidia GPU | 1:0                 | ah-pvc-mvm-01        |

> Transcribed from the image above by local vision OCR (qwen2.5vl:7b); verify against the source image.

| **Key Points** | **Details** |
|-----------------|--------------|
| History         | HPE was formed in 2015 as a result of the merger between Hewlett-Packard (HP) and Enterprise Services, a subsidiary of Dell. The company has a long history dating back to 1939 when William Redington Hewlett and David Packard founded HP in a small garage in Palo Alto, California. |
| Business Segments | HPE operates through two main business segments: Enterprise Group and Technology Services. The Enterprise Group provides hardware, software, and services to help customers build, manage, and secure their IT infrastructures. The Technology Services segment offers a range of services, including cloud computing, application management, and cybersecurity. |
| Products and Services | HPE offers a wide range of products and services, including servers, storage devices, networking equipment, software, and services. Some of its popular products include the ProLiant server, the 3PAR storage array, and the Aruba networking portfolio. |
| Cloud Computing | HPE is a leading provider of cloud computing solutions, offering a range of services and tools to help customers build and manage their own clouds, as well as consume cloud services from HPE. The company's cloud offerings include HPE Helion Managed Cloud Services, HPE Helion Cloud Platform, and HPE Helion Development Platform. |
| Artificial Intelligence (AI) and Machine Learning (ML) | HPE is a pioneer in the field of AI and ML, with a range of solutions and services designed to help customers leverage these technologies to improve their business outcomes. The company's AI and ML offerings include the HPE Ezmeral AI Platform, HPE Machine Learning Studio, and HPE Vertica for AI and ML workloads. |
| Cybersecurity | HPE is a leading provider of cybersecurity solutions, offering a range of products and services designed to help customers protect their IT infrastructures from cyber threats. The company's cybersecurity offerings include the HPE Aruba ClearPass security management platform, the HPE Aruba NetProtect network security solution, and the HPE Fortify on Demand application security service. |
| Partnerships and Collaborations | HPE has a strong track record of forming partnerships and collaborations with other technology companies to deliver joint solutions and services to customers. Some of its key partners include Microsoft, Cisco, and SAP. |
| Locations | HPE has operations in over 170 countries around the world, with major locations in North America, Europe, Asia, and Australia. The company's global headquarters is located in San Jose, California. |
| Employment | HPE employs over 50,000 people worldwide, with a diverse range of roles including engineering, sales, marketing, and support. The company offers a range of career development opportunities and programs to help employees grow and succeed. |
| Community Involvement | HPE is committed to giving back to the communities where it operates, with a focus on education, innovation, and social responsibility. The company supports a range of charitable organizations and initiatives around the world. |
