File tree 1 file changed +7
-9
lines changed
1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -58,15 +58,13 @@ echo "CONDA_ENV: ${CONDA_ENV}"
58
58
# shellcheck disable=SC2155
59
59
export CONDA_PREFIX=$( conda run -n " ${CONDA_ENV} " printenv CONDA_PREFIX)
60
60
61
- find / -name * cuda*
62
-
63
- if [[ $CUDA_VERSION = cu* ]]; then
64
- # Setting LD_LIBRARY_PATH fixes the runtime error with fbgemm_gpu not
65
- # being able to locate libnvrtc.so
66
- echo " [NOVA] Setting LD_LIBRARY_PATH ..."
67
- conda env config vars set -n ${CONDA_ENV} \
68
- LD_LIBRARY_PATH=" /usr/local/lib:/usr/lib64:${CONDA_PREFIX} /lib:${LD_LIBRARY_PATH} "
69
- fi
61
+
62
+ # Set LD_LIBRARY_PATH to fix the runtime error with fbgemm_gpu not
63
+ # being able to locate libnvrtc.so
64
+ # NOTE: The order of the entries in LD_LIBRARY_PATH matters
65
+ echo " [NOVA] Setting LD_LIBRARY_PATH ..."
66
+ conda env config vars set -n ${CONDA_ENV} \
67
+ LD_LIBRARY_PATH=" ${CONDA_PREFIX} /lib:/usr/local/lib:/usr/lib64:${LD_LIBRARY_PATH} "
70
68
71
69
72
70
# install pytorch
You can’t perform that action at this time.
0 commit comments