File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 8585 uses : ahmadsharif1/test-infra/.github/actions/setup-miniconda@14bc3c29f88d13b0237ab4ddf00aa409e45ade40
8686 with :
8787 python-version : ${{ matrix.python-version }}
88- default-packages : " conda-forge::ffmpeg=${{ matrix.ffmpeg-version-for-tests }}"
88+ #
89+ # For some reason nvidia::libnpp=12.4 doesn't install but nvidia/label/cuda-12.4.0::libnpp does.
90+ # So we use the latter convention for libnpp.
91+ # We install conda packages at the start because otherwise conda may have conflicts with dependencies.
92+ default-packages : " conda-forge::ffmpeg=${{ matrix.ffmpeg-version-for-tests }} nvidia/label/cuda-${{ matrix.cuda-version }}.0::libnpp nvidia::cuda-nvrtc=${{ matrix.cuda-version }} nvidia::cuda-toolkit=${{ matrix.cuda-version }} nvidia::cuda-cudart=${{ matrix.cuda-version }} nvidia::cuda-driver-dev=${{ matrix.cuda-version }}"
8993 - name : Check env
9094 run : |
9195 ${CONDA_RUN} env
@@ -106,11 +110,6 @@ jobs:
106110 - name : Check out repo
107111 uses : actions/checkout@v3
108112
109- - name : Install cuda runtime dependencies
110- run : |
111- # For some reason nvidia::libnpp=12.4 doesn't install but nvidia/label/cuda-12.4.0::libnpp does.
112- # So we use the latter convention for libnpp.
113- ${CONDA_RUN} conda install --yes nvidia/label/cuda-${{ matrix.cuda-version }}.0::libnpp nvidia::cuda-nvrtc=${{ matrix.cuda-version }} nvidia::cuda-toolkit=${{ matrix.cuda-version }} nvidia::cuda-cudart=${{ matrix.cuda-version }} nvidia::cuda-driver-dev=${{ matrix.cuda-version }}
114113 - name : Install test dependencies
115114 run : |
116115 # Ideally we would find a way to get those dependencies from pyproject.toml
You can’t perform that action at this time.
0 commit comments