File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -58,15 +58,14 @@ echo "CONDA_ENV: ${CONDA_ENV}"
5858# shellcheck disable=SC2155
5959export CONDA_PREFIX=$( conda run -n " ${CONDA_ENV} " printenv CONDA_PREFIX)
6060
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+ find / -name * libstdc++*
62+
63+ # Set LD_LIBRARY_PATH to fix the runtime error with fbgemm_gpu not
64+ # being able to locate libnvrtc.so
65+ # NOTE: The order of the entries in LD_LIBRARY_PATH matters
66+ echo " [NOVA] Setting LD_LIBRARY_PATH ..."
67+ conda env config vars set -n ${CONDA_ENV} \
68+ LD_LIBRARY_PATH=" ${CONDA_PREFIX} /lib:/usr/local/lib:/usr/lib64:${LD_LIBRARY_PATH} "
7069
7170
7271# install pytorch
Original file line number Diff line number Diff line change 11name : Validate binaries
22
33on :
4+ pull_request :
5+ paths-ignore :
6+ - " docs/*"
7+ - " third_party/*"
8+ - .gitignore
9+ - " *.md"
410 workflow_call :
511 inputs :
612 channel :
You can’t perform that action at this time.
0 commit comments