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:
49
49
conda create -c conda-forge --strict-channel-priority -y -n ci_env python="${PYTHON_VERSION}" ffmpeg="${FFMPEG_VERSION}" cmake ninja
50
50
conda activate ci_env
51
51
conda info
52
- conda list
53
52
ffmpeg -version
54
53
python -m pip install --upgrade pip
54
+ # We add conda library path as otherwise torchcodec is not
55
+ # able to load ffmpeg shared libraries:
55
56
export LD_LIBRARY_PATH=${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}
56
- echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}"
57
57
echo "::endgroup::"
58
58
59
59
echo "::group::Install TorchAudio test and PyTorch dependencies"
64
64
PYTORCH_WHEEL_INDEX="https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/cpu"
65
65
python -m pip install --pre torch torchcodec --index-url="${PYTORCH_WHEEL_INDEX}"
66
66
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
69
67
python -c 'import torchcodec; print(f"{torchcodec.__version__}"); print(f"{torchcodec.__file__}")'
70
68
echo "::endgroup::"
71
69
You can’t perform that action at this time.
0 commit comments