Skip to content

Commit 0b19573

Browse files
committed
updates
1 parent 5c68faf commit 0b19573

File tree

2 files changed

+9
-18
lines changed

2 files changed

+9
-18
lines changed

.github/packaging/pre_build_script.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ build_vllm() {
2727

2828
python use_existing_torch.py
2929
pip install -r requirements/build.txt
30-
pip wheel --no-build-isolation --no-deps . -w "$WHL_DIR"
30+
export VERBOSE=1
31+
export CMAKE_VERBOSE_MAKEFILE=1
32+
export FORCE_CMAKE=1
33+
pip wheel -v --no-build-isolation --no-deps . -w "$WHL_DIR"
3134
}
3235

3336
build_monarch() {

.github/workflows/build_linux_wheels.yaml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
name: Build nightly wheels and publish to PyTorch Index
2-
3-
on:
4-
pull_request:
5-
push:
6-
branches:
7-
- nightly
8-
workflow_dispatch:
9-
10-
permissions:
11-
id-token: write
12-
contents: read
13-
141
jobs:
152
generate-matrix:
16-
# if: github.repository_owner == 'pytorch'
173
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
184
with:
195
package-type: wheel
@@ -30,13 +16,15 @@ jobs:
3016
outputs:
3117
matrix: ${{ steps.filter.outputs.matrix }}
3218
steps:
33-
- name: Filter out CUDA 13 # vLLM v0.10.0 does not built with CUDA 13
19+
- name: Filter out CUDA 13 # vLLM v0.10.0 does not build with CUDA 13
3420
id: filter
3521
run: |
3622
echo '${{ needs.generate-matrix.outputs.matrix }}' \
3723
| jq -c 'del(.include[] | select(.gpu_arch_version == "13.0"))' \
3824
> matrix.json
39-
echo "filtered=$(cat matrix.json)" >> $GITHUB_OUTPUT
25+
echo "Filtered build matrix:"
26+
cat matrix.json | jq .
27+
echo "matrix=$(cat matrix.json)" >> $GITHUB_OUTPUT
4028
build:
4129
needs: filter-matrix
4230
name: ${{ matrix.repository }}
@@ -49,7 +37,7 @@ jobs:
4937
test-infra-repository: pytorch/test-infra
5038
test-infra-ref: main
5139
package-name: forge
52-
build-matrix: ${{ needs.filter-matrix.outputs.filtered }}
40+
build-matrix: ${{ needs.filter-matrix.outputs.matrix }}
5341
pre-script: .github/packaging/pre_build_script.sh
5442
post-script: .github/packaging/post_build_script.sh
5543
trigger-event: ${{ github.event_name }}

0 commit comments

Comments
 (0)