Skip to content

Commit be17a3c

Browse files
committed
Two fix attempts
1 parent 3bf2642 commit be17a3c

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/cuda_ci.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ jobs:
2424
- name: Get current date
2525
id: date
2626
run: echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}"
27-
- name: Install Conda environment from environment.yml
28-
uses: mamba-org/setup-micromamba@v1
29-
with:
30-
micromamba-version: '1.4.6-0'
31-
environment-file: environment.yml
32-
# persist on the same day.
33-
cache-environment-key: environment-${{ steps.date.outputs.date }}
34-
cache-downloads-key: downloads-${{ steps.date.outputs.date }}
3527
- name: Install nvcc
3628
uses: Jimver/[email protected]
3729
id: cuda-toolkit
@@ -41,6 +33,14 @@ jobs:
4133
echo "Installed cuda version is: ${{steps.cuda-toolkit.outputs.cuda}}"
4234
echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}"
4335
nvcc -V
36+
- name: Install Conda environment from environment.yml
37+
uses: mamba-org/setup-micromamba@v1
38+
with:
39+
micromamba-version: '1.4.6-0'
40+
environment-file: environment.yml
41+
# persist on the same day.
42+
cache-environment-key: environment-${{ steps.date.outputs.date }}
43+
cache-downloads-key: downloads-${{ steps.date.outputs.date }}
4444
- name: Install and run_test.py
4545
shell: bash -l {0}
4646
run: |

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ steps:
2727
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
2828
sudo dpkg -i cuda-keyring_1.1-1_all.deb
2929
sudo apt-get update
30-
sudo apt-get -y install cuda=11.2.2-1
30+
sudo apt-get -y install cuda-toolkit=11.2.2-1
3131
displayName: Install nvcc
3232

3333
- bash: conda env create --file environment.yml

0 commit comments

Comments
 (0)