teacher env init

This commit is contained in:
Jai Suphavadeeprasit 2026-03-06 13:58:38 -05:00
parent c421582b6f
commit f44eb810bf
4 changed files with 258 additions and 27 deletions

View file

@ -41,9 +41,7 @@ class _FakeAPIServer(APIServer):
class _FakeRoutedServer:
def __init__(
self, name: str, train_slots: int, eval_slots: int, healthy: bool = True
):
def __init__(self, name: str, train_slots: int, eval_slots: int, healthy: bool = True):
self.name = name
self.server_healthy = healthy
self.sem = AsyncSemWithAdaptiveWeight(4)