File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,11 @@ jobs:
4949 conda create -c conda-forge --strict-channel-priority -y -n ci_env python="${PYTHON_VERSION}" ffmpeg="${FFMPEG_VERSION}" cmake ninja
5050 conda activate ci_env
5151 conda info
52- conda list
5352 ffmpeg -version
5453 python -m pip install --upgrade pip
54+ # We add conda library path as otherwise torchcodec is not
55+ # able to load ffmpeg shared libraries:
5556 export LD_LIBRARY_PATH=${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}
56- echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}"
5757 echo "::endgroup::"
5858
5959 echo "::group::Install TorchAudio test and PyTorch dependencies"
6464 PYTORCH_WHEEL_INDEX="https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/cpu"
6565 python -m pip install --pre torch torchcodec --index-url="${PYTORCH_WHEEL_INDEX}"
6666 python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}")'
67- ls -la /opt/conda/envs/ci_env/lib/python3.11/site-packages/torchcodec/
68- ldd /opt/conda/envs/ci_env/lib/python3.11/site-packages/torchcodec/libtorchcodec_core7.so
6967 python -c 'import torchcodec; print(f"{torchcodec.__version__}"); print(f"{torchcodec.__file__}")'
7068 echo "::endgroup::"
7169
You can’t perform that action at this time.
0 commit comments