Super tiny fix unused code in router (#14618)
This commit is contained in:
@@ -692,10 +692,6 @@ class RouterArgs:
|
|||||||
def _validate_router_args(self):
|
def _validate_router_args(self):
|
||||||
# Validate configuration based on mode
|
# Validate configuration based on mode
|
||||||
if self.pd_disaggregation:
|
if self.pd_disaggregation:
|
||||||
# Allow empty URLs even without service discovery to support dynamic worker addition
|
|
||||||
# URLs will be validated separately if provided
|
|
||||||
pass
|
|
||||||
|
|
||||||
# Warn about policy usage in PD mode
|
# Warn about policy usage in PD mode
|
||||||
if self.prefill_policy and self.decode_policy and self.policy:
|
if self.prefill_policy and self.decode_policy and self.policy:
|
||||||
logger.warning(
|
logger.warning(
|
||||||
|
|||||||
Reference in New Issue
Block a user