diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml new file mode 100644 index 000000000..1d64f3d8e --- /dev/null +++ b/.buildkite/pipeline.yml @@ -0,0 +1,6 @@ +steps: + - label: ":toolbox: Qwen2.5 omni offline example" + commands: + - ".buildkite/scripts/run_qwen_offline_example.sh" + agents: + queue: "gpu" diff --git a/.buildkite/scripts/run_qwen_offline_example.sh b/.buildkite/scripts/run_qwen_offline_example.sh new file mode 100755 index 000000000..2c3079a74 --- /dev/null +++ b/.buildkite/scripts/run_qwen_offline_example.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env bash + +set -euo pipefail + +ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +cd "${ROOT_DIR}" + +python3 -m venv .venv +source .venv/bin/activate + +python -m pip install --upgrade pip +python -m pip install uv + +uv pip install vllm==0.11.0 --torch-backend=auto +uv pip install -e . + +EXAMPLE_DIR="examples/offline_inference/qwen2_5_omni" +cd "${EXAMPLE_DIR}" + +if [[ ! -f top100.txt ]]; then + echo "Hello from vLLM-omni Buildkite smoke test." > top100.txt +fi + +bash run_multiple_prompts.sh diff --git a/.gitignore b/.gitignore index 6a004ce25..59a839811 100644 --- a/.gitignore +++ b/.gitignore @@ -160,7 +160,7 @@ cython_debug/ docker/ # scripts -scripts/ +/scripts/ # tests tests/