Skip to content

Commit a8fe723

Browse files
author
pytorchbot
committed
2025-09-12 nightly release (0e72a50)
1 parent ef81943 commit a8fe723

File tree

10 files changed

+43
-375
lines changed

10 files changed

+43
-375
lines changed

.github/scripts/ffmpeg/build.bat

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/scripts/ffmpeg/build.sh

Lines changed: 0 additions & 163 deletions
This file was deleted.

.github/scripts/ffmpeg/build_gpu.sh

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/scripts/unittest-windows/install.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ fi
3232
printf "Installing PyTorch\n"
3333
pip install --pre torch --index-url https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/${wheel}
3434

35+
python -c "import torch; print(torch.__version__)"
36+
3537
torch_cuda=$(python -c "import torch; print(torch.cuda.is_available())")
3638
echo torch.cuda.is_available is $torch_cuda
3739

@@ -42,6 +44,12 @@ if [ ! -z "${CUDA_VERSION:-}" ] ; then
4244
fi
4345
fi
4446

47+
printf "Installing TorchCodec\n"
48+
# torchcodec nightly has no Windows+CUDA wheels, so we'll use CPU-only
49+
# torchcodec also under CUDA-enabled torch:
50+
pip install --pre torchcodec --index-url https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/cpu
51+
python -c "import torchcodec; print(torchcodec.__version__)"
52+
4553
# 2. Install torchaudio
4654
printf "* Installing fsspec\n" # TODO: is this required for torchaudio??
4755
pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org fsspec

.github/scripts/unittest-windows/run_test.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,9 @@ python -m torch.utils.collect_env
1212
env | grep TORCHAUDIO || true
1313

1414
cd test
15-
pytest --continue-on-collection-errors --cov=torchaudio --junitxml=${RUNNER_TEST_RESULTS_DIR}/junit.xml -v --durations 20 torchaudio_unittest -k "not torchscript and not fairseq and not demucs and not librosa"
15+
if [ -z "${CUDA_VERSION:-}" ] ; then
16+
pytest --continue-on-collection-errors --cov=torchaudio --junitxml=${RUNNER_TEST_RESULTS_DIR}/junit.xml -v --durations 20 torchaudio_unittest -k "not torchscript and not fairseq and not demucs and not librosa"
17+
else
18+
pytest --continue-on-collection-errors --cov=torchaudio --junitxml=${RUNNER_TEST_RESULTS_DIR}/junit.xml -v --durations 20 torchaudio_unittest -k "not cpu and (cuda or gpu) and not torchscript and not fairseq and not demucs and not librosa"
19+
fi
1620
coverage html

.github/scripts/unittest-windows/setup_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ fi
3636
conda activate "${env_dir}"
3737

3838
# 3. Install minimal build tools
39-
conda install -y -c conda-forge cmake ninja
39+
conda install -y -c conda-forge cmake ninja "ffmpeg<8"

.github/workflows/ffmpeg.yml

Lines changed: 0 additions & 108 deletions
This file was deleted.

0 commit comments

Comments
 (0)