[model-gateway] Add model scope support and LRU eviction for GPU-constrained environments (#16525)

This commit is contained in:
Simo Lin
2026-01-05 18:28:07 -08:00
committed by GitHub
parent 76c71d1d34
commit 402a0bd6dc
10 changed files with 1122 additions and 245 deletions
@@ -35,7 +35,7 @@ class TestMMLU:
Note: setup_backend fixture already waits for workers to be ready.
"""
backend, model, client = setup_backend
backend, model, client, *_ = setup_backend
base_url = str(client.base_url).rstrip("/v1")
args = SimpleNamespace(
@@ -59,7 +59,7 @@ class TestMMLU:
Runs MMLU with 128 examples for more statistically
significant results.
"""
backend, model, client = setup_backend
backend, model, client, *_ = setup_backend
base_url = str(client.base_url).rstrip("/v1")
args = SimpleNamespace(