@@ -2010,13 +2010,13 @@ def __init__(
20102010 and self .router_config
20112011 and self .router_config .router
20122012 ):
2013- # For RL scenario: version.yaml will be required for models in future releases.
2013+ # For RL scenario, version.yaml is required for models
20142014 # Temporarily enforce use router to be enabled.
20152015 self .model_config .read_model_version ()
20162016
20172017 self .read_from_config ()
20182018 self .postprocess ()
2019- self .init_cache_info ()
2019+ self .init_pd_info ()
20202020 if test_mode :
20212021 return
20222022 self .check ()
@@ -2371,18 +2371,17 @@ def print(self):
23712371 logger .info ("{:<20}:{:<6}{}" .format (k , "" , v ))
23722372 logger .info ("=============================================================" )
23732373
2374- def init_cache_info (self ):
2374+ def init_pd_info (self ):
23752375 """
2376- initialize cache info
2376+ initialize info for pd deployment
23772377 """
2378- # TODO: group the splitiwse params
23792378 # There are two methods for splitwise deployment:
23802379 # 1. v0 splitwise_scheduler or dp_scheduler
2381- # 2. v1 local_scheduler + router
2380+ # 2. v1 local_scheduler + router (optional)
23822381 self .splitwise_version = None
23832382 if self .scheduler_config .name in ("splitwise" , "dp" ):
23842383 self .splitwise_version = "v0"
2385- elif self .scheduler_config .name == "local" and self . router_config and self . router_config . router :
2384+ elif self .scheduler_config .name == "local" :
23862385 self .splitwise_version = "v1"
23872386
23882387 # the information for registering this server to router or splitwise_scheduler
0 commit comments