Jimver / cuda-toolkit

GitHub Action to install CUDA
MIT License
150 stars 54 forks source link

Some linux cuda subpackages don't have a cuda version suffix: particularly `drivers` #344

Closed lukstafi closed 5 months ago

lukstafi commented 5 months ago

I cannot seem to be able to install a drivers package, e.g. cuda-drivers_520.61.05-1_amd64.deb, there is always a cuda version appended to the end.

E.g.

    - uses: Jimver/cuda-toolkit@v0.2.15
      id: cuda-toolkit
      with:
        method: network
        sub-packages: '[ "cudart", "cudart-dev", "nvrtc", "nvrtc-dev" ]'
        non-cuda-sub-packages: '[ "cuda-drivers_520.61.05" ]'

leads to: E: Unable to locate package cuda-drivers_520.61.05-12-4.

(I assumed non-cuda-sub-packages wouldn't post-process the package name.)

lukstafi commented 5 months ago

Actually I just need cuda-runtime. Still maybe an issue for someone.