We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62e7927 commit cdb0af0Copy full SHA for cdb0af0
.github/scripts/unittest-windows/install.sh
@@ -32,6 +32,10 @@ fi
32
printf "Installing PyTorch\n"
33
pip install --pre torch --index-url https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/${wheel}
34
35
+printf "Patching Torch\n"
36
+TORCH_INCLUDE_DIR="$(python -c "import torch,os;print(os.path.join(os.path.dirname(torch.__file__),'include'))")"
37
+curl -L --silent --output ${TORCH_INCLUDE_DIR}/torch/csrc/stable/stableivalue_conversions.h https://raw.githubusercontent.com/pytorch/pytorch/refs/heads/gh/mikaylagawarecki/392/head/torch/csrc/stable/stableivalue_conversions.h
38
+
39
python -c "import torch; print(torch.__version__)"
40
41
torch_cuda=$(python -c "import torch; print(torch.cuda.is_available())")
0 commit comments