File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ unset PYTORCH_VERSION
11
11
12
12
set -e
13
13
14
- conda install -y " ffmpeg<=7"
14
+ # conda install -y "ffmpeg<=7"
15
15
16
16
export GPU_ARCH_TYPE=" cpu"
17
17
@@ -44,4 +44,4 @@ printf "* Installing test tools\n"
44
44
# On this CI, for whatever reason, we're only able to install ffmpeg 4.
45
45
46
46
47
- pip3 install parameterized requests coverage pytest pytest-cov scipy numpy expecttest
47
+ pip install parameterized requests coverage pytest pytest-cov scipy numpy expecttest
Original file line number Diff line number Diff line change 55
55
git config --global --add safe.directory /__w/audio/audio
56
56
conda create --quiet -y --prefix ci_env python="${PYTHON_VERSION}"
57
57
conda activate ./ci_env
58
- conda install -q -y pip numpy
58
+ conda install -q -y pip numpy "ffmpeg<=7"
59
59
60
60
export PATH="${PWD}/third_party/install/bin/:${PATH}"
61
61
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_APPLY_CMVN_SLIDING=true
Original file line number Diff line number Diff line change @@ -52,12 +52,18 @@ jobs:
52
52
else
53
53
export UPLOAD_CHANNEL=nightly
54
54
fi
55
+
56
+ # Install miniforge
57
+ wget -O Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
58
+ bash Miniforge3.sh -b -p "${HOME}/conda"
59
+ source "${HOME}/conda/etc/profile.d/conda.sh"
55
60
56
61
echo "::group::Create conda env"
57
62
# Mark Build Directory Safe
58
63
git config --global --add safe.directory /__w/audio/audio
59
64
conda create --quiet -y --prefix ci_env python="${PYTHON_VERSION}"
60
65
conda activate ./ci_env
66
+ conda install -q -y pip numpy "ffmpeg<=7"
61
67
62
68
echo "::endgroup::"
63
69
echo "::group::Install PyTorch"
72
78
73
79
echo "::endgroup::"
74
80
echo "::group::Build FFmpeg"
75
- .github/scripts/ffmpeg/build_gpu.sh
81
+
76
82
77
83
echo "::endgroup::"
78
84
echo "::group::Install other Dependencies"
You can’t perform that action at this time.
0 commit comments