1

I am setting up my environment for machine learning development and I thought of using Docker.

Does Nvidia CUDA and/or CUdnn need to be installed on my machine or does it work only by existing in the docker container?

Thanks in advance for your answers!

colourCoder
  • 1,394
  • 2
  • 11
  • 18
than_g
  • 87
  • 8

1 Answers1

2

You need:

  • the nvidia driver
  • a recent version of docker-ce (19.03 or newer)
  • and the nvidia container toolkit also called "nvidia docker"

You generally do not need CUDA (toolkit) or CUDNN installed on the base machine. Those can be in the container for use in the container.

See here for specific install instructions.

Robert Crovella
  • 143,785
  • 11
  • 213
  • 257