Skip to content

Commit

Permalink
(BugFix) install and require cuda-toolkit metapackage instead of the …
Browse files Browse the repository at this point in the history
…cuda metapackage fixes: #748

replace -y so we aren't stopped when doing package installs
  • Loading branch information
bladernr committed Sep 27, 2023
1 parent f7aad4f commit f0c5545
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion providers/gpgpu/tools/gpu-setup
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ add-apt-repository -y "deb http://developer.download.nvidia.com/compute/cuda/rep
echo "* Installing necessary pacakges"
apt install -y build-essential git
## need to break this out to fix issue where cuda installs gdm3
apt install -y --no-install-recommends cuda
apt install -y --no-install-recommends cuda-toolkit

#fix the path to get nvcc from the cuda package
CUDA_PATH=$(find /usr/local -maxdepth 1 -type d -iname "cuda*")/bin
Expand Down
2 changes: 1 addition & 1 deletion providers/gpgpu/units/jobs.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ category_id: gpgpu
plugin: shell
estimated_duration: 300
requires:
package.name == 'cuda'
package.name == 'cuda-toolkit'
_summary: GPGPU stress testing
command: cd /opt/gpu-burn/ && ./gpu_burn 14400 | grep -v -e '^[[:space:]]*$' -e "errors:" -e "Summary at"

0 comments on commit f0c5545

Please sign in to comment.