Skip to content

Commit 20a31be

Browse files
TroyGardenfacebook-github-bot
authored andcommitted
and LB_LIBRARY_PATH for cpu case in install_fbgemm.sh (#2699)
Summary: Pull Request resolved: #2699 # context * `LB_LIBRARY_PATH` is missing the required path for cpu case, leading to test failure at https://github.com/pytorch/torchrec/actions/runs/12914965105 ``` ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /__w/_temp/conda_environment_12914965105/lib/python3.12/site-packages/tensordict/_C.so) ``` * this diff adding the missing branch when there is only cpu available Reviewed By: vmoens Differential Revision: D68524715 fbshipit-source-id: dee105434c3beae58fe9c4f1cde07833406f4c76
1 parent 519f193 commit 20a31be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: .github/scripts/install_fbgemm.sh

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ if [[ $CU_VERSION = cu* ]]; then
1515
echo "[NOVA] Setting LD_LIBRARY_PATH ..."
1616
conda env config vars set -p ${CONDA_ENV} \
1717
LD_LIBRARY_PATH="/usr/local/lib:${CUDA_HOME}/lib64:${CONDA_ENV}/lib:${LD_LIBRARY_PATH}"
18+
else
19+
echo "[NOVA] Setting LD_LIBRARY_PATH ..."
20+
conda env config vars set -p ${CONDA_ENV} \
21+
LD_LIBRARY_PATH="/usr/local/lib:${CONDA_ENV}/lib:${LD_LIBRARY_PATH}"
1822
fi
1923

2024
if [ "$CHANNEL" = "nightly" ]; then

0 commit comments

Comments
 (0)