7777    strategy :
7878      matrix :
7979        python : ["3.10", "3.11", "3.12", "3.13"] 
80-         torch : ["2.5", "2.6", "2.7", "2.8", "2.9"] 
81-         exclude :
82-           - python : " 3.13" 
83-             torch : " 2.5" 
80+         torch : ["2.7", "2.8", "2.9", "pre"] 
8481    steps :
8582      - name : Checkout to the tag 
8683        uses : actions/checkout@v4 
@@ -92,12 +89,12 @@ jobs:
9289        run : git log -1 --oneline 
9390      - name : Build wheels 
9491        run : | 
95-           if [[ "${{ matrix.torch }}" == "2.7" || "${{ matrix.torch }}" == "2.8" ]]; then 
92+           if [[ "${{ matrix.torch }}" == "2.7" || "${{ matrix.torch }}" == "2.8" || "${{ matrix.torch }}" == "2.9"  ]]; then 
9693            cuda_version="12.8" 
9794          else 
9895            cuda_version="12.4" 
9996          fi 
100-           if [[ "${{ matrix.torch }}" == "2.9 " ]]; then 
97+           if [[ "${{ matrix.torch }}" == "pre " ]]; then 
10198            bash scripts/build_linux_wheel_torch_nightly.sh ${{ matrix.python }} ${{ matrix.torch }} 12.8 
10299          else 
103100            bash scripts/build_linux_wheel.sh ${{ matrix.python }} ${{ matrix.torch }} $cuda_version 
@@ -122,10 +119,7 @@ jobs:
122119    strategy :
123120      matrix :
124121        python : ["3.10", "3.11", "3.12", "3.13"] 
125-         torch : ["2.5", "2.6", "2.7", "2.8", "2.9"] 
126-         exclude :
127-           - python : " 3.13" 
128-             torch : " 2.5" 
122+         torch : ["2.7", "2.8", "2.9", "pre"] 
129123    steps :
130124      - name : Checkout to the tag 
131125        uses : actions/checkout@v4 
@@ -144,11 +138,13 @@ jobs:
144138            SET CUDA_VERSION=12.8 
145139          ) ELSE IF "%TORCH_VERSION%"=="2.8" ( 
146140            SET CUDA_VERSION=12.8 
141+           ) ELSE IF "%TORCH_VERSION%"=="2.9" ( 
142+             SET CUDA_VERSION=12.8 
147143          ) ELSE ( 
148144            SET CUDA_VERSION=12.4 
149145          ) 
150146          call C:\Users\muyangl\miniconda3\condabin\activate.bat activate 
151-           IF "%TORCH_VERSION%"=="2.9 " ( 
147+           IF "%TORCH_VERSION%"=="pre " ( 
152148            call scripts\build_windows_wheel_torch_nightly.cmd %PYTHON_VERSION% %TORCH_VERSION% %CUDA_VERSION% 
153149          ) ELSE ( 
154150            call scripts\build_windows_wheel.cmd %PYTHON_VERSION% %TORCH_VERSION% %CUDA_VERSION% 
0 commit comments