Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E: Package 'cuda-nvcc-12-0' has no installation candidate #375

Open
w3ntao opened this issue Jan 8, 2025 · 1 comment
Open

E: Package 'cuda-nvcc-12-0' has no installation candidate #375

w3ntao opened this issue Jan 8, 2025 · 1 comment

Comments

@w3ntao
Copy link

w3ntao commented Jan 8, 2025

This is my workflow yml (full file):

jobs:
  cuda-build:
    strategy:
      fail-fast: false
      matrix:
        cuda: [ '11.0.1', '11.5.0', '12.0.0', '12.5.0' ]

    name: GPU build (CUDA ${{ matrix.cuda }})

    runs-on: ubuntu-latest
    steps:
    - uses: jimver/[email protected]
      id: cuda-toolkit
      with:
        cuda: ${{ matrix.cuda }}
        method: 'network'
        sub-packages: '[ "nvcc" ]'

Among 4 versions of cuda: 11.0.1, 11.5.0, 12.0.0, 12.5.0, only 12.5.0 works, the rest fail executing command /usr/bin/sudo apt-get -y install cuda-nvcc-12-0:

/usr/bin/sudo apt-get -y install cuda-nvcc-12-0
Reading package lists...
Building dependency tree...
Reading state information...
Package cuda-nvcc-12-0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'cuda-nvcc-12-0' has no installation candidate
Error: Error: The process '/usr/bin/sudo' failed with exit code 100

You may check the action here.

@Jeadie
Copy link

Jeadie commented Jan 8, 2025

I also get this on cuda: "12.4.1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants