Skip to content

Commit 619d5cb

Browse files
authored
Merge branch 'release/v1.1.0' into bm/ldd-issue
2 parents 5dc1560 + 8e5f5df commit 619d5cb

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/scripts/validate_binaries.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,12 @@ echo "CONDA_ENV: ${CONDA_ENV}"
5858
# shellcheck disable=SC2155
5959
export CONDA_PREFIX=$(conda run -n "${CONDA_ENV}" printenv CONDA_PREFIX)
6060

61-
find / -name *cuda*
62-
63-
# Setting LD_LIBRARY_PATH fixes the runtime error with fbgemm_gpu not
61+
# Set LD_LIBRARY_PATH to fix the runtime error with fbgemm_gpu not
6462
# being able to locate libnvrtc.so
63+
# NOTE: The order of the entries in LD_LIBRARY_PATH matters
6564
echo "[NOVA] Setting LD_LIBRARY_PATH ..."
6665
conda env config vars set -n ${CONDA_ENV} \
67-
LD_LIBRARY_PATH="/usr/local/lib:/usr/lib64:${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}"
68-
66+
LD_LIBRARY_PATH="${CONDA_PREFIX}/lib:/usr/local/lib:/usr/lib64:${LD_LIBRARY_PATH}"
6967

7068
# install pytorch
7169
# switch back to conda once torch nightly is fixed

0 commit comments

Comments
 (0)