Skip to content

Commit 95b4cdf

Browse files
committed
Revert "[CI] Renovation of nightly wheel build & generation (#29690)"
This reverts commit 36db0a3.
1 parent 8b886aa commit 95b4cdf

File tree

9 files changed

+181
-568
lines changed

9 files changed

+181
-568
lines changed

.buildkite/generate_index.py

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
3+
4+
import argparse
5+
import os
6+
7+
template = """<!DOCTYPE html>
8+
<html>
9+
<body>
10+
<h1>Links for vLLM</h1/>
11+
<a href="../{x86_wheel_html_escaped}">{x86_wheel}</a><br/>
12+
<a href="../{arm_wheel_html_escaped}">{arm_wheel}</a><br/>
13+
</body>
14+
</html>
15+
"""
16+
17+
parser = argparse.ArgumentParser()
18+
parser.add_argument("--wheel", help="The wheel path.", required=True)
19+
args = parser.parse_args()
20+
21+
filename = os.path.basename(args.wheel)
22+
23+
with open("index.html", "w") as f:
24+
print(f"Generated index.html for {args.wheel}")
25+
# sync the abi tag with .buildkite/scripts/upload-wheels.sh
26+
if "x86_64" in filename:
27+
x86_wheel = filename
28+
arm_wheel = filename.replace("x86_64", "aarch64").replace(
29+
"manylinux1", "manylinux2014"
30+
)
31+
elif "aarch64" in filename:
32+
x86_wheel = filename.replace("aarch64", "x86_64").replace(
33+
"manylinux2014", "manylinux1"
34+
)
35+
arm_wheel = filename
36+
else:
37+
raise ValueError(f"Unsupported wheel: {filename}")
38+
# cloudfront requires escaping the '+' character
39+
f.write(
40+
template.format(
41+
x86_wheel=x86_wheel,
42+
x86_wheel_html_escaped=x86_wheel.replace("+", "%2B"),
43+
arm_wheel=arm_wheel,
44+
arm_wheel_html_escaped=arm_wheel.replace("+", "%2B"),
45+
)
46+
)

.buildkite/release-pipeline.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ steps:
88
commands:
99
# #NOTE: torch_cuda_arch_list is derived from upstream PyTorch build files here:
1010
# https://github.com/pytorch/pytorch/blob/main/.ci/aarch64_linux/aarch64_ci_build.sh#L7
11-
- "DOCKER_BUILDKIT=1 docker build --build-arg max_jobs=16 --build-arg USE_SCCACHE=1 --build-arg GIT_REPO_CHECK=1 --build-arg CUDA_VERSION=12.9.1 --build-arg torch_cuda_arch_list='8.7 8.9 9.0 10.0+PTX 12.0' --tag vllm-ci:build-image --target build --progress plain -f docker/Dockerfile ."
11+
- "DOCKER_BUILDKIT=1 docker build --build-arg max_jobs=16 --build-arg USE_SCCACHE=1 --build-arg GIT_REPO_CHECK=1 --build-arg CUDA_VERSION=12.9.1 --build-arg VLLM_MAIN_CUDA_VERSION=12.9 --build-arg torch_cuda_arch_list='8.7 8.9 9.0 10.0+PTX 12.0' --tag vllm-ci:build-image --target build --progress plain -f docker/Dockerfile ."
1212
- "mkdir artifacts"
1313
- "docker run --rm -v $(pwd)/artifacts:/artifacts_host vllm-ci:build-image bash -c 'cp -r dist /artifacts_host && chmod -R a+rw /artifacts_host'"
1414
- "bash .buildkite/scripts/upload-wheels.sh"
@@ -30,6 +30,19 @@ steps:
3030
DOCKER_BUILDKIT: "1"
3131

3232
# x86 + CUDA builds
33+
- label: "Build wheel - CUDA 12.8"
34+
depends_on: ~
35+
id: build-wheel-cuda-12-8
36+
agents:
37+
queue: cpu_queue_postmerge
38+
commands:
39+
- "DOCKER_BUILDKIT=1 docker build --build-arg max_jobs=16 --build-arg USE_SCCACHE=1 --build-arg GIT_REPO_CHECK=1 --build-arg CUDA_VERSION=12.8.1 --tag vllm-ci:build-image --target build --progress plain -f docker/Dockerfile ."
40+
- "mkdir artifacts"
41+
- "docker run --rm -v $(pwd)/artifacts:/artifacts_host vllm-ci:build-image bash -c 'cp -r dist /artifacts_host && chmod -R a+rw /artifacts_host'"
42+
- "bash .buildkite/scripts/upload-wheels.sh"
43+
env:
44+
DOCKER_BUILDKIT: "1"
45+
3346
- label: "Build wheel - CUDA 12.9"
3447
depends_on: ~
3548
id: build-wheel-cuda-12-9
@@ -96,6 +109,7 @@ steps:
96109
- label: "Annotate release workflow"
97110
depends_on:
98111
- create-multi-arch-manifest
112+
- build-wheel-cuda-12-8
99113
id: annotate-release-workflow
100114
agents:
101115
queue: cpu_queue_postmerge

0 commit comments

Comments
 (0)