Skip to content

Commit f6afc0e

Browse files
committed
chore: specify max_jobs to 16 to avoid losing connection
1 parent 8615734 commit f6afc0e

4 files changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/nightly-build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ jobs:
138138
run: |
139139
call C:\Users\nunchaku\miniconda3\condabin\activate.bat activate
140140
IF "${{ matrix.torch }}"=="pre" (
141-
call scripts\build_windows_wheel_torch_nightly.cmd ${{ matrix.python }} ${{ matrix.torch }} ${{ matrix.cuda }}
141+
call scripts\build_windows_wheel_torch_nightly.cmd ${{ matrix.python }} ${{ matrix.torch }} ${{ matrix.cuda }} 16
142142
) ELSE (
143-
call scripts\build_windows_wheel.cmd ${{ matrix.python }} ${{ matrix.torch }} ${{ matrix.cuda }}
143+
call scripts\build_windows_wheel.cmd ${{ matrix.python }} ${{ matrix.torch }} ${{ matrix.cuda }} 16
144144
)
145145
- name: Upload wheels to GitHub Release
146146
uses: softprops/action-gh-release@v2

.github/workflows/release-build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ jobs:
123123
run: |
124124
call C:\Users\nunchaku\miniconda3\condabin\activate.bat activate
125125
IF "${{ matrix.torch }}"=="pre" (
126-
call scripts\build_windows_wheel_torch_nightly.cmd ${{ matrix.python }} ${{ matrix.torch }} ${{ matrix.cuda }}
126+
call scripts\build_windows_wheel_torch_nightly.cmd ${{ matrix.python }} ${{ matrix.torch }} ${{ matrix.cuda }} 16
127127
) ELSE (
128-
call scripts\build_windows_wheel.cmd ${{ matrix.python }} ${{ matrix.torch }} ${{ matrix.cuda }}
128+
call scripts\build_windows_wheel.cmd ${{ matrix.python }} ${{ matrix.torch }} ${{ matrix.cuda }} 16
129129
)
130130
- name: Upload wheels to GitHub Release
131131
uses: softprops/action-gh-release@v2

scripts/build_windows_wheel.cmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ setlocal enabledelayedexpansion
55
set PYTHON_VERSION=%1
66
set TORCH_VERSION=%2
77
set CUDA_VERSION=%3
8+
set MAX_JOBS=%4
89

910
set CUDA_SHORT_VERSION=%CUDA_VERSION:.=%
10-
echo %CUDA_SHORT_VERSION%
11+
echo CUDA_SHORT_VERSION: %CUDA_SHORT_VERSION%
12+
echo MAX_JOBS: %MAX_JOBS%
1113

1214
:: setup some variables
1315
if "%TORCH_VERSION%"=="2.8" (

scripts/build_windows_wheel_torch_nightly.cmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ setlocal enabledelayedexpansion
55
set PYTHON_VERSION=%1
66
set TORCH_VERSION=%2
77
set CUDA_VERSION=%3
8+
set MAX_JOBS=%4
89

910
set CUDA_SHORT_VERSION=%CUDA_VERSION:.=%
10-
echo %CUDA_SHORT_VERSION%
11+
echo CUDA_SHORT_VERSION: %CUDA_SHORT_VERSION%
12+
echo MAX_JOBS: %MAX_JOBS%
1113

1214
:: conda environment name
1315
set ENV_NAME=build_env_%PYTHON_VERSION%_%TORCH_VERSION%

0 commit comments

Comments
 (0)