cuda-cmake-github-actions icon indicating copy to clipboard operation
cuda-cmake-github-actions copied to clipboard

Publish as a Github Action workflow step

Open bovine opened this issue 3 years ago • 3 comments

To make your work more easily usable by others, I think you should create an action.yml file, and probably a few other template files:

  • https://notiz.dev/blog/build-and-publish-your-first-github-action

However, it looks like there is a recent addition to the Marketplace that already does this, so maybe you don't want to offer a competing option... https://github.com/marketplace/actions/cuda-toolkit

bovine avatar Mar 19 '21 06:03 bovine

The mentioned action currently does not allow to install only specific subpackages on Ubuntu, and also installs samples. So while full install works fine (except CUDA 9.2. on Ubuntu 16 - some error with log), it takes considerably longer time (4 minutes), compared to 'opt-in' solution without samples. In my case, installing nvcc, cufft, cudart and nvml takes just under a minute.

DStrelak avatar Mar 22 '21 20:03 DStrelak

Perhaps then there is sufficient reason for this to exist as another published action in the Marketplace!

bovine avatar Mar 22 '21 23:03 bovine

cuda-toolkit on the marketplace is broken and not well maintained. It emits node v12 deprecation warnings, and although someone has opened Jimver/cuda-toolkit#193 to fix that, the maintainer doesn't appear to be working on it. The project's last release was 7 months ago and all commits since then have just been Dependabot. Furthermore, unlike this repo, it does not support latest CUDA v12.

I would very much like to see this repo packaged onto the GitHub Marketplace for GitHub Actions.

xanderdunn avatar Mar 04 '23 18:03 xanderdunn