Skip to content

Commit 84d2a99

Browse files
committed
Clean up
1 parent 2e29a83 commit 84d2a99

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/unittest-linux-cpu.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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"
@@ -64,8 +64,6 @@ jobs:
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

0 commit comments

Comments
 (0)