Debian 10 and CUDNN

Options
BenGonGon
BenGonGon Registered Posts: 20 ✭✭✭✭

Hello,
it is possible to install cudnn on debian 10 and wich version?

Best Answer

  • Sergey
    Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
    edited July 17 Answer ✓
    Options

    Hi @BenGonGon

    Yes, it's possible:

    dataiku@debian:~$ ls -l
    total 961568
    -rw-r--r--  1 dataiku dataiku 153130336 Nov  7 13:32 libcudnn7-dev_7.6.5.32-1+cuda10.0_amd64.deb
    -rw-r--r--  1 dataiku dataiku   4427860 Nov  7 13:34 libcudnn7-doc_7.6.5.32-1+cuda10.0_amd64.deb
    -rw-r--r--  1 dataiku dataiku 165285164 Nov  7 13:34 libcudnn7_7.6.5.32-1+cuda10.0_amd64.deb
    dataiku@debian:~$ sudo dpkg -i libcudnn7*                                  
    (Reading database ... 46499 files and directories currently installed.)
    Preparing to unpack libcudnn7-dev_7.6.5.32-1+cuda10.0_amd64.deb ...
    Unpacking libcudnn7-dev (7.6.5.32-1+cuda10.0) over (7.6.5.32-1+cuda10.0) ...
    Selecting previously unselected package libcudnn7-doc.
    Preparing to unpack libcudnn7-doc_7.6.5.32-1+cuda10.0_amd64.deb ...
    Unpacking libcudnn7-doc (7.6.5.32-1+cuda10.0) ...
    Selecting previously unselected package libcudnn7.
    Preparing to unpack libcudnn7_7.6.5.32-1+cuda10.0_amd64.deb ...
    Unpacking libcudnn7 (7.6.5.32-1+cuda10.0) ...
    Setting up libcudnn7 (7.6.5.32-1+cuda10.0) ...
    Setting up libcudnn7-dev (7.6.5.32-1+cuda10.0) ...
    update-alternatives: using /usr/include/x86_64-linux-gnu/cudnn_v7.h to provide /usr/include/cudnn.h (libcudnn) in auto mode
    Setting up libcudnn7-doc (7.6.5.32-1+cuda10.0) ...
    Processing triggers for libc-bin (2.28-10) ...
    dataiku@debian:~$ lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description:    Debian GNU/Linux 10 (buster)
    Release:    10
    Codename:   buster

    Version taken is cuDNN v7.6.5 for CUDA 10.0 as DSS supports CUDA v9 and v10 for visual ML:

    Screenshot 2020-11-07 at 18.41.46.png

Answers

  • BenGonGon
    BenGonGon Registered Posts: 20 ✭✭✭✭
    edited July 17
    Options

    HI @sergeyd
    ,

    it is do

    root@BGGDatakikou:/opt/cudnn# ls -l
    total 315292
    -rw-r--r-- 1 bggbecane bggbecane 165285164 nov 7 21:43 libcudnn7_7.6.5.32-1+cuda10.0_amd64.deb
    -rw-r--r-- 1 bggbecane bggbecane 153130336 nov 7 21:42 libcudnn7-dev_7.6.5.32-1+cuda10.0_amd64.deb
    -rw-r--r-- 1 bggbecane bggbecane 4427860 nov 7 21:43 libcudnn7-doc_7.6.5.32-1+cuda10.0_amd64.deb
    root@BGGDatakikou:/opt/cudnn# dpkg -i libcudnn7*
    Sélection du paquet libcudnn7 précédemment désélectionné.
    (Lecture de la base de données... 235854 fichiers et répertoires déjà installés.)
    Préparation du dépaquetage de libcudnn7_7.6.5.32-1+cuda10.0_amd64.deb ...
    Dépaquetage de libcudnn7 (7.6.5.32-1+cuda10.0) ...
    Sélection du paquet libcudnn7-dev précédemment désélectionné.
    Préparation du dépaquetage de libcudnn7-dev_7.6.5.32-1+cuda10.0_amd64.deb ...
    Dépaquetage de libcudnn7-dev (7.6.5.32-1+cuda10.0) ...
    Sélection du paquet libcudnn7-doc précédemment désélectionné.
    Préparation du dépaquetage de libcudnn7-doc_7.6.5.32-1+cuda10.0_amd64.deb ...
    Dépaquetage de libcudnn7-doc (7.6.5.32-1+cuda10.0) ...
    Paramétrage de libcudnn7 (7.6.5.32-1+cuda10.0) ...
    Paramétrage de libcudnn7-dev (7.6.5.32-1+cuda10.0) ...
    update-alternatives: utilisation de « /usr/include/x86_64-linux-gnu/cudnn_v7.h Â» pour fournir « /usr/include/cudnn.h Â» (libcudnn) en mode automatique
    Paramétrage de libcudnn7-doc (7.6.5.32-1+cuda10.0) ...
    Traitement des actions différées (« triggers Â») pour libc-bin (2.28-10) ...
    root@BGGDatakikou:/opt/cudnn# lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description: Debian GNU/Linux 10 (buster)
    Release: 10
    Codename: buster
    root@BGGDatakikou:/opt/cudnn# reboot


    Where is in dataiku your second picture?
    I want to control it too.

  • Sergey
    Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
    Options
  • BenGonGon
    BenGonGon Registered Posts: 20 ✭✭✭✭
    Options

    @sergeyd
    , you are a boss.
    Thank you very much for your precious help.

Setup Info
    Tags
      Help me…