Open topic with navigation

# Install GPU Media Server

HPE Media Server can use a graphics card (GPU) to perform some processing tasks. Using a GPU rather than the CPU can significantly increase the speed of training and analysis tasks that use Convolutional Neural Networks.

Tasks that use Convolutional Neural Networks are:

- Image classification (when you use a Convolutional Neural Network classifier).
- Face demographics analysis.
- Face recognition.
- Object detection.
- Vehicle make recognition.
- Number plate recognition.

Before starting, ensure that your server has a GPU that meets the system requirements.

## Install HPE Media Server

You can download GPU Media Server from the Big Data Download Center. The HPE Media Server executable installed by the IDOL Server installer does not have support for GPU acceleration.

NOTE:

If you install GPU Media Server on Ubuntu, HPE recommends that you install a headless version of Ubuntu server.

To install GPU Media Server, follow the steps described in Install HPE Media Server from the ZIP Package.

## Install the NVIDIA CUDA Driver

To use a GPU to accelerate processing, you must install the NVIDIA driver version 352.07 or later. This can be installed independently, or by installing the CUDA toolkit version 7.5 or later. HPE recommends installing the driver only because this is easier and faster, and only installs the required components.

To install the NVIDIA CUDA driver on Windows

- Download the driver from http://www.nvidia.co.uk/Download/index.aspx?lang=en-uk. When asked to choose a "Download Type", select "Optimal Driver for Enterprise" because this option provides stable, supported drivers. After downloading the driver, install it by following the on-screen instructions.

To install the NVIDIA CUDA driver on Linux

1. Verify that your machine is running a supported operating system. Run the following command:

       lsb_release -a

   The operating system is described:

       Distributor ID: Ubuntu
       Description:    Ubuntu 14.04.3 LTS
       Release:        14.04
       Codename:       trusty

2. Verify that a CUDA-compatible card is available. Run the following command:

       lspci | grep -i nvidia | grep -i VGA

   This should produce output similar to:

       0f:00.0 VGA compatible controller: NVIDIA Corporation GF106GL [Quadro 2000] (rev a1)
       28:00.0 VGA compatible controller: NVIDIA Corporation GK110GL [Quadro K6000] (rev a1)

   You must verify that one or more of these GPUs support CUDA Compute Capability version 3.0 to 5.0. In the previous example, the Quadro 2000 GPU is not supported.

3. Install the essential utilities required to install the NVIDIA driver, by running the following command.

       sudo apt-get install build-essential

4. Install the NVIDIA driver by running the following commands.

       sudo apt-get purge nvidia*
       sudo add-apt-repository ppa:graphics-drivers/ppa
       sudo apt-get update
       sudo apt-get install nvidia-352
       sudo reboot

5. Verify that the driver installation was successful by running the `nvidia-smi` command. The driver version must be reported as the following version (or later):

       352.07

## Verify that HPE Media Server is Using the GPU

To determine whether HPE Media Server can use your GPU, start HPE Media Server and open the application log. The log should show the following after HPE Media Server starts:

    GPU devices available for use
    GPU deviceID 0 (Hex PCIBusId: ..)
    GPU deviceID 1 (Hex PCIBusId: ..)
    GPU deviceID 2 (Hex PCIBusId: ..)
    GPU deviceID 3 (Hex PCIBusId: ..)
    GPU mode used for MediaServer
    GPU Memory: ... bytes free ... bytes total ... bytes free to allocate
    GPU deviceID currently used: 2 (Hex PCIBusId: ..)

If the machine has more than one GPU, you might need to set the configuration parameter `GPUDeviceID`, to specify which GPU to use. To find out which GPU device ID corresponds to which GPU, match the PCI Bus ID logged by HPE Media Server to the PCI Bus ID output by the `nvidia-smi` command, which also provides the GPU name.

If installation was unsuccessful, the application log shows this message instead:

    CPU mode used for MediaServer

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm