jimver/cuda-toolkit
Installs NVIDIA CUDA Toolkit and adds it to PATH
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| cuda | Cuda version | no | 13.2.0 |
| sub-packages | 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! Note that if you want to use this on Linux, 'network' method MUST be used. | no | [] |
| non-cuda-sub-packages | Only installs specified subpackages that do not have the cuda prefix, must be in the form of a JSON array. For example, if you only want to install libcublas and libcufft: ["libcublas", "libcufft"] double quotes required! Note that this only works with 'network' method on only on Linux. | no | [] |
| method | 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 subPackages | no | local |
| linux-local-args | (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! | no | ["--toolkit", "--samples"] |
| use-github-cache | Use GitHub cache to cache downloaded installer on GitHub servers | no | true |
| use-local-cache | Use local cache to cache downloaded installer on the local runner | no | true |
| log-file-suffix | Suffix of log file name in artifact | no | log.txt |
Outputs
| name | description |
|---|---|
| CUDA_PATH | Path to CUDA installation |
| cuda | Version of CUDA installed |