We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fa7754 commit 4db9525Copy full SHA for 4db9525
.github/workflows/build.yml
@@ -145,11 +145,15 @@ jobs:
145
- name: Pin nvidia-persistenced 570.148.08
146
if: runner.os != 'Windows' && matrix.cuda != ''
147
run: |
148
- echo 'Package: nvidia-persistenced
149
-Pin: version 570.148.08-1ubuntu1
150
-Pin-Priority: 1001' | sudo tee /etc/apt/preferences.d/99-nvidia-persistenced
+ # Write an apt-preferences file that forces the exact build
+ sudo tee /etc/apt/preferences.d/99-nvidia-persistenced >/dev/null <<'EOF'
+ Package: nvidia-persistenced
151
+ Pin: version 570.148.08-1ubuntu1
152
+ Pin-Priority: 1001
153
+ EOF
154
+
155
sudo apt-get update
-
156
157
# TODO: Find specific sub-packages
158
- name: Install Linux CUDA ${{ matrix.cuda }}
159
uses: Jimver/[email protected]
0 commit comments