File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
.github/scripts/unittest-windows Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ printf "Installing TorchCodec\n"
5050pip install --pre torchcodec --index-url https://download.pytorch.org/whl/${UPLOAD_CHANNEL} /cpu
5151python -c " import torchcodec; print(torchcodec.__version__)"
5252
53+ printf " Patching Torch\n"
54+ TORCH_INCLUDE_DIR=" $( python -c " import torch,os;print(os.path.join(os.path.dirname(torch.__file__),'include'))" ) "
55+ printf " TORCH_INCLUDE_DIR=${TORCH_INCLUDE_DIR} "
56+ curl -L --silent --output ${TORCH_INCLUDE_DIR} /torch/csrc/stable/stableivalue_conversions.h https://raw.githubusercontent.com/pytorch/pytorch/refs/heads/main/torch/csrc/stable/stableivalue_conversions.h
57+
5358# 2. Install torchaudio
5459printf " * Installing fsspec\n" # TODO: is this required for torchaudio??
5560pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org fsspec
You can’t perform that action at this time.
0 commit comments