We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44e2f45 commit f2cfe40Copy full SHA for f2cfe40
.github/scripts/setup-env.sh
@@ -37,8 +37,10 @@ conda activate ci
37
conda install --quiet --yes libjpeg-turbo -c pytorch
38
pip install --progress-bar=off --upgrade setuptools==72.1.0
39
40
-# set ld_library_path - make sure so libraries are loaded from there
41
-export LD_LIBRARY_PATH="${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}"
+# set ld_library_path - make sure so libraries have precedence
+if [[ "${OS_TYPE}" == linux ]]; then
42
+ export LD_LIBRARY_PATH="${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}"
43
+fi
44
45
# See https://github.com/pytorch/vision/issues/6790
46
if [[ "${PYTHON_VERSION}" != "3.11" ]]; then
0 commit comments