[CI] Reorganize entrypoints CI (#44947)
Signed-off-by: wang.yuqi <yuqi.wang@daocloud.io>
This commit is contained in:
+83
-80
@@ -88,16 +88,16 @@
|
|||||||
# - Do NOT remove `VLLM_WORKER_MULTIPROC_METHOD=spawn` setting as ROCm requires this for certain models to function. #
|
# - Do NOT remove `VLLM_WORKER_MULTIPROC_METHOD=spawn` setting as ROCm requires this for certain models to function. #
|
||||||
# * [Transformers Nightly Models]: Whisper needs `VLLM_WORKER_MULTIPROC_METHOD=spawn` to avoid deadlock. #
|
# * [Transformers Nightly Models]: Whisper needs `VLLM_WORKER_MULTIPROC_METHOD=spawn` to avoid deadlock. #
|
||||||
# * [Plugin Tests (2 GPUs)]: #
|
# * [Plugin Tests (2 GPUs)]: #
|
||||||
# - {`pytest -v -s entrypoints/openai/test_oot_registration.py`}: It needs a clean process #
|
# - {`pytest -v -s plugins_tests/test_oot_registration_online.py`}: It needs a clean process #
|
||||||
# - {`pytest -v -s models/test_oot_registration.py`}: It needs a clean process #
|
# - {`pytest -v -s plugins_tests/test_oot_registration_offline.py`}: It needs a clean process #
|
||||||
# - {`pytest -v -s plugins/lora_resolvers`}: Unit tests for in-tree lora resolver plugins #
|
# - {`pytest -v -s plugins_tests/lora_resolvers`}: Unit tests for in-tree lora resolver plugins #
|
||||||
# * [LoRA TP (Distributed)]: #
|
# * [LoRA TP (Distributed)]: #
|
||||||
# - There is some Tensor Parallelism related processing logic in LoRA that requires multi-GPU testing for validation. #
|
# - There is some Tensor Parallelism related processing logic in LoRA that requires multi-GPU testing for validation. #
|
||||||
# - {`pytest -v -s -x lora/test_gptoss_tp.py`}: Disabled for now because MXFP4 backend on non-cuda platform doesn't support #
|
# - {`pytest -v -s -x lora/test_gptoss_tp.py`}: Disabled for now because MXFP4 backend on non-cuda platform doesn't support #
|
||||||
# LoRA yet. #
|
# LoRA yet. #
|
||||||
# * [Distributed Tests (NxGPUs)(HW-TAG)]: Don't test llama model here, it seems hf implementation is buggy. See: #
|
# * [Distributed Tests (NxGPUs)(HW-TAG)]: Don't test llama model here, it seems hf implementation is buggy. See: #
|
||||||
# https://github.com/vllm-project/vllm/pull/5689 #
|
# https://github.com/vllm-project/vllm/pull/5689 #
|
||||||
# * [Distributed Tests (NxGPUs)(HW-TAG)]: Some old E2E tests were removed in https://github.com/vllm-project/vllm/pull/33293 #
|
# * [Distributed Tests (NxGPUs)(HW-TAG)]: Some old E2E tests were removed in https://github.com/vllm-project/vllm/pull/33293 #
|
||||||
# in favor of new tests in fusions_e2e. We avoid replicating the new jobs in #
|
# in favor of new tests in fusions_e2e. We avoid replicating the new jobs in #
|
||||||
# this file as it's deprecated. #
|
# this file as it's deprecated. #
|
||||||
# #
|
# #
|
||||||
@@ -617,9 +617,9 @@ steps:
|
|||||||
- pytest -v -s plugins_tests/test_scheduler_plugins.py
|
- pytest -v -s plugins_tests/test_scheduler_plugins.py
|
||||||
- pip install -e ./plugins/vllm_add_dummy_model
|
- pip install -e ./plugins/vllm_add_dummy_model
|
||||||
- pytest -v -s distributed/test_distributed_oot.py
|
- pytest -v -s distributed/test_distributed_oot.py
|
||||||
- pytest -v -s entrypoints/openai/chat_completion/test_oot_registration.py
|
- pytest -v -s plugins_tests/test_oot_registration_online.py # it needs a clean process
|
||||||
- pytest -v -s models/test_oot_registration.py
|
- pytest -v -s plugins_tests/test_oot_registration_offline.py # it needs a clean process
|
||||||
- pytest -v -s plugins/lora_resolvers
|
- pytest -v -s plugins_tests/lora_resolvers # unit tests for in-tree lora resolver plugins
|
||||||
|
|
||||||
#------------------------------------------------------------ mi250 · v1 -------------------------------------------------------------#
|
#------------------------------------------------------------ mi250 · v1 -------------------------------------------------------------#
|
||||||
|
|
||||||
@@ -1187,7 +1187,39 @@ steps:
|
|||||||
|
|
||||||
#-------------------------------------------------------- mi300 · entrypoints --------------------------------------------------------#
|
#-------------------------------------------------------- mi300 · entrypoints --------------------------------------------------------#
|
||||||
|
|
||||||
- label: Entrypoints Integration (API Server 2) # TBD
|
- label: Entrypoints Unit Tests # TBD
|
||||||
|
timeout_in_minutes: 180
|
||||||
|
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
||||||
|
agent_pool: mi300_1
|
||||||
|
fast_check: true
|
||||||
|
working_dir: "/vllm-workspace/tests"
|
||||||
|
source_file_dependencies:
|
||||||
|
- vllm/entrypoints
|
||||||
|
- tests/entrypoints/unit_tests
|
||||||
|
- tests/entrypoints/weight_transfer
|
||||||
|
- vllm/platforms/rocm.py
|
||||||
|
commands:
|
||||||
|
- pytest -v -s entrypoints/unit_tests
|
||||||
|
- pytest -v -s entrypoints/weight_transfer
|
||||||
|
|
||||||
|
- label: Entrypoints Integration (LLM) # TBD
|
||||||
|
timeout_in_minutes: 180
|
||||||
|
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
||||||
|
agent_pool: mi300_1
|
||||||
|
optional: true
|
||||||
|
fast_check: true
|
||||||
|
torch_nightly: true
|
||||||
|
working_dir: "/vllm-workspace/tests"
|
||||||
|
source_file_dependencies:
|
||||||
|
- vllm/
|
||||||
|
- tests/entrypoints/llm
|
||||||
|
commands:
|
||||||
|
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
||||||
|
- pytest -v -s entrypoints/llm --ignore=entrypoints/llm/test_generate.py --ignore=entrypoints/llm/test_collective_rpc.py --ignore=entrypoints/llm/offline_mode
|
||||||
|
- pytest -v -s entrypoints/llm/test_generate.py # it needs a clean process
|
||||||
|
- pytest -v -s entrypoints/llm/offline_mode # Needs to avoid interference with other tests
|
||||||
|
|
||||||
|
- label: Entrypoints Integration (API Server) # TBD
|
||||||
timeout_in_minutes: 180
|
timeout_in_minutes: 180
|
||||||
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
||||||
agent_pool: mi300_1
|
agent_pool: mi300_1
|
||||||
@@ -1203,7 +1235,7 @@ steps:
|
|||||||
- pytest -v -s entrypoints/serve --ignore=entrypoints/serve/dev/rpc
|
- pytest -v -s entrypoints/serve --ignore=entrypoints/serve/dev/rpc
|
||||||
- PYTHONPATH=/vllm-workspace pytest -v -s entrypoints/serve/dev/rpc
|
- PYTHONPATH=/vllm-workspace pytest -v -s entrypoints/serve/dev/rpc
|
||||||
|
|
||||||
- label: Entrypoints Integration (API Server openai - Part 1) # TBD
|
- label: Entrypoints Integration (API Server OpenAI - Part 1) # TBD
|
||||||
timeout_in_minutes: 180
|
timeout_in_minutes: 180
|
||||||
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
||||||
agent_pool: mi300_1
|
agent_pool: mi300_1
|
||||||
@@ -1217,30 +1249,26 @@ steps:
|
|||||||
- tests/entrypoints/test_chat_utils
|
- tests/entrypoints/test_chat_utils
|
||||||
commands:
|
commands:
|
||||||
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
||||||
- pytest -v -s entrypoints/openai/chat_completion --ignore=entrypoints/openai/chat_completion/test_oot_registration.py
|
- pytest -v -s entrypoints/openai/ --ignore=entrypoints/openai/completion --ignore=entrypoints/openai/chat_completion --ignore=entrypoints/openai/responses --ignore=entrypoints/openai/correctness
|
||||||
|
|
||||||
- label: Entrypoints Integration (API Server openai - Part 2) # TBD
|
- label: Entrypoints Integration (API Server OpenAI - Part 2) # TBD
|
||||||
timeout_in_minutes: 180
|
timeout_in_minutes: 180
|
||||||
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
||||||
agent_pool: mi300_1
|
agent_pool: mi300_1
|
||||||
optional: true
|
|
||||||
fast_check: true
|
fast_check: true
|
||||||
torch_nightly: true
|
torch_nightly: true
|
||||||
|
optional: true
|
||||||
working_dir: "/vllm-workspace/tests"
|
working_dir: "/vllm-workspace/tests"
|
||||||
source_file_dependencies:
|
source_file_dependencies:
|
||||||
- vllm/
|
- vllm/
|
||||||
- tests/entrypoints/openai
|
- tests/entrypoints/openai
|
||||||
- tests/entrypoints/test_chat_utils
|
- tests/entrypoints/test_chat_utils
|
||||||
- tests/entrypoints/generate
|
|
||||||
- tests/tool_use
|
|
||||||
commands:
|
commands:
|
||||||
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
||||||
|
- pytest -v -s entrypoints/openai/chat_completion
|
||||||
- pytest -v -s entrypoints/openai/completion --ignore=entrypoints/openai/completion/test_tensorizer_entrypoint.py
|
- pytest -v -s entrypoints/openai/completion --ignore=entrypoints/openai/completion/test_tensorizer_entrypoint.py
|
||||||
- pytest -v -s entrypoints/test_chat_utils.py
|
|
||||||
- pytest -v -s entrypoints/generate
|
|
||||||
- pytest -v -s tool_use
|
|
||||||
|
|
||||||
- label: Entrypoints Integration (API Server openai - Part 3) # TBD
|
- label: Entrypoints Integration (API Server Generate) # TBD
|
||||||
timeout_in_minutes: 180
|
timeout_in_minutes: 180
|
||||||
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
||||||
agent_pool: mi300_1
|
agent_pool: mi300_1
|
||||||
@@ -1250,11 +1278,30 @@ steps:
|
|||||||
working_dir: "/vllm-workspace/tests"
|
working_dir: "/vllm-workspace/tests"
|
||||||
source_file_dependencies:
|
source_file_dependencies:
|
||||||
- vllm/
|
- vllm/
|
||||||
- tests/entrypoints/openai
|
- tests/tool_use
|
||||||
- tests/entrypoints/test_chat_utils
|
- tests/entrypoints/tool_parsers
|
||||||
|
- tests/entrypoints/anthropic
|
||||||
|
- tests/entrypoints/generate
|
||||||
commands:
|
commands:
|
||||||
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
||||||
- pytest -v -s entrypoints/openai --ignore=entrypoints/openai/chat_completion --ignore=entrypoints/openai/completion --ignore=entrypoints/openai/correctness/ --ignore=entrypoints/openai/tool_parsers/ --ignore=entrypoints/openai/responses --ignore=entrypoints/openai/test_multi_api_servers.py
|
- pytest -v -s tool_use
|
||||||
|
- pytest -v -s entrypoints/tool_parsers
|
||||||
|
- pytest -v -s entrypoints/generate
|
||||||
|
- pytest -v -s entrypoints/anthropic
|
||||||
|
|
||||||
|
- label: Entrypoints Integration (Responses API) # TBD
|
||||||
|
timeout_in_minutes: 180
|
||||||
|
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
||||||
|
agent_pool: mi300_1
|
||||||
|
fast_check: true
|
||||||
|
torch_nightly: true
|
||||||
|
working_dir: "/vllm-workspace/tests"
|
||||||
|
source_file_dependencies:
|
||||||
|
- vllm/
|
||||||
|
- tests/entrypoints/openai/responses
|
||||||
|
commands:
|
||||||
|
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
||||||
|
- pytest -v -s entrypoints/openai/responses
|
||||||
|
|
||||||
- label: Entrypoints Integration (Speech to Text) # TBD
|
- label: Entrypoints Integration (Speech to Text) # TBD
|
||||||
timeout_in_minutes: 180
|
timeout_in_minutes: 180
|
||||||
@@ -1284,23 +1331,6 @@ steps:
|
|||||||
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
||||||
- pytest -v -s entrypoints/multimodal
|
- pytest -v -s entrypoints/multimodal
|
||||||
|
|
||||||
- label: Entrypoints Integration (LLM) # TBD
|
|
||||||
timeout_in_minutes: 180
|
|
||||||
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
|
||||||
agent_pool: mi300_1
|
|
||||||
optional: true
|
|
||||||
fast_check: true
|
|
||||||
torch_nightly: true
|
|
||||||
working_dir: "/vllm-workspace/tests"
|
|
||||||
source_file_dependencies:
|
|
||||||
- vllm/
|
|
||||||
- tests/entrypoints/llm
|
|
||||||
commands:
|
|
||||||
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
|
||||||
- pytest -v -s entrypoints/llm --ignore=entrypoints/llm/test_generate.py --ignore=entrypoints/llm/test_collective_rpc.py --ignore=entrypoints/llm/offline_mode
|
|
||||||
- pytest -v -s entrypoints/llm/test_generate.py # it needs a clean process
|
|
||||||
- pytest -v -s entrypoints/llm/offline_mode # Needs to avoid interference with other tests
|
|
||||||
|
|
||||||
- label: Entrypoints Integration (Pooling) # TBD
|
- label: Entrypoints Integration (Pooling) # TBD
|
||||||
timeout_in_minutes: 180
|
timeout_in_minutes: 180
|
||||||
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
||||||
@@ -1315,34 +1345,6 @@ steps:
|
|||||||
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
||||||
- pytest -v -s entrypoints/pooling
|
- pytest -v -s entrypoints/pooling
|
||||||
|
|
||||||
- label: Entrypoints Integration (Responses API) # TBD
|
|
||||||
timeout_in_minutes: 180
|
|
||||||
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
|
||||||
agent_pool: mi300_1
|
|
||||||
fast_check: true
|
|
||||||
torch_nightly: true
|
|
||||||
working_dir: "/vllm-workspace/tests"
|
|
||||||
source_file_dependencies:
|
|
||||||
- vllm/
|
|
||||||
- tests/entrypoints/openai/responses
|
|
||||||
commands:
|
|
||||||
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
|
||||||
- pytest -v -s entrypoints/openai/responses
|
|
||||||
|
|
||||||
- label: Entrypoints Unit Tests # TBD
|
|
||||||
timeout_in_minutes: 180
|
|
||||||
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
|
||||||
agent_pool: mi300_1
|
|
||||||
fast_check: true
|
|
||||||
working_dir: "/vllm-workspace/tests"
|
|
||||||
source_file_dependencies:
|
|
||||||
- vllm/entrypoints
|
|
||||||
- tests/entrypoints/
|
|
||||||
- vllm/platforms/rocm.py
|
|
||||||
commands:
|
|
||||||
- pytest -v -s entrypoints/openai/tool_parsers
|
|
||||||
- pytest -v -s entrypoints/ --ignore=entrypoints/llm --ignore=entrypoints/openai --ignore=entrypoints/serve --ignore=entrypoints/test_chat_utils.py --ignore=entrypoints/pooling --ignore=entrypoints/speech_to_text --ignore=entrypoints/pooling --ignore=entrypoints/multimodal --ignore=entrypoints/generate
|
|
||||||
|
|
||||||
- label: OpenAI API correctness # TBD
|
- label: OpenAI API correctness # TBD
|
||||||
timeout_in_minutes: 180
|
timeout_in_minutes: 180
|
||||||
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
mirror_hardwares: [amdexperimental, amdproduction, amdgfx942nightly, amdmi300]
|
||||||
@@ -1352,7 +1354,6 @@ steps:
|
|||||||
source_file_dependencies:
|
source_file_dependencies:
|
||||||
- csrc/
|
- csrc/
|
||||||
- vllm/entrypoints/openai/
|
- vllm/entrypoints/openai/
|
||||||
- vllm/model_executor/models/whisper.py
|
|
||||||
- vllm/model_executor/layers/
|
- vllm/model_executor/layers/
|
||||||
- vllm/v1/attention/backends/
|
- vllm/v1/attention/backends/
|
||||||
- vllm/v1/attention/selector.py
|
- vllm/v1/attention/selector.py
|
||||||
@@ -2797,7 +2798,7 @@ steps:
|
|||||||
|
|
||||||
#-------------------------------------------------------- mi355 · entrypoints --------------------------------------------------------#
|
#-------------------------------------------------------- mi355 · entrypoints --------------------------------------------------------#
|
||||||
|
|
||||||
- label: Entrypoints Integration (API Server 2) # TBD
|
- label: Entrypoints Integration (API Server) # TBD
|
||||||
timeout_in_minutes: 180
|
timeout_in_minutes: 180
|
||||||
mirror_hardwares: [amdexperimental, amdproduction, amdgfx950nightly, amdmi355]
|
mirror_hardwares: [amdexperimental, amdproduction, amdgfx950nightly, amdmi355]
|
||||||
agent_pool: mi355_1
|
agent_pool: mi355_1
|
||||||
@@ -2813,7 +2814,7 @@ steps:
|
|||||||
- pytest -v -s entrypoints/serve --ignore=entrypoints/serve/dev/rpc
|
- pytest -v -s entrypoints/serve --ignore=entrypoints/serve/dev/rpc
|
||||||
- PYTHONPATH=/vllm-workspace pytest -v -s entrypoints/serve/dev/rpc
|
- PYTHONPATH=/vllm-workspace pytest -v -s entrypoints/serve/dev/rpc
|
||||||
|
|
||||||
- label: Entrypoints Integration (API Server openai - Part 1) # TBD
|
- label: Entrypoints Integration (API Server OpenAI - Part 1) # TBD
|
||||||
timeout_in_minutes: 180
|
timeout_in_minutes: 180
|
||||||
mirror_hardwares: [amdexperimental, amdproduction, amdgfx950nightly, amdmi355]
|
mirror_hardwares: [amdexperimental, amdproduction, amdgfx950nightly, amdmi355]
|
||||||
agent_pool: mi355_1
|
agent_pool: mi355_1
|
||||||
@@ -2827,9 +2828,9 @@ steps:
|
|||||||
- tests/entrypoints/test_chat_utils
|
- tests/entrypoints/test_chat_utils
|
||||||
commands:
|
commands:
|
||||||
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
||||||
- pytest -v -s entrypoints/openai/chat_completion --ignore=entrypoints/openai/chat_completion/test_oot_registration.py
|
- pytest -v -s entrypoints/openai --ignore=entrypoints/openai/completion --ignore=entrypoints/openai/chat_completion --ignore=entrypoints/openai/responses --ignore=entrypoints/openai/correctness
|
||||||
|
|
||||||
- label: Entrypoints Integration (API Server openai - Part 2) # TBD
|
- label: Entrypoints Integration (API Server OpenAI - Part 2) # TBD
|
||||||
timeout_in_minutes: 180
|
timeout_in_minutes: 180
|
||||||
mirror_hardwares: [amdexperimental, amdproduction, amdgfx950nightly, amdmi355]
|
mirror_hardwares: [amdexperimental, amdproduction, amdgfx950nightly, amdmi355]
|
||||||
agent_pool: mi355_1
|
agent_pool: mi355_1
|
||||||
@@ -2841,29 +2842,31 @@ steps:
|
|||||||
- vllm/
|
- vllm/
|
||||||
- tests/entrypoints/openai
|
- tests/entrypoints/openai
|
||||||
- tests/entrypoints/test_chat_utils
|
- tests/entrypoints/test_chat_utils
|
||||||
- tests/entrypoints/generate
|
|
||||||
- tests/tool_use
|
|
||||||
commands:
|
commands:
|
||||||
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
||||||
|
- pytest -v -s entrypoints/openai/chat_completion
|
||||||
- pytest -v -s entrypoints/openai/completion --ignore=entrypoints/openai/completion/test_tensorizer_entrypoint.py
|
- pytest -v -s entrypoints/openai/completion --ignore=entrypoints/openai/completion/test_tensorizer_entrypoint.py
|
||||||
- pytest -v -s entrypoints/test_chat_utils.py
|
|
||||||
- pytest -v -s entrypoints/generate
|
|
||||||
- pytest -v -s tool_use
|
|
||||||
|
|
||||||
- label: Entrypoints Integration (API Server openai - Part 3) # TBD
|
- label: Entrypoints Integration (API Server Generate) # TBD
|
||||||
timeout_in_minutes: 180
|
timeout_in_minutes: 180
|
||||||
mirror_hardwares: [amdexperimental, amdproduction, amdgfx950nightly, amdmi355]
|
mirror_hardwares: [amdexperimental, amdproduction, amdgfx950nightly, amdmi355]
|
||||||
agent_pool: mi355_1
|
agent_pool: mi355_1
|
||||||
fast_check: true
|
fast_check: true
|
||||||
torch_nightly: true
|
torch_nightly: true
|
||||||
|
optional: true
|
||||||
working_dir: "/vllm-workspace/tests"
|
working_dir: "/vllm-workspace/tests"
|
||||||
source_file_dependencies:
|
source_file_dependencies:
|
||||||
- vllm/
|
- vllm/
|
||||||
- tests/entrypoints/openai
|
- tests/tool_use
|
||||||
- tests/entrypoints/test_chat_utils
|
- tests/entrypoints/tool_parsers
|
||||||
|
- tests/entrypoints/anthropic
|
||||||
|
- tests/entrypoints/generate
|
||||||
commands:
|
commands:
|
||||||
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
||||||
- pytest -v -s entrypoints/openai --ignore=entrypoints/openai/chat_completion --ignore=entrypoints/openai/completion --ignore=entrypoints/openai/correctness/ --ignore=entrypoints/openai/tool_parsers/ --ignore=entrypoints/openai/responses --ignore=entrypoints/openai/test_multi_api_servers.py
|
- pytest -v -s tool_use
|
||||||
|
- pytest -v -s entrypoints/tool_parsers
|
||||||
|
- pytest -v -s entrypoints/generate
|
||||||
|
- pytest -v -s entrypoints/anthropic
|
||||||
|
|
||||||
- label: Entrypoints Integration (Speech to Text) # TBD
|
- label: Entrypoints Integration (Speech to Text) # TBD
|
||||||
timeout_in_minutes: 180
|
timeout_in_minutes: 180
|
||||||
|
|||||||
@@ -8,10 +8,11 @@ steps:
|
|||||||
working_dir: "/vllm-workspace/tests"
|
working_dir: "/vllm-workspace/tests"
|
||||||
source_file_dependencies:
|
source_file_dependencies:
|
||||||
- vllm/entrypoints
|
- vllm/entrypoints
|
||||||
- tests/entrypoints/
|
- tests/entrypoints/unit_tests
|
||||||
|
- tests/entrypoints/weight_transfer
|
||||||
commands:
|
commands:
|
||||||
- pytest -v -s entrypoints/openai/tool_parsers
|
- pytest -v -s entrypoints/unit_tests
|
||||||
- pytest -v -s entrypoints/ --ignore=entrypoints/llm --ignore=entrypoints/openai --ignore=entrypoints/serve --ignore=entrypoints/test_chat_utils.py --ignore=entrypoints/pooling --ignore=entrypoints/speech_to_text --ignore=entrypoints/multimodal --ignore=entrypoints/generate
|
- pytest -v -s entrypoints/weight_transfer
|
||||||
|
|
||||||
- label: Entrypoints Integration (LLM)
|
- label: Entrypoints Integration (LLM)
|
||||||
key: entrypoints-integration-llm
|
key: entrypoints-integration-llm
|
||||||
@@ -31,68 +32,9 @@ steps:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- image-build-amd
|
- image-build-amd
|
||||||
|
|
||||||
- label: Entrypoints Integration (API Server openai - Part 1)
|
- label: Entrypoints Integration (API Server)
|
||||||
key: entrypoints-integration-api-server-openai-part-1
|
key: entrypoints-integration-api-server
|
||||||
timeout_in_minutes: 50
|
|
||||||
working_dir: "/vllm-workspace/tests"
|
|
||||||
source_file_dependencies:
|
|
||||||
- vllm/
|
|
||||||
- tests/entrypoints/openai
|
|
||||||
- tests/entrypoints/test_chat_utils
|
|
||||||
commands:
|
|
||||||
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
|
||||||
- pytest -v -s entrypoints/openai/chat_completion --ignore=entrypoints/openai/chat_completion/test_oot_registration.py
|
|
||||||
mirror:
|
|
||||||
amd:
|
|
||||||
device: mi300_1
|
|
||||||
timeout_in_minutes: 80
|
|
||||||
depends_on:
|
|
||||||
- image-build-amd
|
|
||||||
|
|
||||||
- label: Entrypoints Integration (API Server openai - Part 2)
|
|
||||||
key: entrypoints-integration-api-server-openai-part-2
|
|
||||||
timeout_in_minutes: 50
|
|
||||||
working_dir: "/vllm-workspace/tests"
|
|
||||||
source_file_dependencies:
|
|
||||||
- vllm/
|
|
||||||
- tests/entrypoints/openai
|
|
||||||
- tests/entrypoints/test_chat_utils
|
|
||||||
- tests/entrypoints/generate
|
|
||||||
- tests/tool_use
|
|
||||||
commands:
|
|
||||||
- pytest -v -s entrypoints/openai/completion --ignore=entrypoints/openai/completion/test_tensorizer_entrypoint.py
|
|
||||||
- pytest -v -s entrypoints/test_chat_utils.py
|
|
||||||
- pytest -v -s entrypoints/generate
|
|
||||||
- pytest -v -s tool_use
|
|
||||||
mirror:
|
|
||||||
amd:
|
|
||||||
device: mi300_1
|
|
||||||
timeout_in_minutes: 60
|
|
||||||
depends_on:
|
|
||||||
- image-build-amd
|
|
||||||
|
|
||||||
- label: Entrypoints Integration (API Server openai - Part 3)
|
|
||||||
key: entrypoints-integration-api-server-openai-part-3
|
|
||||||
timeout_in_minutes: 50
|
|
||||||
device: h200_18gb
|
|
||||||
working_dir: "/vllm-workspace/tests"
|
|
||||||
source_file_dependencies:
|
|
||||||
- vllm/
|
|
||||||
- tests/entrypoints/openai
|
|
||||||
- tests/entrypoints/test_chat_utils
|
|
||||||
commands:
|
|
||||||
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
|
||||||
- pytest -v -s entrypoints/openai --ignore=entrypoints/openai/chat_completion --ignore=entrypoints/openai/completion --ignore=entrypoints/openai/correctness/ --ignore=entrypoints/openai/tool_parsers/ --ignore=entrypoints/openai/responses --ignore=entrypoints/openai/test_multi_api_servers.py
|
|
||||||
mirror:
|
|
||||||
amd:
|
|
||||||
device: mi325_1
|
|
||||||
timeout_in_minutes: 60
|
|
||||||
depends_on:
|
|
||||||
- image-build-amd
|
|
||||||
|
|
||||||
- label: Entrypoints Integration (API Server 2)
|
|
||||||
device: h200_35gb
|
device: h200_35gb
|
||||||
key: entrypoints-integration-api-server-2
|
|
||||||
timeout_in_minutes: 130
|
timeout_in_minutes: 130
|
||||||
working_dir: "/vllm-workspace/tests"
|
working_dir: "/vllm-workspace/tests"
|
||||||
source_file_dependencies:
|
source_file_dependencies:
|
||||||
@@ -108,6 +50,75 @@ steps:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- image-build-amd
|
- image-build-amd
|
||||||
|
|
||||||
|
- label: Entrypoints Integration (API Server OpenAI - Part 1)
|
||||||
|
key: entrypoints-integration-api-server-openai-part-1
|
||||||
|
timeout_in_minutes: 50
|
||||||
|
working_dir: "/vllm-workspace/tests"
|
||||||
|
source_file_dependencies:
|
||||||
|
- vllm/
|
||||||
|
- tests/entrypoints/openai
|
||||||
|
- tests/entrypoints/test_chat_utils
|
||||||
|
commands:
|
||||||
|
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
||||||
|
- pytest -v -s entrypoints/openai --ignore=entrypoints/openai/completion --ignore=entrypoints/openai/chat_completion --ignore=entrypoints/openai/responses --ignore=entrypoints/openai/correctness
|
||||||
|
mirror:
|
||||||
|
amd:
|
||||||
|
device: mi300_1
|
||||||
|
timeout_in_minutes: 80
|
||||||
|
depends_on:
|
||||||
|
- image-build-amd
|
||||||
|
|
||||||
|
- label: Entrypoints Integration (API Server OpenAI - Part 2)
|
||||||
|
key: entrypoints-integration-api-server-openai-part-2
|
||||||
|
timeout_in_minutes: 50
|
||||||
|
working_dir: "/vllm-workspace/tests"
|
||||||
|
source_file_dependencies:
|
||||||
|
- vllm/
|
||||||
|
- tests/entrypoints/openai
|
||||||
|
- tests/entrypoints/test_chat_utils
|
||||||
|
commands:
|
||||||
|
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
||||||
|
- pytest -v -s entrypoints/openai/chat_completion
|
||||||
|
- pytest -v -s entrypoints/openai/completion --ignore=entrypoints/openai/completion/test_tensorizer_entrypoint.py
|
||||||
|
mirror:
|
||||||
|
amd:
|
||||||
|
device: mi300_1
|
||||||
|
timeout_in_minutes: 80
|
||||||
|
depends_on:
|
||||||
|
- image-build-amd
|
||||||
|
|
||||||
|
- label: Entrypoints Integration (API Server Generate)
|
||||||
|
key: entrypoints-integration-api-server-generate
|
||||||
|
timeout_in_minutes: 50
|
||||||
|
working_dir: "/vllm-workspace/tests"
|
||||||
|
source_file_dependencies:
|
||||||
|
- vllm/
|
||||||
|
- tests/tool_use
|
||||||
|
- tests/entrypoints/tool_parsers
|
||||||
|
- tests/entrypoints/anthropic
|
||||||
|
- tests/entrypoints/generate
|
||||||
|
commands:
|
||||||
|
- pytest -v -s tool_use
|
||||||
|
- pytest -v -s entrypoints/tool_parsers
|
||||||
|
- pytest -v -s entrypoints/generate
|
||||||
|
- pytest -v -s entrypoints/anthropic
|
||||||
|
mirror:
|
||||||
|
amd:
|
||||||
|
device: mi300_1
|
||||||
|
timeout_in_minutes: 60
|
||||||
|
depends_on:
|
||||||
|
- image-build-amd
|
||||||
|
|
||||||
|
- label: Entrypoints Integration (Responses API)
|
||||||
|
key: entrypoints-integration-responses-api
|
||||||
|
timeout_in_minutes: 50
|
||||||
|
working_dir: "/vllm-workspace/tests"
|
||||||
|
source_file_dependencies:
|
||||||
|
- vllm/
|
||||||
|
- tests/entrypoints/openai/responses
|
||||||
|
commands:
|
||||||
|
- pytest -v -s entrypoints/openai/responses
|
||||||
|
|
||||||
- label: Entrypoints Integration (Speech to Text)
|
- label: Entrypoints Integration (Speech to Text)
|
||||||
device: h200_35gb
|
device: h200_35gb
|
||||||
key: entrypoints-integration-speech_to_text
|
key: entrypoints-integration-speech_to_text
|
||||||
@@ -143,16 +154,6 @@ steps:
|
|||||||
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
- export VLLM_WORKER_MULTIPROC_METHOD=spawn
|
||||||
- pytest -v -s entrypoints/pooling
|
- pytest -v -s entrypoints/pooling
|
||||||
|
|
||||||
- label: Entrypoints Integration (Responses API)
|
|
||||||
key: entrypoints-integration-responses-api
|
|
||||||
timeout_in_minutes: 50
|
|
||||||
working_dir: "/vllm-workspace/tests"
|
|
||||||
source_file_dependencies:
|
|
||||||
- vllm/
|
|
||||||
- tests/entrypoints/openai/responses
|
|
||||||
commands:
|
|
||||||
- pytest -v -s entrypoints/openai/responses
|
|
||||||
|
|
||||||
- label: OpenAI API Correctness
|
- label: OpenAI API Correctness
|
||||||
key: openai-api-correctness
|
key: openai-api-correctness
|
||||||
timeout_in_minutes: 30
|
timeout_in_minutes: 30
|
||||||
@@ -170,7 +171,6 @@ steps:
|
|||||||
source_file_dependencies:
|
source_file_dependencies:
|
||||||
- csrc/
|
- csrc/
|
||||||
- vllm/entrypoints/openai/
|
- vllm/entrypoints/openai/
|
||||||
- vllm/model_executor/models/whisper.py
|
|
||||||
- vllm/model_executor/layers/
|
- vllm/model_executor/layers/
|
||||||
- vllm/v1/attention/backends/
|
- vllm/v1/attention/backends/
|
||||||
- vllm/v1/attention/selector.py
|
- vllm/v1/attention/selector.py
|
||||||
|
|||||||
@@ -37,6 +37,6 @@ steps:
|
|||||||
- pytest -v -s plugins_tests/test_scheduler_plugins.py
|
- pytest -v -s plugins_tests/test_scheduler_plugins.py
|
||||||
- pip install -e ./plugins/vllm_add_dummy_model
|
- pip install -e ./plugins/vllm_add_dummy_model
|
||||||
- pytest -v -s distributed/test_distributed_oot.py
|
- pytest -v -s distributed/test_distributed_oot.py
|
||||||
- pytest -v -s entrypoints/openai/chat_completion/test_oot_registration.py # it needs a clean process
|
- pytest -v -s plugins_tests/test_oot_registration_online.py # it needs a clean process
|
||||||
- pytest -v -s models/test_oot_registration.py # it needs a clean process
|
- pytest -v -s plugins_tests/test_oot_registration_offline.py # it needs a clean process
|
||||||
- pytest -v -s plugins/lora_resolvers # unit tests for in-tree lora resolver plugins
|
- pytest -v -s plugins_tests/lora_resolvers # unit tests for in-tree lora resolver plugins
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
||||||
|
|
||||||
from tests.entrypoints.openai.chat_completion.test_oot_registration import (
|
from tests.plugins_tests.test_oot_registration_online import (
|
||||||
run_and_test_dummy_opt_api_server,
|
run_and_test_dummy_opt_api_server,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ import json
|
|||||||
import openai
|
import openai
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from ....utils import RemoteOpenAIServer
|
from tests.utils import RemoteOpenAIServer
|
||||||
|
|
||||||
MODEL = "ibm-granite/granite-4.0-h-tiny"
|
MODEL = "ibm-granite/granite-4.0-h-tiny"
|
||||||
|
|
||||||
+1
-2
@@ -9,12 +9,11 @@ import pytest_asyncio
|
|||||||
from huggingface_hub import snapshot_download
|
from huggingface_hub import snapshot_download
|
||||||
from typing_extensions import TypedDict
|
from typing_extensions import TypedDict
|
||||||
|
|
||||||
|
from tests.utils import RemoteOpenAIServer
|
||||||
from vllm.tool_parsers.abstract_tool_parser import ToolParser
|
from vllm.tool_parsers.abstract_tool_parser import ToolParser
|
||||||
from vllm.tool_parsers.granite4_tool_parser import Granite4ToolParser
|
from vllm.tool_parsers.granite4_tool_parser import Granite4ToolParser
|
||||||
from vllm.tool_parsers.hermes_tool_parser import Hermes2ProToolParser
|
from vllm.tool_parsers.hermes_tool_parser import Hermes2ProToolParser
|
||||||
|
|
||||||
from ....utils import RemoteOpenAIServer
|
|
||||||
|
|
||||||
LORA_MODEL = "minpeter/LoRA-Llama-3.2-1B-tool-vllm-ci"
|
LORA_MODEL = "minpeter/LoRA-Llama-3.2-1B-tool-vllm-ci"
|
||||||
|
|
||||||
TOOLS = [
|
TOOLS = [
|
||||||
+1
-1
@@ -9,7 +9,7 @@ import pytest
|
|||||||
import pytest_asyncio
|
import pytest_asyncio
|
||||||
from rapidfuzz import fuzz
|
from rapidfuzz import fuzz
|
||||||
|
|
||||||
from ....utils import RemoteOpenAIServer
|
from tests.utils import RemoteOpenAIServer
|
||||||
|
|
||||||
MODEL_NAME = "openai/gpt-oss-20b"
|
MODEL_NAME = "openai/gpt-oss-20b"
|
||||||
|
|
||||||
+1
-2
@@ -3,12 +3,11 @@
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
from tests.utils import create_new_process_for_each_test
|
||||||
from vllm import LLM, SamplingParams
|
from vllm import LLM, SamplingParams
|
||||||
from vllm.assets.image import ImageAsset
|
from vllm.assets.image import ImageAsset
|
||||||
from vllm.multimodal.image import convert_image_mode
|
from vllm.multimodal.image import convert_image_mode
|
||||||
|
|
||||||
from ..utils import create_new_process_for_each_test
|
|
||||||
|
|
||||||
|
|
||||||
@create_new_process_for_each_test()
|
@create_new_process_for_each_test()
|
||||||
def test_plugin(
|
def test_plugin(
|
||||||
Reference in New Issue
Block a user