Skip to content

Commit 414f219

Browse files
committed
fix the building ci
1 parent a0c4bfc commit 414f219

4 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/nightly-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
run: bash scripts/linux_cleanup.sh
116116
windows-wheels:
117117
name: Build the windows nightly wheels
118-
runs-on: [self-hosted, windows-build]
118+
runs-on: [self-hosted, win-build]
119119
needs: tag
120120
if: needs.tag.outputs.need_build == 'true' && github.repository == 'nunchaku-tech/nunchaku'
121121
strategy:

.github/workflows/release-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
run: bash scripts/linux_cleanup.sh
9999
windows-wheels:
100100
name: Build the windows release wheels
101-
runs-on: [self-hosted, windows-build]
101+
runs-on: [self-hosted, win-build]
102102
needs: release
103103
strategy:
104104
matrix:

scripts/build_linux_wheel.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ docker run --rm \
3030
cd /nunchaku && \
3131
rm -rf build && \
3232
gcc --version && g++ --version && \
33-
${PYTHON_ROOT_PATH}/bin/pip install uv && \
34-
${PYTHON_ROOT_PATH}/bin/uv pip install --no-cache-dir torch==${TORCH_VERSION} torchvision==${TORCHVISION_VERSION} torchaudio==${TORCHAUDIO_VERSION} --index-url https://download.pytorch.org/whl/cu${CUDA_VERSION//.} && \
35-
${PYTHON_ROOT_PATH}/bin/uv pip install build ninja wheel setuptools && \
33+
${PYTHON_ROOT_PATH}/bin/pip install --no-cache-dir torch==${TORCH_VERSION} torchvision==${TORCHVISION_VERSION} torchaudio==${TORCHAUDIO_VERSION} --index-url https://download.pytorch.org/whl/cu${CUDA_VERSION//.} && \
34+
${PYTHON_ROOT_PATH}/bin/pip install build ninja wheel setuptools && \
3635
export NUNCHAKU_INSTALL_MODE=ALL && \
3736
export NUNCHAKU_BUILD_WHEELS=1 && \
3837
export MAX_JOBS=${MAX_JOBS} && \

scripts/build_linux_wheel_torch_nightly.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ docker run --rm \
2222
cd /nunchaku && \
2323
rm -rf build && \
2424
gcc --version && g++ --version && \
25-
${PYTHON_ROOT_PATH}/bin/pip install uv && \
26-
${PYTHON_ROOT_PATH}/bin/uv pip install --pre --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu${CUDA_VERSION//.} && \
27-
${PYTHON_ROOT_PATH}/bin/uv pip install build ninja wheel setuptools && \
25+
${PYTHON_ROOT_PATH}/bin/pip install --pre --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu${CUDA_VERSION//.} && \
26+
${PYTHON_ROOT_PATH}/bin/pip install build ninja wheel setuptools && \
2827
export NUNCHAKU_INSTALL_MODE=ALL && \
2928
export NUNCHAKU_BUILD_WHEELS=1 && \
3029
export MAX_JOBS=${MAX_JOBS} && \

0 commit comments

Comments
 (0)