Test Guide¶
Setting Up the Test Environment¶
Creating a Container¶
vLLM-Omni provides an official Docker image for deployment. These images are built upon vLLM Docker images and are available on Docker Hub. The version of vLLM-Omni indicates which vLLM release it is based on. For a local test environment, you can follow the steps below to create a container:
Installing Dependencies¶
vLLM & vLLM-Omni¶
vLLM-Omni is built based on vLLM. You can follow install guide to build your local environment.
Test Case Dependencies¶
When running test cases, you may need to install the following dependencies:
Running Tests¶
Our test scripts use the pytest framework. First, please use git clone https://github.com/vllm-project/vllm-omni.git to download the vllm-omni source code. Then, in the root directory of vllm-omni, you can run the following commands in your local test environment to execute the corresponding test cases.
test_qwen_omni.json; use --test-config-file tests/dfx/perf/tests/test_tts.json for TTS): The latest L4 (nightly) test commands use the full_model marker and --run-level full_model (see test-nightly.yml and test-nightly-diffusion.yml). Example: L5 includes stability and reliability testing. Typical commands:
cd tests
# Stability: Qwen3-Omni
pytest -s -v dfx/stability/scripts/test_stability_qwen3_omni.py -m slow
# Stability: Wan2.2 (v1/videos diffusion benchmark loop)
pytest -s -v dfx/stability/scripts/test_stability_wan22.py -m slow
# Reliability: Qwen3-Omni
pytest -s -v dfx/reliability/test_reliability_qwen3_omni.py -m slow
# Reliability: Wan2.2
pytest -s -v dfx/reliability/test_reliability_wan22.py -m slow
The latest L5 commands for CI can be found in the pipeline.
You can find more information about markers in the documentation: marker doc
Adding New Test Cases¶
Please refer to the L5 Layering Specification document.