Skip to content

Commit

Permalink
Switch to Data Science VM image
Browse files Browse the repository at this point in the history
  • Loading branch information
naegelejd committed Nov 15, 2024
1 parent 480e4d4 commit 87957fd
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
Expand Down Expand Up @@ -52,24 +55,6 @@ jobs:
run: conda env update -n gadgetron -f environment.yml
if: steps.cache-conda.outputs.cache-hit != 'true'

- name: Install GPU driver
shell: bash
run: |
sudo apt update
#sudo apt list --installed | grep nvidia
#sudo apt --purge remove -y '*nvidia*'
#sudo apt autoremove -y
#sudo apt install -y ubuntu-drivers-common
##sudo ubuntu-drivers list --gpgpu
##sudo ubuntu-drivers install --gpgpu
#sudo ubuntu-drivers install --gpgpu nvidia:535-server
#sudo apt install -y nvidia-utils-535-server
sudo DEBIAN_FRONTEND=noninteractive apt install -y linux-headers-generic
sudo DEBIAN_FRONTEND=noninteractive apt install -y nvidia-dkms-535-server
sudo DEBIAN_FRONTEND=noninteractive apt install -y nvidia-driver-535-server
sudo modprobe nvidia
which nvidia-smi
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3

Expand Down

0 comments on commit 87957fd

Please sign in to comment.