group: Plugins depends_on: - image-build steps: - label: ":nvidia: (L4) Plugin Integration" key: plugin-tests-2-gpus timeout_in_minutes: 35 working_dir: "/vllm-workspace/tests" device: l4 num_devices: 2 source_file_dependencies: - vllm/plugins/ - tests/plugins/ commands: # begin platform plugin and general plugin tests, all the code in-between runs on dummy platform - pip install -e ./plugins/vllm_add_dummy_platform - pytest -v -s plugins_tests/test_platform_plugins.py - pip uninstall vllm_add_dummy_platform -y # end platform plugin tests # begin io_processor plugins test # test generic io_processor plugins functions - pytest -v -s ./plugins_tests/test_io_processor_plugins.py # test Terratorch io_processor plugins - pip install -e ./plugins/prithvi_io_processor_plugin - pytest -v -s plugins_tests/test_terratorch_io_processor_plugins.py - pip uninstall prithvi_io_processor_plugin -y # test bge_m3_sparse io_processor plugin - pip install -e ./plugins/bge_m3_sparse_plugin - pytest -v -s plugins_tests/test_bge_m3_sparse_io_processor_plugins.py - pip uninstall bge_m3_sparse_plugin -y # test colbert_query io_processor plugin - pip install -e ./plugins/colbert_query_plugin - pytest -v -s plugins_tests/test_colbert_query_io_processor_plugins.py - pip uninstall colbert_query_plugin -y # end io_processor plugins test # begin stat_logger plugins test - pip install -e ./plugins/vllm_add_dummy_stat_logger - pytest -v -s plugins_tests/test_stats_logger_plugins.py - pip uninstall dummy_stat_logger -y # end stat_logger plugins test # begin endpoint plugins test - pip install -e ./plugins/vllm_add_dummy_endpoint_plugin - pytest -v -s plugins_tests/test_endpoint_plugins.py - pip uninstall vllm_add_dummy_endpoint_plugin -y # end endpoint plugins test # other tests continue here: - pytest -v -s plugins_tests/test_scheduler_plugins.py - pip install -e ./plugins/vllm_add_dummy_model - pytest -v -s distributed/test_distributed_oot.py - pytest -v -s plugins_tests/test_oot_registration_online.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_tests/lora_resolvers # unit tests for in-tree lora resolver plugins mirror: amd: label: ":amd: (MI250) Plugin Integration" dind: false device: mi250_2 timeout_in_minutes: 50 depends_on: - image-build-amd source_file_dependencies: - vllm/plugins/ - tests/plugins/ - vllm/platforms/rocm.py - label: ":nvidia: (H200 MIG 18GB) GGUF Plugin" key: gguf-plugin device: h200_18gb timeout_in_minutes: 30 soft_fail: true optional: true source_file_dependencies: - vllm/model_executor/layers/quantization - tests/plugins_tests/test_gguf_plugin.py commands: - pip install "vllm-gguf-plugin >= 0.0.2" - pytest -v -s plugins_tests/gguf mirror: amd: label: ":amd: (MI355 DPX) GGUF Plugin" dind: false device: mi355_dpx timeout_in_minutes: 45 working_dir: "/vllm-workspace/tests" depends_on: - image-build-amd source_file_dependencies: - vllm/model_executor/layers/quantization - tests/plugins_tests/test_gguf_plugin.py - tests/plugins_tests/gguf - vllm/platforms/rocm.py - label: ":nvidia: (H200 MIG 18GB) BitsAndBytes Plugin" key: bitsandbytes-plugin device: h200_18gb timeout_in_minutes: 30 working_dir: "/vllm-workspace/tests" soft_fail: true optional: true source_file_dependencies: - vllm/model_executor/layers/quantization - tests/plugins_tests/bitsandbytes commands: # bitsandbytes' int8 quant syncs internally, and it is out-of-tree, so # there is nothing to wrap on the vLLM side. - unset VLLM_GPU_SYNC_CHECK - pip install "vllm-bnb-plugin >= 0.0.1" - pytest -v -s plugins_tests/bitsandbytes -m 'not distributed' - label: ":nvidia: (L4) BitsAndBytes Plugin" key: bitsandbytes-plugin-2-gpus timeout_in_minutes: 15 working_dir: "/vllm-workspace/tests" device: l4 num_devices: 2 soft_fail: true optional: true source_file_dependencies: - vllm/model_executor/layers/quantization - tests/plugins_tests/bitsandbytes commands: # bitsandbytes' int8 quant syncs internally, and it is out-of-tree, so # there is nothing to wrap on the vLLM side. - unset VLLM_GPU_SYNC_CHECK - pip install "vllm-bnb-plugin >= 0.0.1" - pytest -v -s plugins_tests/bitsandbytes -m 'distributed(num_gpus=2)'