Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.09 KB

README.md

File metadata and controls

41 lines (31 loc) · 1.09 KB

Requirements

  • NVIDIA GPU with a compute capability [3.0 - 7.2]
  • Latest GPU driver

Installation

Install the latest driver for your graphics card

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-cache search nvidia-*   # find latest nvidia driver
sudo apt-get install nvidia-*    # install the nvidia driver
sudo apt-get install mesa-common-dev
sudo apt-get install freeglut3-dev
sudo apt-get install nvidia-modprobe

Reboot your PC and verify installation by nvidia-smi command.

Please be sure that installation was successful.

docker info | grep 'Runtimes'   # output should contains 'nvidia'

Build docker image

# From project root directory
docker-compose -f docker-compose.yml -f components/cuda/docker-compose.cuda.yml build

Run docker container

# From project root directory
docker-compose -f docker-compose.yml -f components/cuda/docker-compose.cuda.yml up -d