File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 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
36283729 id : cuda-toolkit
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 : |
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments