@@ -3,6 +3,8 @@ name: install
33on :
44 pull_request :
55
6+ workflow_dispatch :
7+
68jobs :
79 channel :
810 strategy :
@@ -12,10 +14,10 @@ jobs:
1214 - windows-latest
1315 - macos-latest
1416 python-version :
15- - " 3.8"
1617 - " 3.9"
1718 - " 3.10"
1819 - " 3.11"
20+ - " 3.12"
1921 pytorch-channel :
2022 - stable
2123 - test
2628
2729 steps :
2830 - name : Checkout repository
29- uses : actions/checkout@v2
31+ uses : actions/checkout@v4
3032 with :
3133 fetch-depth : 0
3234
@@ -65,29 +67,32 @@ jobs:
6567 - windows-latest
6668 - macos-latest
6769 python-version :
68- - " 3.8"
6970 - " 3.9"
7071 - " 3.10"
7172 - " 3.11"
73+ - " 3.12"
7274 pytorch-computation-backend :
7375 - cpu
74- - cu117
7576 - cu118
77+ - cu121
78+ - cu124
7679 exclude :
77- - os : macos-latest
78- pytorch-computation-backend : cu117
7980 - os : macos-latest
8081 pytorch-computation-backend : cu118
82+ - os : macos-latest
83+ pytorch-computation-backend : cu121
84+ - os : macos-latest
85+ pytorch-computation-backend : cu124
8186 # TODO: find a way to test this
8287 # - os: ubuntu-latest
83- # pytorch-computation-backend: rocm5.4 .2
88+ # pytorch-computation-backend: rocm6 .2
8489 fail-fast : false
8590
8691 runs-on : ${{ matrix.os }}
8792
8893 steps :
8994 - name : Checkout repository
90- uses : actions/checkout@v3
95+ uses : actions/checkout@v4
9196 with :
9297 fetch-depth : 0
9398
@@ -102,7 +107,7 @@ jobs:
102107 - name : Install torch
103108 run :
104109 ltt install --pytorch-computation-backend=${{
105- matrix.pytorch-computation-backend }} torch==2.0.0
110+ matrix.pytorch-computation-backend }} torch==2.5.1
106111
107112 - name : Check computation backend
108113 shell : python
@@ -140,7 +145,7 @@ jobs:
140145
141146 steps :
142147 - name : Checkout repository
143- uses : actions/checkout@v3
148+ uses : actions/checkout@v4
144149 with :
145150 fetch-depth : 0
146151
0 commit comments