From 4f13b871f949d29da952d7582a21d982330f4213 Mon Sep 17 00:00:00 2001 From: Canlin Guo Date: Thu, 14 May 2026 20:37:51 +0800 Subject: [PATCH] [CI] Add Qwen3-TTS tests for ready tag (#3600) Signed-off-by: gcanlin --- .buildkite/pipeline-npu.yaml | 22 +++++++++++++--------- .buildkite/test-npu-ready.yaml | 21 +++++++++++++++++++++ docker/Dockerfile.npu.ci | 8 +++++++- docker/Dockerfile.npu.ci.a3 | 8 +++++++- 4 files changed, 48 insertions(+), 11 deletions(-) create mode 100644 .buildkite/test-npu-ready.yaml diff --git a/.buildkite/pipeline-npu.yaml b/.buildkite/pipeline-npu.yaml index 960c15de2..161b0e944 100644 --- a/.buildkite/pipeline-npu.yaml +++ b/.buildkite/pipeline-npu.yaml @@ -78,15 +78,19 @@ steps: echo "--- Image pushed successfully" echo "$${IMAGE_REGISTRY}/$${IMAGE_NAME}:$${VLLM_IMAGE_TAG}" - # - label: "Upload Ready Pipeline" - # depends_on: image-build - # key: upload-ready-pipeline - # if: build.branch != "main" && build.pull_request.labels includes "npu-test" - # agents: - # queue: "ascend-a2b3" - # resource_class: "npu-1" - # command: | - # buildkite-agent pipeline upload .buildkite/test-npu-ready.yaml + - label: "Upload Ready Pipeline" + depends_on: image-build + key: upload-ready-pipeline + if: >- + build.branch != "main" && ( + build.pull_request.labels includes "npu-test" || + build.pull_request.labels includes "ready" + ) + agents: + queue: "ascend-a2b3" + resource_class: "npu-1" + command: | + buildkite-agent pipeline upload .buildkite/test-npu-ready.yaml # L4 Test — main+NIGHTLY=1 (scheduled), or PR with specific label (e.g. add label then Rebuild) - label: "Upload Nightly Pipeline" diff --git a/.buildkite/test-npu-ready.yaml b/.buildkite/test-npu-ready.yaml new file mode 100644 index 000000000..e1fe20d60 --- /dev/null +++ b/.buildkite/test-npu-ready.yaml @@ -0,0 +1,21 @@ +steps: + - group: ":card_index_dividers: TTS Model Test" + key: ready-tts-group + depends_on: upload-ready-pipeline + steps: + - label: ":sound: TTS · Qwen3-TTS CustomVoice Test" + agents: + queue: "ascend-a2b3" + resource_class: "npu-1" + image: "swr.cn-southwest-2.myhuaweicloud.com/modelfoundry/vllm-omni-ci-npu:${BUILDKITE_COMMIT}" + plugins: + - kubernetes: + podSpecPatch: + imagePullSecrets: + - name: swr-secret + env: + VLLM_WORKER_MULTIPROC_METHOD: spawn + VLLM_ALLOW_LONG_MAX_MODEL_LEN: "1" + HF_TOKEN: "${HF_TOKEN}" + commands: + - pytest -s -v tests/e2e/online_serving/test_qwen3_tts_customvoice.py -m 'core_model' --run-level 'core_model' diff --git a/docker/Dockerfile.npu.ci b/docker/Dockerfile.npu.ci index 1a78d6bd5..e6cc3d472 100644 --- a/docker/Dockerfile.npu.ci +++ b/docker/Dockerfile.npu.ci @@ -15,7 +15,8 @@ RUN apt-get update && \ libsm6 \ libxext6 \ libxrender1 \ - libxcb1 && \ + libxcb1 \ + espeak-ng && \ rm -rf /var/cache/apt/* && \ rm -rf /var/lib/apt/lists/* @@ -29,6 +30,11 @@ RUN source /usr/local/Ascend/ascend-toolkit/set_env.sh && \ "pytest-cov>=4.0.0" \ "pytest-mock>=3.10.0" \ "openpyxl>=3.0.0" \ + "psutil>=7.2.0" \ + "soundfile>=0.13.1" \ + "pyttsx3>=2.99" \ + "opencv-python>=4.12.0.88" \ + "imageio[ffmpeg]>=0.6.0" \ --index-url http://cache-service.nginx-pypi-cache.svc.cluster.local/pypi/simple \ --trusted-host cache-service.nginx-pypi-cache.svc.cluster.local \ --default-timeout=60 && \ diff --git a/docker/Dockerfile.npu.ci.a3 b/docker/Dockerfile.npu.ci.a3 index 552760553..9ddb356f9 100644 --- a/docker/Dockerfile.npu.ci.a3 +++ b/docker/Dockerfile.npu.ci.a3 @@ -15,7 +15,8 @@ RUN apt-get update && \ libsm6 \ libxext6 \ libxrender1 \ - libxcb1 && \ + libxcb1 \ + espeak-ng && \ rm -rf /var/cache/apt/* && \ rm -rf /var/lib/apt/lists/* @@ -29,6 +30,11 @@ RUN source /usr/local/Ascend/ascend-toolkit/set_env.sh && \ "pytest-cov>=4.0.0" \ "pytest-mock>=3.10.0" \ "openpyxl>=3.0.0" \ + "psutil>=7.2.0" \ + "soundfile>=0.13.1" \ + "pyttsx3>=2.99" \ + "opencv-python>=4.12.0.88" \ + "imageio[ffmpeg]>=0.6.0" \ --index-url http://cache-service.nginx-pypi-cache.svc.cluster.local/pypi/simple \ --trusted-host cache-service.nginx-pypi-cache.svc.cluster.local \ --default-timeout=60 && \