MCPcopy Create free account
hub / github.com/MLSysU/TD-Pipe / AsyncEngineArgs

Class AsyncEngineArgs

TD_Pipe/engine/arg_utils.py:231–254  ·  view source on GitHub ↗

Arguments for asynchronous vLLM engine.

Source from the content-addressed store, hash-verified

229
230@dataclass
231class AsyncEngineArgs(EngineArgs):
232 """Arguments for asynchronous vLLM engine."""
233 engine_use_ray: bool = False
234 disable_log_requests: bool = False
235 max_log_len: Optional[int] = None
236
237 @staticmethod
238 def add_cli_args(
239 parser: argparse.ArgumentParser) -> argparse.ArgumentParser:
240 parser = EngineArgs.add_cli_args(parser)
241 parser.add_argument('--engine-use-ray',
242 action='store_true',
243 help='use Ray to start the LLM engine in a '
244 'separate process as the server process.')
245 parser.add_argument('--disable-log-requests',
246 action='store_true',
247 help='disable logging requests')
248 parser.add_argument('--max-log-len',
249 type=int,
250 default=None,
251 help='max number of prompt characters or prompt '
252 'ID numbers being printed in log. '
253 'Default: unlimited.')
254 return parser

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected