Skip to content

get-cudnn

Automatically generated README for this automation recipe: get-cudnn

Category: CUDA automation

License: Apache 2.0

  • Notes from the authors, contributors and users: README-extra

  • CM meta description for this script: _cm.yaml

  • Output cached? True

Reuse this script in your project

Install MLCommons CM automation meta-framework

Pull CM repository with this automation recipe (CM script)

cm pull repo mlcommons@cm4mlops

cmr "get cudnn nvidia" --help

Run this script

Run this script via CLI
cm run script --tags=get,cudnn,nvidia [--input_flags]
Run this script via CLI (alternative)
cmr "get cudnn nvidia " [--input_flags]
Run this script from Python
import cmind

r = cmind.access({'action':'run'
              'automation':'script',
              'tags':'get,cudnn,nvidia'
              'out':'con',
              ...
              (other input keys for this script)
              ...
             })

if r['return']>0:
    print (r['error'])
Run this script via Docker (beta)
cm docker script "get cudnn nvidia" [--input_flags]

Input Flags

  • --input: Full path to the installed cuDNN library
  • --tar_file: Full path to the cuDNN Tar file downloaded from Nvidia website (https://developer.nvidia.com/cudnn)

Script flags mapped to environment

  • --input=valueCM_INPUT=value
  • --tar_file=valueCM_CUDNN_TAR_FILE_PATH=value

Default environment

These keys can be updated via --env.KEY=VALUE or env dictionary in @input.json or using script flags.

  • CM_INPUT: ``
  • CM_SUDO: sudo

Native script being run

No run file exists for Windows


Script output

cmr "get cudnn nvidia " [--input_flags] -j