[CI]Split GPU jobs by cards_* and reject hand-written SKU marks (#6650)
Signed-off-by: wangyu <410167048@qq.com> Signed-off-by: [Your Name] <your.email@example.com>
This commit is contained in:
1 parent
c50b7de167
commit
e338f0ece3
31 files changed
+896
-402
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM-Omni project
|
||||
|
||||
"""Pytest CLI options and the fixtures that expose them."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
def pytest_addoption(parser):
|
||||
parser.addoption(
|
||||
"--run-level",
|
||||
action="store",
|
||||
default="core_model",
|
||||
choices=["core_model", "advanced_model", "full_model"],
|
||||
help="Test level to run: L2, L3, L4",
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def run_level(request) -> str:
|
||||
"""Session test level from ``--run-level`` (see CI five-level docs)."""
|
||||
return request.config.getoption("--run-level")
|
||||
Reference in new issue
Block a user