Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 0 additions & 87 deletions sgl-model-gateway/e2e_test/backends.py

This file was deleted.

242 changes: 0 additions & 242 deletions sgl-model-gateway/e2e_test/fixtures/router_manager.py

This file was deleted.

6 changes: 3 additions & 3 deletions sgl-model-gateway/e2e_test/fixtures/setup_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,12 +373,12 @@ def _setup_cloud_backend(
gateway_config: Gateway configuration from marker.
"""
import openai
from backends import CLOUD_RUNTIMES, launch_cloud_gateway
from infra import THIRD_PARTY_MODELS, launch_cloud_gateway

if backend_name not in CLOUD_RUNTIMES:
if backend_name not in THIRD_PARTY_MODELS:
pytest.fail(f"Unknown cloud runtime: {backend_name}")

cfg = CLOUD_RUNTIMES[backend_name]
cfg = THIRD_PARTY_MODELS[backend_name]
api_key_env = cfg.get("api_key_env")

if api_key_env and not os.environ.get(api_key_env):
Expand Down
6 changes: 5 additions & 1 deletion sgl-model-gateway/e2e_test/infra/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
Runtime,
WorkerType,
)
from .gateway import Gateway, WorkerInfo
from .gateway import Gateway, WorkerInfo, launch_cloud_gateway
from .gpu_allocator import (
GPUAllocator,
GPUInfo,
Expand Down Expand Up @@ -54,6 +54,7 @@
FUNCTION_CALLING_MODELS,
MODEL_SPECS,
REASONING_MODELS,
THIRD_PARTY_MODELS,
)
from .process_utils import (
detect_ib_device,
Expand Down Expand Up @@ -121,6 +122,7 @@
# Gateway
"Gateway",
"WorkerInfo",
"launch_cloud_gateway",
# Default model paths
"DEFAULT_MODEL_PATH",
"DEFAULT_SMALL_MODEL_PATH",
Expand All @@ -135,6 +137,8 @@
"EMBEDDING_MODELS",
"REASONING_MODELS",
"FUNCTION_CALLING_MODELS",
# Third-party models
"THIRD_PARTY_MODELS",
# Evaluation
"run_eval",
]
Loading
Loading