Implement Standalone gRPC Server for SGLang Python Scheduler (#10283)
This commit is contained in:
@@ -2238,6 +2238,7 @@ class ServerArgs:
|
||||
args.pp_size = args.pipeline_parallel_size
|
||||
args.dp_size = args.data_parallel_size
|
||||
args.ep_size = args.expert_parallel_size
|
||||
|
||||
attrs = [attr.name for attr in dataclasses.fields(cls)]
|
||||
return cls(**{attr: getattr(args, attr) for attr in attrs})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user