From cf66ee86a4de13f620164bb20027ba104471ec42 Mon Sep 17 00:00:00 2001 From: Alicia <115451386+congw729@users.noreply.github.com> Date: Thu, 26 Mar 2026 09:20:08 +0800 Subject: [PATCH] [CI] Add nightly-test label trigger. (#2172) Signed-off-by: Alicia <115451386+congw729@users.noreply.github.com> Co-authored-by: Gao Han --- .buildkite/pipeline.yml | 6 +++--- .buildkite/test-nightly.yml | 17 +++++++++-------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 29defe078..f265a42f9 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -13,7 +13,7 @@ steps: - label: "Upload Ready Pipeline" depends_on: image-build key: upload-ready-pipeline - if: build.branch != "main" + if: build.branch != "main" && build.pull_request.labels includes "ready" commands: - buildkite-agent pipeline upload .buildkite/test-ready.yml agents: @@ -29,11 +29,11 @@ steps: agents: queue: "cpu_queue_premerge" - # L4 Test + # L4 Test — main+NIGHTLY=1 (scheduled), or PR with label nightly-test (e.g. add label then Rebuild) - label: "Upload Nightly Pipeline" depends_on: image-build key: upload-nightly-pipeline - if: build.branch == "main" && build.env("NIGHTLY") == "1" + if: '(build.branch == "main" && build.env("NIGHTLY") == "1") || (build.branch != "main" && build.pull_request.labels includes "nightly-test")' commands: - buildkite-agent pipeline upload .buildkite/test-nightly.yml agents: diff --git a/.buildkite/test-nightly.yml b/.buildkite/test-nightly.yml index 4a5837d50..c90af9510 100644 --- a/.buildkite/test-nightly.yml +++ b/.buildkite/test-nightly.yml @@ -2,7 +2,7 @@ steps: - label: ":full_moon: Omni Model Test with H100" timeout_in_minutes: 90 depends_on: upload-nightly-pipeline - if: build.env("NIGHTLY") == "1" + if: build.env("NIGHTLY") == "1" || build.pull_request.labels includes "nightly-test" commands: - export VLLM_WORKER_MULTIPROC_METHOD=spawn - | @@ -52,7 +52,7 @@ steps: - label: ":full_moon: Omni Model Test" timeout_in_minutes: 60 depends_on: upload-nightly-pipeline - if: build.env("NIGHTLY") == "1" + if: build.env("NIGHTLY") == "1" || build.pull_request.labels includes "nightly-test" commands: - export VLLM_WORKER_MULTIPROC_METHOD=spawn - pytest -s -v tests/examples/online_serving/test_qwen2_5_omni.py -m "advanced_model" --run-level "advanced_model" @@ -73,7 +73,7 @@ steps: - label: ":full_moon: Diffusion Model Test with H100" timeout_in_minutes: 60 depends_on: upload-nightly-pipeline - if: build.env("NIGHTLY") == "1" + if: build.env("NIGHTLY") == "1" || build.pull_request.labels includes "nightly-test" commands: - export VLLM_WORKER_MULTIPROC_METHOD=spawn - pytest -s -v tests/e2e/online_serving/test_*_expansion.py -m "advanced_model and diffusion and H100" --run-level "advanced_model" @@ -114,7 +114,7 @@ steps: - label: ":full_moon: Diffusion Model Test with L4" timeout_in_minutes: 60 depends_on: upload-nightly-pipeline - if: build.env("NIGHTLY") == "1" + if: build.env("NIGHTLY") == "1" || build.pull_request.labels includes "nightly-test" commands: - export VLLM_WORKER_MULTIPROC_METHOD=spawn - pytest -s -v tests/e2e/online_serving/test_*_expansion.py -m "advanced_model and diffusion and L4" --run-level "advanced_model" @@ -136,7 +136,7 @@ steps: - label: ":full_moon: Documentation Example Code Test with H100" timeout_in_minutes: 60 depends_on: upload-nightly-pipeline - if: build.env("NIGHTLY") == "1" + if: build.env("NIGHTLY") == "1" || build.pull_request.labels includes "nightly-test" commands: - export VLLM_WORKER_MULTIPROC_METHOD=spawn - export VLLM_TEST_CLEAN_GPU_MEMORY="1" @@ -178,7 +178,7 @@ steps: - label: ":full_moon: Qwen3-TTS Non-Async-Chunk E2E Test" timeout_in_minutes: 30 depends_on: upload-nightly-pipeline - if: build.env("NIGHTLY") == "1" + if: build.env("NIGHTLY") == "1" || build.pull_request.labels includes "nightly-test" commands: - | huggingface-cli download Qwen/Qwen3-TTS-12Hz-0.6B-CustomVoice @@ -202,7 +202,7 @@ steps: key: nightly-omni-performance timeout_in_minutes: 180 depends_on: upload-nightly-pipeline - if: build.env("NIGHTLY") == "1" + if: build.env("NIGHTLY") == "1" || build.pull_request.labels includes "nightly-test" commands: - export VLLM_WORKER_MULTIPROC_METHOD=spawn - export BENCHMARK_DIR=tests/perf/results @@ -250,7 +250,7 @@ steps: key: nightly-qwen-image-performance timeout_in_minutes: 300 depends_on: upload-nightly-pipeline - if: build.env("NIGHTLY") == "1" + if: build.env("NIGHTLY") == "1" || build.pull_request.labels includes "nightly-test" commands: - export VLLM_WORKER_MULTIPROC_METHOD=spawn - export DIFFUSION_BENCHMARK_DIR=tests/dfx/perf/results @@ -292,6 +292,7 @@ steps: path: /mnt/hf-cache type: DirectoryOrCreate + # No need to run this step for PRs with label nightly-test - label: ":email: Nightly Collection & Email" key: nightly-perf-distribution depends_on: