Skip to content

Commit

Permalink
Move checkout after ubuntu package install
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverholworthy committed Jul 3, 2023
1 parent 63bc85a commit 2ec75dc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ jobs:
env:
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Ubuntu packages
run: |
apt-get update -y
# libcudnn8 installed for tensorflow GPU support
apt-get install -y git lsb-release 'libcudnn8=*cuda11.8'
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.8
id: setup-python
uses: actions/setup-python@v4
Expand Down Expand Up @@ -98,14 +98,14 @@ jobs:
env:
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Ubuntu packages
run: |
apt-get update -y
# libcudnn8 installed for tensorflow GPU support
apt-get install -y git lsb-release 'libcudnn8=*cuda11.8'
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.8
id: setup-python
uses: actions/setup-python@v4
Expand Down

0 comments on commit 2ec75dc

Please sign in to comment.