Skip to content

Commit

Permalink
try some changes to fix cuda installl
Browse files Browse the repository at this point in the history
  • Loading branch information
justinlaughlin committed Aug 6, 2024
1 parent 3fc2bc1 commit 1ab78bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-test-callable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
env:
cuda-toolkit-version: '12.4.1'
CUDA_HOME: '/usr/local/cuda-12.4'
cuda-driver-version: '550.54.15'
# These are all passed to setup.py as one concatenated string
build-flags: >-
Expand Down Expand Up @@ -118,8 +119,10 @@ jobs:
- name: Install CUDA
if: inputs.cuda
run: |
# Make a separate temp dir so cuda doesn't run out of space
mkdir -p ~/cache/cudatemp
# The --silent flag is necessary to bypass user-input, e.g. accepting the EULA
sudo sh ~/cache/cuda.run --silent --toolkit
sudo sh ~/cache/cuda.run --silent --toolkit --tmpdir=~/cache/cudatemp
echo "/usr/local/cuda/bin" >> $GITHUB_PATH
- name: Print dependency information
Expand Down

0 comments on commit 1ab78bd

Please sign in to comment.