chore: cleanup garbage code (#29770)
This commit is contained in:
@@ -7,7 +7,7 @@ The shape:
|
||||
- non-streaming + streaming chat completion
|
||||
- assistant message non-empty, role correct, finish_reason set
|
||||
|
||||
These are the smoke tests that run first; if they pass, the heavier
|
||||
These quick checks run first; if they pass, the heavier
|
||||
multi-worker acceptance tests are worth running.
|
||||
"""
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Two flavors of fixtures coexist here:
|
||||
|
||||
1. **Session-scoped smoke fixtures** (``sglang_server`` + ``router``) —
|
||||
1. **Session-scoped sanity fixtures** (``sglang_server`` + ``router``) —
|
||||
launch ONE SGLang worker + ONE router on fixed ports for the whole
|
||||
test session. Used by the lightweight ``test_chat_smoke.py`` /
|
||||
``test_tokenize_smoke.py`` files. These are the cheap "did the
|
||||
@@ -174,7 +174,7 @@ def build_smoke_router_args(
|
||||
tokenizer_path: str,
|
||||
sglang_url: str,
|
||||
) -> list[str]:
|
||||
"""Build the sgl-router CLI flags the smoke ``router`` fixture launches.
|
||||
"""Build the sgl-router CLI flags the single-worker ``router`` fixture launches.
|
||||
|
||||
Static single-worker discovery (``--worker-urls``) pointed at the one
|
||||
SGLang worker, serving exactly one model.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
minversion = "8.0"
|
||||
# Default discovery: smoke tests (top-level test_*.py) and the
|
||||
# Default discovery: top-level test_*.py files and the
|
||||
# multi-worker chat_completions suite. k8s_integration is intentionally
|
||||
# not in the default set — it requires a kind/k8s cluster and is
|
||||
# invoked explicitly.
|
||||
|
||||
@@ -9,7 +9,7 @@ pytest-asyncio==0.24.0
|
||||
# pin of `huggingface_hub==0.26.2` here got installed AFTER the SGLang
|
||||
# deps and downgraded huggingface_hub past `is_offline_mode`'s top-
|
||||
# level export, which broke `from sglang.srt.server_args import …`
|
||||
# at module import time and turned every smoke test into a 5-minute
|
||||
# at module import time and turned every quick check into a 5-minute
|
||||
# `/health` timeout with no actionable signal.
|
||||
# The e2e suite only uses huggingface_hub's `try_to_load_from_cache`,
|
||||
# which is available in every release SGLang would install.
|
||||
|
||||
Reference in New Issue
Block a user