ptheywood / cuda-cmake-github-actions

MIT License
56 stars 15 forks source link

Publish as a Github Action workflow step #5

Open bovine opened 3 years ago

bovine commented 3 years ago

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:

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

DStrelak commented 3 years ago

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.

bovine commented 3 years ago

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

xanderdunn commented 1 year ago

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.