7777 strategy :
7878 matrix :
7979 python : ["3.10", "3.11", "3.12"]
80- torch : ["2.5", "2.6", "2.7", "2.8"]
80+ torch : ["2.5", "2.6", "2.7", "2.8", "2.9" ]
8181 steps :
8282 - name : Checkout to the tag
8383 uses : actions/checkout@v4
@@ -89,13 +89,13 @@ jobs:
8989 run : git log -1 --oneline
9090 - name : Build wheels
9191 run : |
92- if [[ "${{ matrix.torch }}" == "2.7" ]]; then
92+ if [[ "${{ matrix.torch }}" == "2.7" || "${{ matrix.torch }}" == "2.8" ]]; then
9393 cuda_version="12.8"
9494 else
9595 cuda_version="12.4"
9696 fi
97- if [[ "${{ matrix.torch }}" == "2.8 " ]]; then
98- bash scripts/build_linux_wheel_torch2.8 .sh ${{ matrix.python }} ${{ matrix.torch }} 12.8
97+ if [[ "${{ matrix.torch }}" == "2.9 " ]]; then
98+ bash scripts/build_linux_wheel_torch_nightly .sh ${{ matrix.python }} ${{ matrix.torch }} 12.8
9999 else
100100 bash scripts/build_linux_wheel.sh ${{ matrix.python }} ${{ matrix.torch }} $cuda_version
101101 fi
@@ -119,7 +119,7 @@ jobs:
119119 strategy :
120120 matrix :
121121 python : ["3.10", "3.11", "3.12"]
122- torch : ["2.5", "2.6", "2.7", "2.8"]
122+ torch : ["2.5", "2.6", "2.7", "2.8", "2.9" ]
123123 steps :
124124 - name : Checkout to the tag
125125 uses : actions/checkout@v4
@@ -134,14 +134,14 @@ jobs:
134134 run : |
135135 SET TORCH_VERSION=${{ matrix.torch }}
136136 SET PYTHON_VERSION=${{ matrix.python }}
137- IF "%TORCH_VERSION%"=="2.7" (
137+ IF "%TORCH_VERSION%"=="2.7" OR "%TORCH_VERSION%"=="2.8" (
138138 SET CUDA_VERSION=12.8
139139 ) ELSE (
140140 SET CUDA_VERSION=12.4
141141 )
142142 call C:\Users\muyangl\miniconda3\condabin\activate.bat activate
143- IF "%TORCH_VERSION%"=="2.8 " (
144- call scripts\build_windows_wheel_torch2.8 .cmd %PYTHON_VERSION% %TORCH_VERSION% %CUDA_VERSION%
143+ IF "%TORCH_VERSION%"=="2.9 " (
144+ call scripts\build_windows_wheel_torch_nightly .cmd %PYTHON_VERSION% %TORCH_VERSION% %CUDA_VERSION%
145145 ) ELSE (
146146 call scripts\build_windows_wheel.cmd %PYTHON_VERSION% %TORCH_VERSION% %CUDA_VERSION%
147147 )
0 commit comments