forked from vllm-project/vllm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into sharded-tensorizer
* upstream/main: (126 commits) [Bugfix][Frontend] Cleanup "fix chat logprobs" (vllm-project#5026) [Bugfix] OpenAI entrypoint limits logprobs while ignoring server defined --max-logprobs (vllm-project#5312) [Misc] Various simplifications and typing fixes (vllm-project#5368) [ci] Fix Buildkite agent path (vllm-project#5392) [Doc] Add documentation for FP8 W8A8 (vllm-project#5388) Bump version to v0.5.0 (vllm-project#5384) [Docs] Alphabetically sort sponsors (vllm-project#5386) [Docs] Add Docs on Limitations of VLM Support (vllm-project#5383) [ci] Mount buildkite agent on Docker container to upload benchmark results (vllm-project#5330) [ci] Use small_cpu_queue for doc build (vllm-project#5331) [Bugfix] Fix LLaVA-NeXT (vllm-project#5380) [Feature][Frontend]: Continued `stream_options` implementation also in CompletionRequest (vllm-project#5319) [Model] Initial support for LLaVA-NeXT (vllm-project#4199) [Misc] Improve error message when LoRA parsing fails (vllm-project#5194) [misc][typo] fix typo (vllm-project#5372) [Frontend][Misc] Enforce Pixel Values as Input Type for VLMs in API Server (vllm-project#5374) [Misc] Update to comply with the new `compressed-tensors` config (vllm-project#5350) [Bugfix] Fix KeyError: 1 When Using LoRA adapters (vllm-project#5164) [Kernel][Misc] Use TORCH_LIBRARY instead of PYBIND11_MODULE for custom ops (vllm-project#5047) [mis][ci/test] fix flaky test in test_sharded_state_loader.py (vllm-project#5361) ...
- Loading branch information
Showing
269 changed files
with
12,084 additions
and
3,334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import os | ||
import zipfile | ||
|
||
MAX_SIZE_MB = 150 | ||
MAX_SIZE_MB = 200 | ||
|
||
|
||
def print_top_10_largest_files(zip_file): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
# Install system packages | ||
apt update | ||
apt install -y curl jq | ||
|
||
# Install minijinja for templating | ||
curl -sSfL https://github.com/mitsuhiko/minijinja/releases/latest/download/minijinja-cli-installer.sh | sh | ||
source $HOME/.cargo/env | ||
|
||
# If BUILDKITE_PULL_REQUEST != "false", then we check the PR labels using curl and jq | ||
if [ "$BUILDKITE_PULL_REQUEST" != "false" ]; then | ||
PR_LABELS=$(curl -s "https://api.github.com/repos/vllm-project/vllm/pulls/$BUILDKITE_PULL_REQUEST" | jq -r '.labels[].name') | ||
|
||
if [[ $PR_LABELS == *"perf-benchmarks"* ]]; then | ||
echo "This PR has the 'perf-benchmarks' label. Proceeding with the nightly benchmarks." | ||
else | ||
echo "This PR does not have the 'perf-benchmarks' label. Skipping the nightly benchmarks." | ||
exit 0 | ||
fi | ||
fi | ||
|
||
# Upload sample.yaml | ||
buildkite-agent pipeline upload .buildkite/nightly-benchmarks/sample.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
steps: | ||
# NOTE(simon): You can create separate blocks for different jobs | ||
- label: "A100: NVIDIA SMI" | ||
agents: | ||
queue: A100 | ||
plugins: | ||
- kubernetes: | ||
podSpec: | ||
containers: | ||
# - image: us-central1-docker.pkg.dev/vllm-405802/vllm-ci-test-repo/vllm-test:$BUILDKITE_COMMIT | ||
# TODO(simon): check latest main branch or use the PR image. | ||
- image: us-central1-docker.pkg.dev/vllm-405802/vllm-ci-test-repo/vllm-test:45c35f0d58f4508bf43bd6af1d3d0d0ec0c915e6 | ||
command: | ||
- bash -c 'nvidia-smi && nvidia-smi topo -m && pwd && ls' | ||
resources: | ||
limits: | ||
nvidia.com/gpu: 8 | ||
volumeMounts: | ||
- name: devshm | ||
mountPath: /dev/shm | ||
nodeSelector: | ||
nvidia.com/gpu.product: NVIDIA-A100-SXM4-80GB | ||
volumes: | ||
- name: devshm | ||
emptyDir: | ||
medium: Memory | ||
# TODO(simon): bring H100 online | ||
# - label: "H100: NVIDIA SMI" | ||
# agents: | ||
# queue: H100 | ||
# plugins: | ||
# - docker#v5.11.0: | ||
# image: us-central1-docker.pkg.dev/vllm-405802/vllm-ci-test-repo/vllm-test:45c35f0d58f4508bf43bd6af1d3d0d0ec0c915e6 | ||
# command: | ||
# - bash -c 'nvidia-smi && nvidia-smi topo -m' | ||
# propagate-environment: true | ||
# ipc: host | ||
# gpus: all | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{% set docker_image = "public.ecr.aws/q9t5s3a7/vllm-ci-test-repo:$BUILDKITE_COMMIT" %} | ||
{% set default_working_dir = "/vllm-workspace/tests" %} | ||
|
||
steps: | ||
- label: ":docker: build image" | ||
agents: | ||
queue: cpu_queue | ||
commands: | ||
- "aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/q9t5s3a7" | ||
- "docker build --build-arg max_jobs=16 --tag {{ docker_image }} --target test --progress plain ." | ||
- "docker push {{ docker_image }}" | ||
env: | ||
DOCKER_BUILDKIT: "1" | ||
retry: | ||
automatic: | ||
- exit_status: -1 # Agent was lost | ||
limit: 5 | ||
- exit_status: -10 # Agent was lost | ||
limit: 5 | ||
- wait | ||
|
||
{% for step in steps %} | ||
- label: "{{ step.label }}" | ||
agents: | ||
{% if step.label == "Documentation Build" %} | ||
queue: small_cpu_queue | ||
{% elif step.no_gpu %} | ||
queue: cpu_queue | ||
{% elif step.num_gpus == 2 or step.num_gpus == 4 %} | ||
queue: gpu_4_queue | ||
{% else %} | ||
queue: gpu_1_queue | ||
{% endif %} | ||
soft_fail: true | ||
{% if step.parallelism %} | ||
parallelism: {{ step.parallelism }} | ||
{% endif %} | ||
retry: | ||
automatic: | ||
- exit_status: -1 # Agent was lost | ||
limit: 5 | ||
- exit_status: -10 # Agent was lost | ||
limit: 5 | ||
plugins: | ||
- docker#v5.2.0: | ||
image: {{ docker_image }} | ||
always-pull: true | ||
propagate-environment: true | ||
{% if not step.no_gpu %} | ||
gpus: all | ||
{% endif %} | ||
{% if step.label == "Benchmarks" %} | ||
mount-buildkite-agent: true | ||
{% endif %} | ||
command: ["bash", "-c", "cd {{ (step.working_dir or default_working_dir) | safe }} && {{ step.command or (step.commands | join(' && ')) | safe }}"] | ||
environment: | ||
- VLLM_USAGE_SOURCE=ci-test | ||
- HF_TOKEN | ||
{% if step.label == "Speculative decoding tests" %} | ||
- VLLM_ATTENTION_BACKEND=XFORMERS | ||
{% endif %} | ||
volumes: | ||
- /dev/shm:/dev/shm | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.