All Projects → Jimver → cuda-toolkit

Jimver / cuda-toolkit

Licence: MIT License
GitHub Action to install CUDA

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to cuda-toolkit

assign-one-project-github-action
Automatically add an issue or pull request to specific GitHub Project(s) when you create and/or label them.
Stars: ✭ 140 (+311.76%)
Mutual labels:  action, github-actions
lane detection
Lane detection for the Nvidia Jetson TX2 using OpenCV4Tegra
Stars: ✭ 15 (-55.88%)
Mutual labels:  cuda, nvidia
ssh2actions
Connect to GitHub Actions VM via SSH for interactive debugging
Stars: ✭ 62 (+82.35%)
Mutual labels:  action, github-actions
actions
Collection of repetitive GitHub Actions
Stars: ✭ 12 (-64.71%)
Mutual labels:  action, github-actions
peakperf
Achieve peak performance on x86 CPUs and NVIDIA GPUs
Stars: ✭ 33 (-2.94%)
Mutual labels:  cuda, nvidia
jest-github-action
Jest action adding checks with annotations to your pull requests and coverage table as comments
Stars: ✭ 134 (+294.12%)
Mutual labels:  action, github-actions
vs-shell
GitHub action to set up the Visual Studio shell environment
Stars: ✭ 36 (+5.88%)
Mutual labels:  action, github-actions
verify-linked-issue-action
A GitHub action that verifies your pull request contains a reference to an issue.
Stars: ✭ 18 (-47.06%)
Mutual labels:  action, github-actions
lychee-action
Github action to check for broken links in Markdown, HTML, and text files using lychee, a fast link checker written in Rust.
Stars: ✭ 89 (+161.76%)
Mutual labels:  action, github-actions
ONNX-Runtime-with-TensorRT-and-OpenVINO
Docker scripts for building ONNX Runtime with TensorRT and OpenVINO in manylinux environment
Stars: ✭ 15 (-55.88%)
Mutual labels:  cuda, nvidia
rubocop-linter-action
Rubocop Linter Action: A GitHub Action to run Rubocop against your code!
Stars: ✭ 86 (+152.94%)
Mutual labels:  action, github-actions
git-actions
A GitHub Action to run arbitrary git commands
Stars: ✭ 72 (+111.76%)
Mutual labels:  action, github-actions
action-ansible-playbook
⚙️ A GitHub Action for running Ansible playbooks
Stars: ✭ 133 (+291.18%)
Mutual labels:  action, github-actions
hugo-action
Commands to help with building Hugo based static sites
Stars: ✭ 65 (+91.18%)
Mutual labels:  action, github-actions
clojure-dependency-update-action
A simple GitHub Actions job to create Pull Requests for outdated dependencies in clojure projects
Stars: ✭ 37 (+8.82%)
Mutual labels:  action, github-actions
colab-badge-action
GitHub Action that generates "Open In Colab" Badges for you
Stars: ✭ 15 (-55.88%)
Mutual labels:  action, github-actions
dart-package-publisher
Action to Publish Dart / Flutter Package To https://pub.dev When you need to publish a package, just bump the version in pubspec.yaml
Stars: ✭ 45 (+32.35%)
Mutual labels:  action, github-actions
setup-jdk
(DEPRECATED) Set up your GitHub Actions workflow with a specific version of AdoptOpenJDK
Stars: ✭ 32 (-5.88%)
Mutual labels:  action, github-actions
setup-clang
GitHub action to set up Clang & LLVM
Stars: ✭ 28 (-17.65%)
Mutual labels:  action, github-actions
JetScan
JetScan : GPU accelerated portable RGB-D reconstruction system
Stars: ✭ 77 (+126.47%)
Mutual labels:  cuda, nvidia

cuda-toolkit

This action installs the NVIDIA® CUDA® Toolkit on the system. It adds the cuda install location as CUDA_PATH to GITHUB_ENV so you can access the CUDA install location in subsequent steps. CUDA_PATH/bin is added to GITHUB_PATH so you can use commands such as nvcc directly in subsequent steps. Right now both windows-2019 and ubuntu-20.04 runners have been tested to work successfully.

Inputs

cuda

Optional The CUDA version to install. View src/link/windows-links.ts and src/link/linux-links.ts for available versions.

Default: '11.2.2'.

sub-packages

NOTE: On Linux this only works with the 'network' method view details

Optional If set, only the specified CUDA subpackages will be installed. Only installs specified subpackages, must be in the form of a JSON array. For example, if you only want to install nvcc and visual studio integration: '["nvcc", "visual_studio_integration"]' (double quotes required)

Default: '[]'.

method

Optional Installation method, can be either 'local' or 'network'.

  • 'local' downloads the entire installer with all packages and runs that (you can still only install certain packages with sub-packages on Windows).
  • 'network' downloads a smaller executable which only downloads necessary packages which you can define in sub-packages.

Default: 'local'.

linux-local-args

Optional (For Linux and 'local' method only) override arguments for the Linux .run installer. For example if you don't want samples use '["--toolkit"]' (double quotes required) See the Nvidia Docs for available options. Note that the --silent option is already always added by the action itself.

Default: '["--toolkit", "--samples"]'.

Outputs

cuda

The cuda version installed (same as cuda from input).

CUDA_PATH

The path where cuda is installed (same as CUDA_PATH in GITHUB_ENV).

Example usage

steps:
- uses: Jimver/[email protected]
  id: cuda-toolkit
  with:
    cuda: '11.5.1'

- run: echo "Installed cuda version is: ${{steps.cuda-toolkit.outputs.cuda}}"

- run: echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}"

- run: nvcc -V
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].