File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
.github/scripts/unittest-linux Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -77,18 +77,21 @@ PYTORCH_WHEEL_INDEX="https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/${GPU_AR
77
77
pip install --progress-bar=off --pre torch torchcodec --index-url=" ${PYTORCH_WHEEL_INDEX} "
78
78
79
79
80
- # 2. Install torchaudio
80
+
81
+
82
+ # 2. Install build tools
83
+ export LD_LIBRARY_PATH=/opt/rh/gcc-toolset-11/root/usr/local/:$LD_LIBRARY_PATH
84
+ echo $LD_LIBRARY_PATH
85
+ conda install -y -c conda-forge ' ffmpeg>=6,<7'
86
+
81
87
conda install --quiet -y ninja cmake
82
88
89
+ # 3. Install torchaudio
83
90
printf " * Installing torchaudio\n"
84
91
export BUILD_CPP_TEST=1
85
92
python setup.py install
86
93
87
- # 3. Install Test tools
88
- export LD_LIBRARY_PATH=/usr/local/lib64:$LD_LIBRARY_PATH
89
- echo $LD_LIBRARY_PATH
90
- conda install -y -c conda-forge ' ffmpeg>=6,<7'
91
-
94
+ # 4. Install test tools
92
95
python -c " import torch; import torchaudio; import torchcodec; print(torch.__version__, torchaudio.__version__, torchcodec.__version__)"
93
96
94
97
printf " * Installing test tools\n"
You can’t perform that action at this time.
0 commit comments