File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,6 @@ if [[ "${GPU_ARCH_TYPE}" == "cuda" ]]; then
4242else
4343 WITH_CUDA=0
4444fi
45- # Not sure why its needed
46- LD_LIBRARY_PATH=" /opt/conda/envs/ci/lib/:${LD_LIBRARY_PATH} "
4745
4846echo ' ::group::Prepare CMake builds'
4947mkdir -p cpp_build
Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ conda activate ci
3737conda install --quiet --yes libjpeg-turbo -c pytorch
3838pip install --progress-bar=off --upgrade setuptools==72.1.0
3939
40+ # set ld_library_path - make sure so libraries are loaded from there
41+ export LD_LIBRARY_PATH=" ${CONDA_PREFIX} /lib:${LD_LIBRARY_PATH} "
42+
4043# See https://github.com/pytorch/vision/issues/6790
4144if [[ " ${PYTHON_VERSION} " != " 3.11" ]]; then
4245 pip install --progress-bar=off av! =10.0.0
@@ -81,7 +84,7 @@ PYTORCH_WHEEL_INDEX="https://download.pytorch.org/whl/${CHANNEL}/${GPU_ARCH_ID}"
8184# pip install --progress-bar=off --pre torch --index-url="${PYTORCH_WHEEL_INDEX}"
8285
8386# install torch built with manylinux 2.28
84- pip install --progress-bar=off --pre torch==2.6.0.dev20241106 --index-url=https://download.pytorch.org/whl/nightly/cpu --force-reinstall
87+ pip install --progress-bar=off --pre torch==2.6.0.dev20241106 --index-url=" ${PYTORCH_WHEEL_INDEX} " --force-reinstall
8588
8689if [[ $GPU_ARCH_TYPE == ' cuda' ]]; then
8790 python -c " import torch; exit(not torch.cuda.is_available())"
You can’t perform that action at this time.
0 commit comments