File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ jobs:
36
36
37
37
steps :
38
38
- uses : actions/checkout@v4
39
- - name : Set up Python 3.9
39
+ - name : Set up Python 3.10
40
40
uses : actions/setup-python@v4
41
41
with :
42
- python-version : " 3.9 "
42
+ python-version : " 3.10 "
43
43
architecture : " x64"
44
44
45
45
- name : Get year & week number
50
50
- name : Get pip cache dir
51
51
id : pip-cache
52
52
run : |
53
- pip3 install -U pip
53
+ pip3 install -U " pip<24"
54
54
echo "pip_cache=$(pip cache dir)" >> $GITHUB_OUTPUT
55
55
shell : bash -l {0}
56
56
70
70
pip install mkl==2021.4.0
71
71
72
72
## Install torch & xla and torchvision
73
- pip install --pre https://storage.googleapis.com/tpu-pytorch/wheels/colab/torch-nightly-cp39-cp39-linux_x86_64.whl
74
- pip install --pre https://storage.googleapis.com/tpu-pytorch/wheels/colab/torch_xla-nightly-cp39-cp39-linux_x86_64.whl
75
- pip install --pre https://storage.googleapis.com/tpu-pytorch/wheels/colab/torchvision-nightly-cp39-cp39-linux_x86_64.whl
76
-
73
+ pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
74
+ pip install https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-nightly-cp310-cp310-linux_x86_64.whl
75
+
77
76
# Check installation
78
77
python -c "import torch"
79
78
You can’t perform that action at this time.
0 commit comments