test-pipeline.yaml 1.77 KB
Newer Older
Simon Mo's avatar
Simon Mo committed
1
2
3
4
5
6
7
8
9
10
11
12
13
# In this file, you can add more tests to run either by adding a new step or
# adding a new command to an existing step. See different options here for examples.
# This script will be feed into Jinja template in `test-template.j2` to generate
# the final pipeline yaml file.

steps:
- label: Regression Test
  command: pytest -v -s test_regression.py
  working_dir: "/vllm-workspace/tests" # optional

- label: AsyncEngine Test
  command: pytest -v -s async_engine

14
15
16
17
18
19
20
21
22
23
- label: Basic Correctness Test
  command: pytest -v -s --forked basic_correctness

- label: Distributed Comm Ops Test
  command: pytest -v -s --forked test_comm_ops.py
  working_dir: "/vllm-workspace/tests/distributed"
  num_gpus: 2 # only support 1 or 2 for now.

- label: Distributed Correctness Test
  command: pytest -v -s --forked test_basic_distributed_correctness.py
Simon Mo's avatar
Simon Mo committed
24
25
26
27
28
29
  working_dir: "/vllm-workspace/tests/distributed"
  num_gpus: 2 # only support 1 or 2 for now.

- label: Engine Test
  command: pytest -v -s engine

30
31
32
- label: Entrypoints Test
  command: pytest -v -s entrypoints

Simon Mo's avatar
Simon Mo committed
33
34
35
36
37
38
39
40
41
- label: Kernels Test
  command: pytest -v -s kernels
  soft_fail: true

- label: Models Test
  commands:
    - pytest -v -s models --forked
  soft_fail: true

42
43
44
45
- label: Prefix Caching Test
  commands:
    - pytest -v -s prefix_caching

Simon Mo's avatar
Simon Mo committed
46
47
48
49
50
51
- label: Samplers Test
  command: pytest -v -s samplers --forked

- label: Worker Test
  command: pytest -v -s worker

52
- label: LoRA Test
53
  command: pytest -v -s lora --forked
54

55
56
57
- label: Metrics Test
  command: pytest -v -s metrics

Simon Mo's avatar
Simon Mo committed
58
59
60
61
62
- label: Benchmarks
  working_dir: "/vllm-workspace/.buildkite"
  commands:
  - pip install aiohttp
  - bash run-benchmarks.sh
63
64
65
66
67
68
69

- label: Documentation Build
  working_dir: "/vllm-workspace/docs"
  no_gpu: True
  commands:
  - pip install -r requirements-docs.txt
  - SPHINXOPTS=\"-W\" make html