Skip to content

install-cuda-prebuilt

Automatically generated README for this automation recipe: install-cuda-prebuilt

Category: CUDA automation

License: Apache 2.0

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

  • CM meta description for this script: _cm.json

  • 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 "install prebuilt cuda prebuilt-cuda install-prebuilt-cuda" --help

Run this script

Run this script via CLI
cm run script --tags=install,prebuilt,cuda,prebuilt-cuda,install-prebuilt-cuda[,variations] [--input_flags]
Run this script via CLI (alternative)
cmr "install prebuilt cuda prebuilt-cuda install-prebuilt-cuda [variations]" [--input_flags]
Run this script from Python
import cmind

r = cmind.access({'action':'run'
              'automation':'script',
              'tags':'install,prebuilt,cuda,prebuilt-cuda,install-prebuilt-cuda'
              'out':'con',
              ...
              (other input keys for this script)
              ...
             })

if r['return']>0:
    print (r['error'])
Run this script via Docker (beta)
cm docker script "install prebuilt cuda prebuilt-cuda install-prebuilt-cuda[variations]" [--input_flags]

Variations

  • Group "install-driver"

    Click here to expand this section.

    • _driver
      • ENV variables:
        • CM_CUDA_INSTALL_DRIVER: yes
    • _no-driver (default)
      • ENV variables:
        • CM_CUDA_INSTALL_DRIVER: no
Default variations

_no-driver

Script flags mapped to environment

  • --local_run_file_path=valueCUDA_RUN_FILE_LOCAL_PATH=value

Default environment

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

  • CM_SUDO: sudo

Versions

Default version: 11.8.0

  • 11.7.0
  • 11.8.0
  • 12.0.0
  • 12.1.1
  • 12.2.0
  • 12.3.2
  • 12.4.1

Native script being run

No run file exists for Windows


Script output

cmr "install prebuilt cuda prebuilt-cuda install-prebuilt-cuda [variations]" [--input_flags] -j